-
- Custom Task Pane with frames
by Mohan Kumar Karunakaran
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi,
I am trying to create a custom task pane using VB.Net (ver 2005). I have created a usercontrol form and placed two frames on top of each other and 2 command buttons which will be used to make visible the respective frames when clicked. I have placed the frames exactly on top of each other. Both frames contains some check boxes, combo boxes.
The code I have written in the button1
-
- Outlook 2007 - Selected Text
by Uli-B
- 20 Replies
- Last post
by Uli-B
- Hi, i am currently writing an add in for Outlook 2007 in C# and i need to get the Text selected in the current e-mail. I already looked for a detailed description, how to do this, but did not find anything. Can anybody help me kind regards Uli
-
- hard disabling add-in problem
by davidMartin
- 4 Replies
- Last post
by Mike Walker
- Hi, I developed an addin for Outlook 2003/2007 with VSTO 2005 SE. I distributed it to users but they sometimes encounter a problem. During outlook start, if the user stops Outlook and unfortunately Outlook was loading my add-in: At the next start, Outlook pops a message up to the user that Outlook experienced a serious problem with the ¡®myaddin¡¯ ¡"Do you want to disable it " and by defa
-
- Can't install VSTO 2005 SE on Office 2007
by Fraser Drysdale
- 5 Replies
- Last post
by JimCrist
- What this doesn't address is that one can't install the VSTO SE package without already having the first version installed. This requires an Office 2003 SP1 product. The only Office 2003 item we used was Outlook, but since that was part of our Exchange 2003 license (even though it included all the secondary office appliations - ie - scanning, etc.), it won't allow us to install the original VSTO 2
-
- Need a list of email addresses of an email item
by HawVer
- 2 Replies
- Last post
by HawVer
- Hi, I'm an outlook interop beginner and having problems with something that is maybe (i hope) easy to solve. I have an add-in for outlook that recieves item changed events for the inbox folder. The listener recieves an mailitem object. In a mailitem is a recipient list with recipients. I want to store the email
address of each recipient in the database. For example mail to test@microsoft.com , t
-
- Strange behavior: RichTextBox
by ClaudiaHelpOnVSTO
- 14 Replies
- Last post
by ClaudiaHelpOnVSTO
- Hi, I am creating a .doc with VSTO2005. My document contains several Controls such as Buttons, RichTextBoxes, ComboBoxes, etc. which are generated at runtime. In some cases, I encounter the problem that a RichTextBox doesn't display the content (text) it should, but only displays a big red cross like this: \ / \ / \
When I
click into the RichTextBox field (wi
-
- "VSTO: Straight from the Experts" Webcast Series
by Mike Hernandez - MSFT
- 0 Replies
- Last post
by Mike Hernandez - MSFT
- I'm pleased to announce the "VSTO: Straight from the Experts" webcast series. I'll be running this series from April to May, talking with VSTO experts about their VSTO solutions and the things they think you should know when you work with VSTO.
I've included the current list of scheduled webcasts for your convenience. I certainly look forward to "seeing" you at one of these
-
- Context menu item calls a function several times
by Gastiflex
- 5 Replies
- Last post
by Cindy Meister
- Hi, I'm working on an add-in that adds context menu items in Word2007. The context menu is modified at the startup. I've added in the ribbon a button that calls a dialog box that allows the user to customize the context menu by selecting the items to display or not. The selected items are saved in the registry to display them at the startup. At the startup, the context menu works perfectely : the
-
- Change event of Commandbar ComboBox is not occurred.
by John CHLee
- 13 Replies
- Last post
by Cindy Meister
- Dear.
The following code is that add new combobox commandbar in Word.
The change event is occured once the word program launched the first time. After this, the user open another word document, the change event is not occured.
However other button control(CommandBarButton) click event is occured in all of documents.
I don;t know the reason why the combobox change event is not o
-
- Add command button to the send email screen
by Bear23
- 14 Replies
- Last post
by Bear23
- I want to add a button when the new message box is open.
I tried everything and I cannot get it to work.
I get errors like:
An unhandled exception occurred in your application. Contact your administrator.....
I cannot seem to figure out what i am missing.
Any ideas.
I am using Outlook 2003, vs2005, c#
-
- Book suggestion plz on VSTO
by bxw
- 4 Replies
- Last post
by Bojan Dulejan
- I know the books list in the sticky thread, but they don't have very good ratings on Amazon. Please tell me your favorite books on VSTO.
A little bit about me. I am pretty good with C# and VB .Net, but don't know much about Office programming (not even VBA for office :)
Thanks a lot.
-
- VSTO Without Office Installation
by Sathyags
- 5 Replies
- Last post
by Cindy Meister
- Hi All,
Is it possible to use VSTO without office installation in the production machine. Office can be installed in the machine during developement. but when deployed there is not office installation in the server for some security reasons, so is there a way to use VSTO without office installation.
thanks
sathya
-
- MAPI - Proper use of IMessage SaveChanges() flags?
by DaBozUK
- 5 Replies
- Last post
by Sue Mosher - Outlook MVP
- I've read the MSDN docs for IMessage SaveChanges() method: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mapi...
and it says you use KEEP_OPEN_READWRITE to keep the item open after saving changes, and if that fails with MAPI_E_OBJECT_CHANGED you should retry with FORCE_SAVE.
And it appears if you call SaveChanges with KEEP_OPEN_READWRITE followed later by another ident
-
- Can Word Addins access the OpenXML Parts within the current DOCX file?
by MikeT1021
- 14 Replies
- Last post
by MikeT1021
- Hi!
I have a question. I'm currently writing a Word Addin and can't figure out how to access the current document's underlying OpenXML docx to read some important Parts stored within the Package. The API inside System.IO.Packaging won't let me open the file cuz it's already opened in Word. Duh.
Is there something simple I'm overlooking I'm sure Microsoft figured out that people using
-
- MAPI - Proper use of IMessage SaveChanges() flags?
by DaBozUK
- 5 Replies
- Last post
by Sue Mosher - Outlook MVP
- I've read the MSDN docs for IMessage SaveChanges() method: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mapi...
and it says you use KEEP_OPEN_READWRITE to keep the item open after saving changes, and if that fails with MAPI_E_OBJECT_CHANGED you should retry with FORCE_SAVE.
And it appears if you call SaveChanges with KEEP_OPEN_READWRITE followed later by another ident
-
- Excel Close 'x' button control
by AndyMicrosoft
- 5 Replies
- Last post
by Dennis Wallentin
- Hello Everyone,
After going through the VSTO with Excel addin book , i still cannot locate the control object which calls the Control Buttons on top right corner of excel workbook or the excel application ( minimize, maximize , close).
I want to disable the close 'x' button for a designated workbook which I open in my Addin. But i am not able to find that control object through which
-
- Office 2007 office type projects forced for .Net Framework 3.5?
by Doriak
- 9 Replies
- Last post
by Mary Lee - MSFT
- I have a confusion here. I installed the latest beta for Orcas. when I try to create a new project for Office 2007 I can only see the project types if I select the 3.5 .NET Framework. Why is this What happens if i want to use a 2007 Word or Excel project in a machine that has only 3.0
-
- Insert XML to a Rich Text Content Control
by Artje
- 5 Replies
- Last post
by Artje
- I'm able to save the Range.WordOpenXML rich text content to a table in a database. I want to use this content to generate a new rich text content control... I used the following code..
Object theRange= ( object )myRange;
Word. ContentControl myCC = Globals .ThisAddIn.Application.ActiveDocument.ContentControls.Add(Word. WdContentControlType .wdContentControlRichText, ref theRange);
-
- Add-in deployment vs 2003 to 2005 problem
by Q Man
- 1 Replies
- Last post
by Andrew Whitechapel - MSFT
- I have recently upgraded an Outlook add-in project from vs 2003 to vs 2005. Since upgrading I have had problems with deployment. It appears that the 2005 deployment package doesn't carry out all the registry entries and therefore the add-in isn't loading when deployed.
Am I missing something here or do I need to manually add all the registery entries in vs 2005 deployment (unlike 2003) Seems cr
-
- Adding Microsoft Office Object Library in web config assembly
by Yuen Li
- 3 Replies
- Last post
by Sunil Pal
- Hi!
I am developing a web based application that can programatically generate an excel file and word document through this application. I had these office object library through the project reference but when I upload the whole application in the server it shows errors in web.config file. Does anyone know how to solve this error Because it runs well in visual studio local host. Thanks in ad
-
- Excel: Unable to find macros located in files named with non-alphanumeric characters
by Justin_Bizchair
- 3 Replies
- Last post
by Dennis Wallentin
- My apologies if this has already been addressed as my attempts to find a solution or work-around for my issue have been rather fruitless.
What I am attempting to do is to call from within one macro another macro located in another workbook with the application.run "Foo.xls!Bar" function. Unfortunately, I find anytime I include spaces, dashes, parenthesis, etc. (I have not extensively
-
- Microsoft outlook 2003 and outlook express
by ShihabSumon
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- I have develop a program which is enable to import contact list from outlook 2003. But I want to import contact list from outlook express and other versons of microsoft outlook. How can I do so Please help me as soon as possible.
-
- Adding a control to the standard commandbar in Word ....
by lg4
- 5 Replies
- Last post
by lg4
- Hi,
I am trying to add a button to the standard commandbar in Microsoft Word. I am able to create a new commandbar and add a button to the new commandbar but when I get a handle to the standard commandbar and trying and Add a button I get a COM exception " Error HRESULT E_FAIL has been returned from a call to a COM component ". The code I am using to add the button is:
-
- Is VSTO/VSTA intended to replace VBA?
by JocularJoe
- 8 Replies
- Last post
by Dennis Wallentin
- Is VSTO/VSTA intended to replace VBA I've seen suggestions that this is Microsoft's intention, for example the following post indicating that Microsoft's VBA team is focussing on VSTO/VSTA: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=507575&SiteID=1
My experience to date is with Office 2003 and customers who have a big investment in VBA, especially Excel VBA, and I can see th
-
- VSTO: Whats the REAL benefit?
by Bill R.
- 7 Replies
- Last post
by Cindy Meister
- Hello,
My shop is upgrading to VS 2005 Pro (rather than EE) and it won't have VSTO. Am wondering what I'm really going to be missing. Also considering making a push to have the biz purchase the tools but again not sure it is really necessary (ROCE is after all a concern).
I understand some of the things I get from VSTO are:
¡¤ Design-time support of custom Ribbon tabs, Office me