-
- Experiencing problems with Word 2003 controls.
by Sandeep568170
- 1 Replies
- Last post
by Geoff Darst - MSFT
- Hi
I am using combobox and checkbox controls inside my word document. While I try to access them from my VB.Net code, it throws lot exceptions and at times controls get interchabges and values that chouls go to Combo1 goes to Combo2 and viceversa. I am also adding the code samples.
This happens for some of the functions that are added inside the word document, over here the exception
-
- Passing parameters programmatically from VB.NET to Word Application.Run command
by Chris Severin
- 4 Replies
- Last post
by Chris Severin
- Hi,
I have a question regarding writing Word VBA code with a VB.NET application. I am wondering if it is possible to pass parameters to the Application.Run command in an array, similar to the way it is done in PowerPoint VBA, rather than in a list.
I would like to set up something like this within my VB.NET application so that this single block of code can be used to automate the pro
-
- VSTO Outlook Add-In ClickOnce Deployment!
by jdrawmer
- 3 Replies
- Last post
by Denis BDA
- Hey guys, Got my outlook add-in working fine, building and installing works fine on all machines, but its such a pain in the arse when i change the smallest little thing, and a total uninstall is required on all machines, and then a re-install - but it seems so confusing to work the ClickOnce method. Can someone point me in the direction of some really handy articles anywhere, or step by step inst
-
- 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
-
- Deploying Word 2007 addin on Vista - File Access problem
by Herman Solberg
- 4 Replies
- Last post
by Andrew Cherry [MSFT]
- Hi!
I've built an addin for Word 2007 that works just fin on XP with Office 2007 installed, but when I insatll it on a client running Vista I get a problem accessing files outside my assembly.
In my solution I've included an Xml file for storing and retrieving data. This file cannot be accessed on a machine running Vista. I get a "File access denied" error when Word starts
-
- Word 2003 AddIn Startup
by JoJo VSTO
- 4 Replies
- Last post
by JoJo VSTO
- Hi, I'm still developping my Word addin, and after some observations, I saw that my addin made Word starting when Windows starts. Edit : I was wrong. It is Outlook (which starts with Windows) what makes Word start. So my addin is launching with Word and Outlook and the system sloooowwwws.... Is anybody knows how to avoid these intempestive startings Cordially, Jonathan
-
- Outlook - how to get full emailaddress from To filed in Outlook
by Minty
- 7 Replies
- Last post
by Sue Mosher - Outlook MVP
- I'm creating an addin for Outlook 2003 using VSTO in VS.NET 2.0. I'm trying to get all the email addresses in the To filed by
private void ThisApplication_ItemSend( object Item, ref bool Cancel)
{
MailItem mail = ( MailItem )Item;
string allEmailAddress = mail.To;
}
However, the mail.To doesn't return the full email address in the format of john.doe@
-
- minumum cell width is limited by margins and setting margins to 0 does not seem work properly from VS 2005.
by Thwack
- 7 Replies
- Last post
by Cindy Meister
- Hi,
From word 2003 If i create a table and set the cell margins to 0 I can make the width of a column as small as I want. (the minumum is otherwise limited by the cell margins)
However I have an issue doing the same thing from visual studio 2005.
Using Microsoft.office.interop I set the LeftPadding and RightPadding table properties to 0.0 and this seems to work fine.
However. It seems
-
- Where is my Access class
by Maarten Zaagman
- 4 Replies
- Last post
by thorkia
- Hello,
I'm trying to develop a program for automising ms Access. I'm trying to using the office PIA for this. I have added the Microsoft Access 11.0 Object Library to my project references(including core). But i get an error when trying the following:
Access.Application test = new Access.Application();
This is the error i'm getting:
C:\ReportCollector\Form1.cs(144): The type or names
-
- How do I disable Windows Media Player in MS-Word Add-in
by SN Ngaihte
- 4 Replies
- Last post
by T. Siamginsuan Ngaihte
- I am using VSTO to create an addin for Word using C#. In my add-in I insert a video file as OLE-Object. When I double click on the inserted object, Windows Media Player starts playing my video file.
Now what I want is that I wanted to lauch my own video player and disable Windows media player as long as my add-in is used. But when my add-in is disabled or removed from MS-Word, my video file (in
-
- Read only protection of VSTO document crashes Word when reloaded.
by Adrian Leeming
- 12 Replies
- Last post
by Adrian Leeming
- I have a document Template project in VSTO 2005 SE using Word 2003 SP2 11.8125.8122 and Visual Studio 2005 Professional with SP1 installed.
The document template has some cached data and code for a task pane connected to it.
Basically when the user creates or edits a document from the template I need the document to be read only and when items are picked from the task pane I then add new sec
-
- 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
-
- Access WAB or MS Outlook Address book via C#
by kitcad
- 13 Replies
- Last post
by gppradeep
- Hi!
I am trying to access WAB or MS Outlook Address book via C# in VS 2005 under Vista.
Any idea I have tried to find out from web but look like there are a lot of way to do it and different MS Outlook version (Ms Office 2003or XP or 2007) have diff way to code.
Alex
-
- Urgent- VSTO word template project :- Loading Action Pane when opening a saved word document
by sidharth
- 8 Replies
- Last post
by sidharth
- i have a word template project in VSTO where there are 10 templates with bookmark controls and an Actionspane.
when i run the solution and save the document in the bin folder, i can open the document with the actionspane also loading.
when i save the document in some other loc ation the action pane is not loaded and an error comes " customisation assembly not found" .
-
- FindControl not locating object on Sheet
by ggdd2007
- 14 Replies
- Last post
by ggdd2007
- Hi,
I have created an Excel .NET project with the VSTO using a previously made Excel Document. I cannot reference any of the controls (command buttons) using the FindControl method. I get the following exception: Unable to get the Object property of the OLE Object class System.Runtime.InteropServices. COMException (0x800A03EC): Unable to get the Object property of the OLE Object class
-
- VSTO 2005 SE - Download Fails
by lmk5907
- 1 Replies
- Last post
by Thierry Nenin
- VSTO won't load on my system when I download. I'm using VB.net 2005 Express and Office 2003. I get an error message indicating that I need Visual Studio Pro or Team versions. Can I get around this with my current configuration How can I get VSTO 2005 SE onto my system
Thanks for any help.
-
- Can't release handle of msg file
by GraemeH
- 2 Replies
- Last post
by GraemeH
- Not exactly a VSTO app but maybe someone here is knowledgable enough to help.
I'm opening a .msg file from disk using Proccess.Start("myMsg.msg")
Then I'm automating Outlook, going through the Inspectors collection until I find it (subject = file name), grabbing some properties, then closing the inspector. This does not seem to release the file as I cannot open it again from the fi
-
- How to I saved a email item and put it into a task item?
by VSFW3
- 2 Replies
- Last post
by VSFW3
- Hi,
I want to ask is there a way for me to save a email item and put it into a task item. For example, there is a icon of a email item in the body of a task item, when I click on the email icon, I'm able to open the email.
Thanks...
-
- Custom Dictionary Problem
by Pati123
- 9 Replies
- Last post
by Cindy Meister
- Hi Guys,
I am a sri Lankan. I want to plug a sinhala Dictionary and validate the spellings, written in sinhala. So when user right click on the spesific word the word i select from the data base has to be shown in the spellin list insead of english. if you have any code or resource which can help me to do this please tell me.
Tharindu (Sri Lanka)
-
- VSTO Architecture choice: document vs. application-oriented approach?
by Lighthouse Builder
- 5 Replies
- Last post
by Cindy Meister
- My direction is to develop an Excel solution using VSTO that can be downloaded from a web server and run using ClickOnce as long as the user is already installed and licensed for Excel 2003. My solution needs buttons and preferably Custom Task Pane, and it is acceptable to me if these are dynamically created by the VSTO application that drives Excel.
It first seemed as if the best approach
-
- Saving OLEObject content to a file
by Anton Rapoport
- 14 Replies
- Last post
by Geoff Darst - MSFT
- Greetings, colleagues
I have spent quite some time on trying to solve the following problem: I get the OLEObject from the Excel worksheet, e.g.
Excel.OLEObject myOLEObject = (Excel.OLEObject) currentSheet.OLEObjects(1);
I need to to save this myOLEObject object back to file on hard drive (in my Excel 2003 managed code extension).
The only thing I know about the OLE object is that
-
- Content Control Events
by Toby Russell
- 4 Replies
- Last post
by Jason (Mel)
- Hi, I'm trying to wire up the Word 2007 Content Control Event Handlers up via a C# VSTO Application AddIn, specifically the before delete event, although I would like to have access to all the other events too.My problem is that if I assign the handlers in the Startup method they don't attach; I realise that this is the COM Interop RCW issue, but am unsure of how to proceed with resolving this in
-
- VSTO 2005 & 2005 SE installs
by mikmela
- 2 Replies
- Last post
by CaptainNemo
- Could please explain or point me to place on internet where I can the idea what is the difference bedween VSTO 2005 and VSTO 2005-SE My company looking into writing application that would customize for specific type of activities.
And we're not sure what should we do buy VSTO 2005 for $800 or use free VSTO 2005-SE
-
- Migrating ISmartDocuments to VSTO 2005
by blindi
- 1 Replies
- Last post
by blindi
- We have several documents built with an expansion pack implementing ISmartDocuments (via the Vertigo Wrapper).
Now we are working on a VSTO 2005 solution with exactly the same XML-Schema. For future documents we made the solution with a word template.
How can we use the solution with the old documents After long searches I found _AssemblyName and _AssemblyLocation in custom document properti
-
- Deploying my VSTO-project.
by Zappke
- 12 Replies
- Last post
by Zappke
- Hi! My problem is as follows: I had to upgrade a VB6-project to VB.Net, and while I was at it, make it so that it would be more pretty (all this is an Office Word-add-in). So I did just that on my local PC, I changed the forms to CustomTaskPanes and such, all looking very nice if I may say so myself First problem came in the form of the DLL's that were used: there was a COM-dll that was made way