-
- VSTO excel 2003 Windows Forms backgroundWorker cross-thread problem
by Anonymous445566
- 5 Replies
- Last post
by Geoff Darst - MSFT
- Hi,
I am working on an Excel application level addin. The addin has a number of Windows Forms that the user interacts with. Some of the forms require long running operations and I have implemented the backgoundWorker pattern.
If I run the form from a standalone test case (an executable) everything operates correctly, I have verified that the callbacks for backgroundWorker_ProgressCh
-
- Can't get Wordeditor property from the Inspector.Activate event in the Outlook07
by Peter.Zhao
- 7 Replies
- Last post
by Misha Shneerson - MSFT
- Hi!
I created an outlook-addin for the Outlook 2007, and I tried to get the word editor property from the Inspector.Activate event, it works well in the normal cases.
But if I open a new outlook, then double click an email under the "Draft" or the "Inbox" folder, I found I can't get the Wordeditor property in the Inspector.Activate event!
And I have
-
- Inserting String from a windows form to a word document...
by shahbm
- 4 Replies
- Last post
by Misha Shneerson - MSFT
- Hello,
After spending couple of days on searching for the right answer, I am still getting nowhere!!
Here is my situation:
I have a windows form app with a treeview, and i want to drag and drop the node.tag string from my treeview to a word document, I am using VSTO 2003..
I can insert text (string) in my document, the only problem is when it inserts the text goes to the default cursor
-
- ListBox does not appear on my Form Region
by Romain Vailleux
- 14 Replies
- Last post
by Graphtyrael
- Hello there !
I am building an application based on Outlook 2007 and VSTO 2005 SE and I encounter an unexpected problem : an Office Listbox control placed manually on a outlook custom form through the Outlook 2007 form editor doesn't appear when the form render during the application running. But, it seems to be instanciated and to be contained correctly in the form : I can use it, add som
-
- Custom toolbar ONLY for Inspector Windows
by jdrawmer
- 5 Replies
- Last post
by Mike Morton - MSFT
- Hi, i've got another post running where i was struggling to create a toolbar which is fine now, and i'm new to using VSTO for add-ins as i've been coding macro's a lot recently and now i'm transfering the macro's to this add-in.
I need a new custom toolbar, or even just a new button to an existing toolbar, that is apparent ONLY on inspector windows - ideally mail items.
I'm some way to doing
-
- NewInspector no longer fires after UI involvement
by welikeike
- 5 Replies
- Last post
by Veludo
- Anytime I invoke MessageBox.Show() or [custom form].Show() or [custom form].ShowDialog(), the ThisAddIn.Application.Inspectors.NewInspector event no longer fires. Is there any easy fix
9/5/2007:
This is a general problem that can be easily reproduced in several different ways but I'll include a simple example.
Code Snippet
public partial class ThisAddIn
{
p
-
- Retrieving Excel data
by dclements
- 1 Replies
- Last post
by Peter Jausovec
- I have been assigned to write a Visual Basic .Net Program using Visual Studio 2005 to retrieve data from an Excel spreadsheet. The data is then going to be used to update an Access database that is used for a website.
Does anyone know where I can find the code to do this
-
- [HELP!] COM Exception E_FAIL Adding Controls to ActionsPane
by Oleg Krupnov
- 6 Replies
- Last post
by Misha Shneerson - MSFT
- Hi, I've built a document customization for Word 2003 using VSTO 2005 and it worked fine on my machine However on some other machines, my users report the error that occurs when the customization starts and the first control is added onto the ActionsPane. Below is the error description. Somewhere in forums I read that the error used to occur on machines without SP2 for Office 2003 and they recomme
-
- How can I insert empty checkbox and ticked-checkbox into a word document, using C#.
by TRID
- 6 Replies
- Last post
by TRID
- The character code for empty-checkbox and ticked-checkbox are: 160 & 120.
From MS Word application, I can insert those symbols from "Wingdings" font, How can I achieve the same, while accessing any word document from C# code.
Best Regards
Trinadh P.
-
- Editing office embedded objects
by Rob Millray
- 7 Replies
- Last post
by Cindy Meister
- Hi,
I am writing an office plug in that will be available in Word and Excel. When a tool bar button is clicked it needs to scan through all the embedded objects in the document looking for text files that have been copied and pasted in from the file system (as objects not as text), it then needs to open them, edit the contents, save the changes back and change the display name.
I k
-
- Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer
by DWalker554476
- 3 Replies
- Last post
by Dennis Wallentin
- I have worked through the MSDN articles titled "Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer", which were extremely helpful, but I have an issue when running my setup.exe.
The setup.exe seems to think the Office PIAs are not installed (this is when running on my dev machine, on which the addin has been written and works fine). If I
-
- Suppress MessageBox in Word
by ClaudiaHelpOnVSTO
- 2 Replies
- Last post
by Mike Walker
- Hi,
How can I
suppress MessageBoxes from appearing in Word 2003
Explanation
of my scenario : A user clicks on a button in the document. A pop-up window ( System.Windows.Forms.Form ) is displayed which contains a WebBrowser
control. After some time the user clicks on the red cross on the top right
corner of the pop-up window to close the window and return to the Word document.
-
- VB and text color in MS word tables
by Vishal Sangwan
- 5 Replies
- Last post
by Cindy Meister
- Hi Everybody, I am trying to fill a word table using VB. I need to fill a cell of the table with text of different colors. I am not able to change the text color independently. The code used was as follows: Dim tb As word.Table = oApp.ActiveDocument.Tables(1) tb.Cell(3, 2).Range.Font.Color = word.WdColor.wdColorGreen tb.Cell(3, 2).Range.InsertAfter(" Text1 ") tb.Cell(3, 2).Range.Font.Co
-
- Memory corrupted when AddControl and Validation are used
by sameera
- 8 Replies
- Last post
by sameera
- Hi, I have a Excel VSTO project in which I populate a worksheet with data table that I fetch from elsewhere. While inserting data to the worksheet I insert validation rules to make cells readonly (XlFormatConditionOperator.xlEqual), to have drop down lists (XlFormatConditionOperator.xlBetween) etc. This was all working fine. Then there was a requirement to have Add/Update/Delete buttons for each o
-
- Before an Appointment item is saved, how can I get the occurrences specified by the recurrence pattern?
by kjob
- 5 Replies
- Last post
by kjob
- I am trying to create code behind a custom form in Outlook. It is a customization for the AppointmentItem form. On the custom tab we have a C# User Control. Within the control, I have a need to get all of the occurrences of the appointment specified by the recurrence pattern, if one exists. So, based on some user action on the control, I am trying to get a list of dates that the appointment will
-
- Problem With CallBack Methods, Modyfing the Ribbon in Outlook2007
by LeonM562987
- 1 Replies
- Last post
by Vladimir Morozov (MSFT)
- Ok, guys. I'm posting because unfortunately I have not been able to find a solution on my own so I hope you can give me a hand this is the situation: I added a custom tab to outlook, lemme show the xml, my issue is not displaying the content or anything similar the problem I have is working with 2 of those controls at the same time, a part of the XML looks like the following:
Code Snippet
-
- Bug with Range.NumberFormat = "0.00"
by Mat_77
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi there,
I'm trying to format a number in excel with :
Range("A1").NumberFormat = "0.00"
In excel, I obtain a personalised format "0\.00" witch is ok for 2 decimals, but that divide by 100! Anyone has a clue why
Thanks!
-
- Outlook Add-in : best way to deploy minor/major updates after using setup project?
by Tadwick
- 4 Replies
- Last post
by Tadwick
- If I initially deploy my Outlook add-in using the setup project (to test for prereqs, grant security and create registry entries), what is the easiest way to deploy minor updates
Do I just need to over write the assembly and application manifest files on the target machine
What if I want to use the Publish wizard Can I mix the deployment methods in this way or is there an issue with the f
-
- Convert RTF Data to WordML and ViceVersa
by savi_hk
- 4 Replies
- Last post
by Steve 5656565656
- Hi, Is there any way to convert RTF Data (which is stored in a string variable) to WordML(again will be a string) and vice versa, without creating a temporary word document intermediately. If I create temporary documents, all the document event handlers like, Document_Open, Document_Change etc will fire, and will perform some unwanted things. Please guide me, if there is any other way to bypass
-
- bug with msword 2003 and vb.net 2005
by Gpg
- 2 Replies
- Last post
by Gpg
- hy all
i've a code for generate mail with word 2003, it's run fine but...
when i close word, my application is freezed until i kill word process in task manager.
anybody can help me
thank's a lot
Code Block
Dim wd As Word.Application
Dim doc As Word.Document
Dim oMissing As Object = System.Reflection.Missing.Value
On Error
-
- Getting default Mso labels
by Jan Kučera
- 3 Replies
- Last post
by miloush
- Hi,
I'm sure that during developing with VSTO 2005 SE I saw somewhere functions like "getMsoLabel" and "getMsoImage"...but I can't find them anywhere now... anybody knows about them
I need to get string of built-in control / group / tab... in order to handle localized versions of office... and I hope a little this functionc could do that work..
Thanks
-
- 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
-
- Microsoft Office Access 2003 Developer Extensions and Visual Studio 2005
by isjam
- 11 Replies
- Last post
by Bryan Ruggeri
- It's truly unbelievable that there appears to be no solution to this issue. After searching countless hours and getting caught in endless iterations following MSDN links, I still have no answer to the question that really shouldn't be that difficult.
Microsoft advertises that the Microsoft Office Access 2003 Developer Extensions are part of Visual Studio 2005. I talked with a Microsoft represen
-
- Excel to SQLServer by VSTO or Not?
by Sam Hu
- 1 Replies
- Last post
by Cindy Meister
- I want transform data from many Excel files to SQLServer, not the whole file, just some rows in each file. and some column should be assembled, some column is not needed. i want it can let me to make the choice to decide which cell is according to field in Database.And the Excel files are not the same scheme.
I want to know:
Is the VSTO the best solution
What is the difference
-
- Converting Word into HTML
by Polly Anna
- 3 Replies
- Last post
by Polly Anna
- Hi,
I am using the code below to convert my Word document to html. However the
wdFormatHTML
statement is not supported.
I can't seem to find any help on the MS Knowledge Base etc and I would really appreciate assistance on this.
Many thanks in advance.
Polly Anna
Dim strFileName As String
Dim objWordApplication As New Word.Application
Dim objDocument As New Word