-
- Word Automation and Default Window Position
by JRQ
- 7 Replies
- Last post
by JRQ
- Is there a way to tell Word automation object not to save the current window position when Quit() is called
Basically, I'm trying to reuse Word Spellchecker in my project. So I assign the Top property of the automation object to -3000 to move it off the screen. Then set the Visible to False so it won't show up on the taskbar.
However, when the automation object if finally closed and released
-
- Deploying Outlook Add-In with the Publish Wizard
by Albert Raiani
- 1 Replies
- Last post
by Albert Raiani
- Environment: VSTO 2005 SE & Office 2003 on Windows XP
I'm having trouble getting automatic updates to work. My add-in works fine when I install using an .msi installer but when I try publishing it for automatic updates Outlook doesn't load the add-in. When I look at the status of the add-in in the COM Add-Ins dialog it says that there was a runtime error loading the add-in however there
-
- Excel Add-in issue opening workbook
by Denis Pitcher
- 4 Replies
- Last post
by Phil Hoff - MSFT
- I've got an Excel 2003 VSTO 2005 add-in.
It works fine when running debug mode. I need to open a preexisting saved worksheet. I've done so by adding the path to the worksheet in debug mode and it opens fine.
However, when I go to open the file independent of VS, and try to reference the active workbook in the initialization of my add-in, it comes back with a object reference not set error. I
-
- 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#
-
- VSTO Outlook 2003 Add-in Deployment problems
by jdrawmer
- 13 Replies
- Last post
by jdrawmer
- I've had a lovely little add-in now working on my machine for a while, and yet I haven't been able to deploy it successfully, not even on my own machine once.
The program works absolutely perfectly on my machine when debugging and running through Visual Studio, but when deployment comes, the common error "Not loaded. A runtime error occurred during the loading of the COM Add-in" occur
-
- Get Range from Word
by Oleg Volodin
- 4 Replies
- Last post
by Cindy Meister
- Hello All! Help me please: How I can get Word::Range interface with RangeFromPoint() method.
Thank you very much, Volodin Oleg.
-
- Error while creating Outlook-Application-Object on OL2003/Vista?
by Wuschba
- 6 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi. I'm just trying to connect to Outlook 2003 from my C#-Application on Vista. I added "Microsoft Outlook 11.0 Object Library" to the references of my object, and then I'm calling: using Outlook = Microsoft.Office.Interop.Outlook; ... [STAThread] static void Main(string[] args) { Outlook.Application application = new Outlook.Application(); } Thats all, but I get the error: Retrieving th
-
- Unable to open an existing document from Ribbon button click event
by khedkar
- 2 Replies
- Last post
by colbert
- Hi,
I have created an Add-In project for Word 2007 in VSTO 2005. I have created a new Ribbon Tab with some buttons in it. On click of the button i need to open a a new file. I have the following code snippet in the Action for button click event in the ribbon:
public void OnOpenDocumentButton(Office. IRibbonControl control)
{
object missing = System.Reflection. Missing .Val
-
- Working With the Outlook.NK2 file
by Roman Benko
- 7 Replies
- Last post
by Reshmi
- Does anyone know if there is a way to use VSTO to open and read data in the outlook.nk2 file. Our company is changing E-mail addresses for employees and this file contains auto-complete data that can be used to let our staff know who they should send updates too. Thanks.
-
- How to Import a .msg and .pst file into Outlook 2007 with C# code?
by TestCaseTim
- 6 Replies
- Last post
by TestCaseTim
- I need to import .msg and .pst containers into Outlook 2007 using c#. I am aware of the CreateFromTemplate method, but this alters the message by saving it as an unsent email. I want to import the message items into Outlook without modifying them, just like if I imported them manually through the UI. I don't know Extended MAPI and was trying to avoid using Redemption if possible. If these are my o
-
- could not find Microsoft.VisualStudio.Tools.Applications.Runtime.DLL
by wonderliza
- 1 Replies
- Last post
by wonderliza
- hi,
i installed VSTO 2005 (non SE). I see the folder C:\Program Files\Fichiers communs\Microsoft Shared\VSTO\8.0 on my drive.
The strange thing is that i can see : Microsoft.VisualStudio.Tools.Applications.Runtime.tlb
Microsoft.VisualStudio.Tools.Applications.Runtime.xml
but i don't find anywhere the Microsoft.VisualStudio.Tools.Applications.Runtime.DLL, even with the "find&qu
-
- Moving Project Backwards from VSTO-SE to VSTO
by Crappy Name
- 1 Replies
- Last post
by Douglas H. Troy
- Hi, I created a project using VSTO-SE, but I need to convert it to run on VSTO standard. When I try and load the project, I get the message 'Unable to read the project file 'x'. The imported project 'c:\program files\msbuild\microsoft.visualstudio.officetools2.targets' was not found. Confirm that the path in the <import> declaration is correct. Can someone suggest the best way to convert thi
-
- Format excel sheet using c#
by Shantanu Sen
- 3 Replies
- Last post
by Andrew Whitechapel - MSFT
- Dear all
I have a project which fetch data from HTML web page and writes it into a excel sheet .
I have office 2000 installed on my PC which uses Microsoft Excel 9.0 Object Library
right now i am able to write the data in a excel sheet , but i am not able to format the sheet for some unwanted entry using the library.
Please provide some resolution
shantanu
-
- 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
-
- Custom Form in Outlook 2007
by Anifarsh
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- I am creating an add-in for Outlook 2007 and VSTO SE that logs appointments with a specific "Client" (=company) and "Project" fields and saves the data into an SQL server for billing and reporting purposes.
I have almost finished the part of the appointment form.
Now I need to work on a "Client Information" form. I want it to look like all other forms in Outlook
-
- sending an email from inspector window..
by Bassem Murad
- 8 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hello,
im using VSTO SE and VS 2005 to create a plugin for outlook 2003. In the create new email inspector, i added a button. i want to send the email and perform another task. i was able to add the button to the inspector and perform some function, but i have no idea how to make that button send the email as well.
here is how the plugin looks like...
public Outlook. Inspecto
-
- Deploy VSTO SE Outlook Addin to WinXP and Outlook 2003
by Beezler
- 2 Replies
- Last post
by Mike Walker
- Hi, I have created a simple Outlook Addin. I am using VS.Net 2005 Pro SP1 w/ VSTO SE. I have created and debugged an addin to Outlook and it works fine on my development workstation. It consists of multiple assemblies. I am trying to create a setup and msi to deploy the addin to a virtual machine running WinXP SP2 and Office 2003 SP2. I can install the assemblies and all are in C:\Program Files\Co
-
- how to merge the individual setups into sinlgle setup package
by kalyani&#64;cts
- 3 Replies
- Last post
by Dennis Wallentin
- i have created separate addin setup for each addin(word,excel,etc)
now, i need to merge all setups into single setup package.
how can i do this
-
- Not Able to debug VSTO word Application
by Thekkepad
- 4 Replies
- Last post
by Andrew Cherry [MSFT]
- Hi,
I Have installed VSTO 2005 SE last week and started experimenting in that. Now I am not able to debug the word ADDIN projects. Even if i add any code in _StartUp Method It is not executing...
Any clue
Suresh
-
- WinForms Object Error (Windows Vista & Office 2007)
by Douglas H. Troy
- 3 Replies
- Last post
by Douglas H. Troy
- System Config(s): Windows Vista Ultimate with Office Ent. 2007 Office 2007 PIAs VSTO 2005 SE (have also tried with original VSTO 2005) also tried on Windows XP with Office Ent. 2007 VSTO Solution: Word Template Document-Level Customization Basic test application that contains a custom Action Pane with a button. The click event of that button creates an instance of a custom WinForm control and ad
-
- Add-In key missing from registry - troubleshooting advice needed VSTO SE add in install
by KenMcCormack
- 3 Replies
- Last post
by Misha Shneerson - MSFT
- Hi there
I'm deplying a VSTO SE Word Add In. I've been running alongside the walkthrough / sample project at
Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer (Part 1 of 2)
The only slight variation from the walkthrough is that I've added a GAC node to the File System of the setup program, to install the EntLib 3.1 signed assem
-
- Deploying this outlook addin
by perpetual_dream
- 1 Replies
- Last post
by perpetual_dream
- Hello,
I have this outlook addin which adds a button to microsoft outlook. Once the user clicks on the button it opens a form. I can run the addin successfully. Here is my code:
Code Snippet
public class ThisAddIn
Private _cbBar As Office.CommandBar
Private WithEvents _cbButton As Office.CommandBarButton
Private Sub ThisAddIn_Startup( ByVal sen
-
- Can you wrap a ChartObject in a Tools.Excel.Chart ?
by Gerard75
- 2 Replies
- Last post
by Mohit Gupta - MSFT
- Hi,
I setup my chart (embedded on a Worksheet, not a Chart Sheet) using one added at design time, using SetSourceData and so on. However I may have to add the chart at runtime so that I can delete the chart because I was having issues.
The issue was I set the chart up in a specific way, setting the source data, max scales on the axes etc. But when I try and change the max sc
-
- How I Can Add VSTOR and PIA to My VSTO Setup Project?
by NaamaV
- 1 Replies
- Last post
by Dennis Wallentin
- I want them to be installed in once setup program.
How I can add them to my setup project
-
- Word and Modal dialogs
by _Igor_
- 0 Replies
- Last post
by _Igor_
- How To detect Wether Word has Any Modal Dialog Open