-
- Remove borders from Excel charts using C#
by becklighter
- 14 Replies
- Last post
by becklighter
- I am building an excel file from scratch. this includes charts of data. In this particular case I need to remove the borders from the chart, but it doesn't appear to work correctly. // The next three lines are an attempt to remove the border, the fourth shows that I am controlling the chart ((Excel.ChartObject)oSheet.ChartObjects("Chart 1")).Border.LineStyle = Excel.XlLineStyle.xlLineStyleNone;
-
- Specifying Strong Name with SetSecurity project
by Divermarv
- 6 Replies
- Last post
by Mike Walker
- I am in the process of creating a deployment package for a MS Word project. I am using the following MSDN articles as templates:
http://msdn2.microsoft.com/en-us/library/bb332051.aspx
http://msdn2.microsoft.com/en-us/library/bb332052.aspx
I am receiving an error when I try to run my MS Word project on a test machine. It's concerns the assembly not having permission to execute. I follo
-
- Very beginner need help to start (word 2003)
by belote
- 4 Replies
- Last post
by belote
- Hello
I'm a vb.net developper, but I'm a very beginner in vsto.
My project :
When a user will create a new document from a template, a form appears to get some info, and put it as custom properties. It's to help the user, before he had to do File, properties, custom.
So, I've created a new word 2003 add-in solution and a windows form.
In my add-in class, I've the startup and
-
- VSTO 2005 SE PowerPoint add-in setup issues
by Andy_T1
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi! I have a 2005 SE PowerPoint add in that must be written in VB.NET. The example project from microsoft that sets security via custom action is written in C#. I compiled the set security project into a dll and included it my setup project. I also created four custom actions as outlined in the sample project and added setsecurity.dll to them and specified the proper CustomActionData parameters. I
-
- System requirements for deploying my VSTO doc-based solution?
by mmpire
- 1 Replies
- Last post
by Darryn Lavery -- MSFT
- Hello, I need some help,
I encountered a problem when I was trying to deploying my word document-based solution, the problem is:
On some machines, including my developing machine, it works;
But on some other machines, it doesn't work well or even fails to run!
I have developed it with VSTO 2005, and my target machine is one with Office 2003. In my install package I have included "
-
- Error when creating custom outlook toolbar
by jdrawmer
- 4 Replies
- Last post
by jdrawmer
- I've been trying to work with VSTO for just over a week now, getting the basics out of the way. Using sample code provided i managed to make the customer menu bar fine, however i keep getting the following error when i attempt to generate the customer toolbar sample, also provided by MSDN.
Here is the sample code:
Imports Office = Microsoft.Office.Core
Public Class ThisApp
-
- Retrieve clean HTML from Word
by nisha
- 1 Replies
- Last post
by Cindy Meister
- Hi,
Is there a way to retrieve clean HTML from word When I save Word as HTML, the <ul> or <ol> tags get converted to <p> tag.
Thanks
Nisha
-
- Emptying recycle bin?
by PhrankBooth
- 4 Replies
- Last post
by PhrankBooth
- Hi, New to outlook automation and wanted some pointers on how to empty the recycle bin throut the Outlook application object. I read somewhere that it might be done through calling the Empty Recyle Bin CommandBarButton. However I have not found any samples on how to do this. This is not an add-in that I'm writing, it's just a standalone exe. Currently I can iterate though the mailitems in the Recy
-
- Word to Excel
by webrod
- 3 Replies
- Last post
by Cindy Meister
- Hi,
is there a tool to export a Word document to a excel document
Here is what I am looking for.
Suppose the word document is like this:
[STYLE=Heading 1] Title 1 [STYLE= Normal ] text1
[STYLE=Heading 1] Title 2 [STYLE= Normal ] text2
[STYLE=Heading 1] Title 3 [STYLE= Normal ] text3
....
Then it should appear like this in Excel:
TITLE TEXT Title 1 Text 1 Titl
-
- _Document.ReadOnly property
by Kotyara
- 1 Replies
- Last post
by FreddieLu
- Hi folks,
Is there any way to clear ReadOnly property of a Word _Document object that represents a file openned from an HTTP hyperlink I'm providing my own saving code, but I can't find a way to get rid of that "(read-only)" tag in the title bar.
Cheers, Alex.
-
- Right Click menu of Word
by xishan shigri
- 1 Replies
- Last post
by Cindy Meister
- Is it possible to change(e.g. add new entries after past entry) the right click menu of MS word
is yes than how can i do it using VSTO
-
- Equivalent of Workbook_BeforePrint in C++ COM interface
by cccoder
- 3 Replies
- Last post
by Cindy Meister
- Hi, I had a plugin for Excel written in C++, with an event sink. Another functionality request to add was to validate certain data before printing the workbook. If the data can not be validated correctly, then the print job must be canceled. The event sink can get the print event correctly in the Invoke() method (inherited from IDispatch), but how can I cancel the print job In VBA, you can set the
-
- How to choose which version of Excel (2003 or 2007) to invoke
by scotsman60
- 6 Replies
- Last post
by Andrew Cherry [MSFT]
- Hello,
I am using VSTO to develop an application on top of Excel. I currently have both Excel 2003 and 2007 installed on the machines where I develop the app and on the machines where it is deployed.
The problem I have is how to choose which version of Excel to use. Currently, my application always uses Excel 2003 and I can't see any way to choose 2007.
Here's how I invoke the
-
- Orcas Beta 2 Deployment Stories
by Kris Makey - MSFT
- 4 Replies
- Last post
by Kris Makey - MSFT
- Hi, my name is Kris Makey, I'm one of the Testers working on the VSTO team.
Over the last year my area has been focused on testing the new Deployment features for "Orcas" Office 2007. It's been a rather hectic year getting every to be just right. Hopefully what you (our customers) are seeing in Beta 2 is just as exciting for you as it is for us. I was hoping I could get a little
-
- Load multiple image in VSTO 2005 SE addin
by Westman
- 3 Replies
- Last post
by Dennis Wallentin
- Hi,
I've developed an addin for Word 2007. It's working properly right now. My problem is : How do I load more than one image for my addin Right now i'm using the solution (exactly the same) from this article.
http://msdn2.microsoft.com/en-us/library/aa338202.aspx (loading image part)
When I add more image(.png) to my addin, it did not display correctly. By that I mean all the button disp
-
- Export Exchange items to Outlook pst file with c#
by TestCaseTim
- 2 Replies
- Last post
by TestCaseTim
- I thought I had this figured out, but now I can't make this work. I need to export the items from an Exchange folder (ie, drafts or inbox) to a newly created pst saved on my local drive.
I thought "CreateSharedItem" or "OpenSharedItem" would do it, but I can't get them to work. Anybody have the name of the right methods to use to create a .pst, save or copyto Exchange I
-
- Add header to outgoing mail
by Jarrod566966
- 9 Replies
- Last post
by X4U
- Hello, I would like to create an outlook add-in that simply adds a custom bit of header information to every outgoing mail message. I have searched all day for information on this topic, and I would just like somebody to point me in the direction I need to go. I don't want to use CDO or Redemption (costs $200). I can easily use the propertyaccessor in Outlook 2007 to read the header, but you canno
-
- Word support for resource protocol
by Ram Kumar K
- 4 Replies
- Last post
by Ram Kumar Karnataka
- Hi, I have a html page containing some images. These images will be embedded in a .net assembly and we are using resource protocol of internet explorer to render these images from assembly. For example, the IMG tag will look like : <img src="res://MyAssembly.dll/IMAGE/MyImage">. When i open this html page in Internet Explorer, it shows up the images fine. But when i insert this htm
-
- Outlook.AppointmentItem.Conflicts - Problem
by Iram
- 14 Replies
- Last post
by Iram
- Hi,
I'm writing an AddIn Outlook application, that should create new Calendar instance.
In this new Calendar I need to check each change in each item if it has any conflicts with other Calendar item.
I tried to use Outlook.AppointmentItem.Conflicts member but its count property always equal to 0. What am I doing wrong
Thanks, Iram.
-
- Document level customization for Excel 2007
by AllTec
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Can I do document level customization for Excel 2007 with both VSTO and VSTO 2005 installed If not whether this feature will be available in Orcas Thanks AllTec
-
- deployment of simple outlook addin????
by psartor
- 11 Replies
- Last post
by Andrew Cherry [MSFT]
- I am using vs 2005. I created an outlook addin soloution. I cut and pasted an example from the MSDN examples. I compiled with no errors or warnings. I built the setup project without any errors. I execute the setup.exe and it executes with no errors. I stop outlook and restart it. The addin should add 2 buttons to a new button bar within outlook. Nothing shows up. If I shut down outlook and debug
-
- Problem installing VSTO 2005 SE Word 2003 add-in on the development machine
by Herman Solberg
- 2 Replies
- Last post
by Herman S
- Hi!
I've got a problem that has been haunting me for a couple of days now. I'm developing a VSTO 2005 SE add-in for Word 2003. When I'm trying to install it on my development machine the assembly that sets the security policy throws an exception that is not described anywhere as far as I have read. The error message is the following:
Cannot set the security policy. The specified targ
-
- C# Outlook 2003 add-in accessing the sender address when using Microsoft Exchange
by CoreyOg
- 3 Replies
- Last post
by CoreyOg
- I've added a button to the "Compose Message" window and what I'm having troubles doing is when the button is clicked, I want to assign whoever is sending the email (the "from" address) to a String variable so I can use it. I have it working correctly for people using your regular SMTP server but when somebody is using a Microsoft Exchange server, all I get is "\o=organizat
-
- Setup Project Excel VSTO
by strictlydata
- 1 Replies
- Last post
by Peter Jausovec
- How is it possible in the setup project to not error if the program is already installed. Is there away to set the setup project to prompt to uninstall the project first. Thanks for your help
-
- RibbonX - gallery like the styles one?
by Jan Ku&#269;era
- 8 Replies
- Last post
by Cindy Meister
- Hi, maybe I'm blind a little bit, but how can I make the gallery like Styles in Word 2007 - that is, having the items on the Ribbon rather in drop-down menu
Thanks, Jan