-
- The installed AddIn is not Working
by Unniannan
- 2 Replies
- Last post
by Unniannan
- I have installed Visual Studio 2005 Team Edition and VSTO.
Whenever i create a new outlook Add In project i will get a ThisAddIn.cs instead of ThisApplication.cs as being mentioned in many walkthroughs. Still i was able to get the Functionalities from ThisAddIn.Application. Why am i not getting ThisApplication.cs
Another issue is i followed the steps to deploy the application and installed t
-
- Popup window is opened in all open documents
by NaamaV
- 2 Replies
- Last post
by NaamaV
- I've write in my VSTO project this code:
frmDef frm1 = new frmDef();
frm1.ShowDialog();
and the form is opened in all open documents, not just in the one I clicked on. How can I fix it
-
- Why can't I deploy an application addin?
by Denis Pitcher
- 2 Replies
- Last post
by Denis BDA
- I'm trying to figure out how to deploy an Excel Shared Add-in, however I am having some difficulties with it.
In many of the MSDN reference documents such as this one regarding Deploying Application Level Add-ins there is mention of the "Publish" command via the build menu or the project properties, however, this command is nowhere to be found in my project. If I load up a regular pr
-
- WindowActivate in Word 2007 on Windows XP is not triggered
by dophu
- 2 Replies
- Last post
by Steve Couch
- Hello, I am having a problem with WindowActivate event in Word 2007 on Windows XP not being triggered. Here is the repro: 1. Open a Word document. 2. Minimize the document. 3. Right-click on the Word document on the task bar and select Restore or left-click on the Word document to restore. WindowActivate is not triggered in my add-in when I minimize and restore. The event is triggered in Word 2007
-
- Problem with Adding MS Office 11.0 Object Library to Project
by Nima Amin
- 5 Replies
- Last post
by Dennis Wallentin
- Hi, I add Microsoft Office 11.0 Object Library to my project's references. But I cannot use these codes do define my office object: (VS2005 does not recognize them and says, "'Excel.Application' is not defined.") Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet What should I do Thanks
-
- How to add a WinForm control through AddIn to Excel?
by Virge
- 3 Replies
- Last post
by Cindy Meister
- Good day all!
I need to create an AddIn that should be able to add a WinForm control at run-time in a Worksheet. Please, give me an advice or a link where this problem exposed.
Thanks,
/Dmitriy
-
- There is no designer for the class Microsoft.Office.Tools.Word.Document
by godplaysdice83
- 5 Replies
- Last post
by Maarten van Stam
- I've never used VSTOR before and I've taken over a C# project that provides the code behind a Word template. When I try and view the .cs file behind the Word template in Design view, I get the following error:
There is no designer for the class Microsoft.Office.Tools.Word.Document
at System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String nam
-
- Deploying SQL Db with Word 2007 add-in
by Jay-P
- 5 Replies
- Last post
by John R. Durant - MSFT
- Hi,
I have an VSTO application for word 2007 that uses an SQL Db as backend to store information retrieved from local files. So for every installation/PC there should be an SQL db installed with it. I Have added SQL Express as a prerequisite to the project. My question is how i supply the SQL Db with the application. I'm relativly new to SQL and am trying to orientate on deployment of SQL Db wi
-
- Office 2007 PIA - Office Primary Interop Assemblies - problem - not installing
by Levanter30
- 10 Replies
- Last post
by Levanter30
- Hi
I am having trouble installing the Office 2007 PIA
When i execute the o2007pia.msi is executes for about 2 seconds, and when it says "Gathering Required Information" it dissappears and dies, no confirmation GUI appears after that, nothing to suggest the PIAs have been installed.
The Microsoft.Office.Interop.xxx DLLs are not installed anywhere.
I have the wh
-
- How to know what documents already loaded
by Aleksey Nagoga.
- 4 Replies
- Last post
by Aleksey Nagoga.
- I'm working with VS 2005 and Office 2007. I'm adding a custom pane, but I want to display it only when a particularly named document is being opened. The problem is that when I open a document that is already opened, Winword still fires the Application_DocumentOpen event, like if it was really opening the file, when in reality it just switches focus to the already opened version of it. This behavi
-
- Put a custom task pane inside a view control or folder home page? Possible?
by David Swain
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- I just want to know if it is possible to use VSTO to create a custom task pane, and then can I put this inside a View Control or a folder home page
Other details of what i am doing:
Create new outlook folder with a custom HTML home page
I currently have a custom task pane which contains a tree view of some other file system.
I want this custom task pane to be displayed in the c
-
- Fuzzy text in a label control
by Arthlan
- 6 Replies
- Last post
by Arthlan
- Hi,
I've added some controls to the top of a sheet in an Excel file. The problem I'm having is that the text on, say a label, is blurry or fuzzy. It almost looks like when smoothing is being applied but actually makes it worse. I've tried various fonts and sizes and that doesn't matter. The rest of the text on the sheet looks fine. Has anyone seen this before, and hopefully knows what's happeni
-
- A WindowForm in a Word Template doesn¡¯t open
by DanDanne
- 5 Replies
- Last post
by Cindy Meister
- Hi
I created a new Word Template project (¡°MyTemplate¡±) in VSTO 2005 and
added the C# code for creating an Office menu from the following address:
http://msdn2.microsoft.com/en-us/library/0batekf4(VS.80).aspx
Since I want a WindowForm to open when the user click on the menu item I added a new WindowForm (¡°MyForm¡±) to my application and modified the menuCommand_C
-
- Undo and Redo in Office automation in .Net 1.1--Urgent Help needed
by DKUS007
- 8 Replies
- Last post
by parmanu
- I am using a window based application in .Net1.1(C#), where I am using Office 2003 PIA.
In this application I am caputuring Ctrl-V and doing pastespecial functionality of Excel. But after pasting I am not able to Undo or Redo to previous state.
Below are my code after capturing CTRL-V below code function I am executing
public void ExcelPaste() { try { IDataObject objPresumablyEx
-
- Export Message from Outlook to .NET Application
by Michael T
- 3 Replies
- Last post
by X4U
- I am attempting to create the ability to pass a message from Outlook into my .NET application. I have attempted multiple ways of doing it and have been blocked by bugs in Outlook.
The first method I tried was to use a VSTO addin to put a button into outlook and then save to a DB or file from the event handler of the button click. However, if you do any windows form commands in that event h
-
- 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
-
- VSTO 2005 with Visual Studio Pro 2003 and Visual Studio Pro 2005
by youngloc
- 9 Replies
- Last post
by youngloc
- I have been running the following for a while before I installed VSTO 2005 recently:
Office Professional 2003 SP2
Visual Studio Professional 2003
Visual Studio Professional 2005 SP1
I have just installed VSTO 2005, but I cannot find its project templates in Visual Studio 2005's menu: File > New > Project.
In Visual Studio 2005's Help > About..., I can see ' Micr
-
- How to create/insert a chart in Word document using VSTO?
by Charlotte Jensen
- 2 Replies
- Last post
by Cindy Meister
- Hello,
how can I create a chart in a Word document using VSTO I haven't been able to figure out how to do this task.
I have been thinking about creating a hidden excel sheet, copying the data from source into the sheet and generating a chart whereafter I will copy the chart into the Word document and kill the excel sheet again.
This however seems very troublesome - How is the best method
-
- Unable to cast transparent proxy to type
by dotAge
- 1 Replies
- Last post
by Peter Jausovec
- These code work fine on my development environment(VISTA ULTIMATE, VSTO 2005 SE, EXCEL 2003 and OFFICE 2007 installed together and excel 2003 were loaded when debug)
using Excel = Microsoft.Office.Interop.Excel;
foreach (object sheetObj in this.Worksheets) // or foreach (Excel.Worksheet sheet in this.Worksheets) { Excel.Worksheet sheet = (Excel.Worksheet)sheetObj; string sheetNam
-
- Excel Cell Format Behavior
by FcoLomas
- 5 Replies
- Last post
by FcoLomas
- Hi all!!
Me one more time...
Well I haven't see before this behavior, I have an Excel sheet that recives data from a Database, of course with VSTO 2005, some of this data are Excel's formulas, well if the cell is formated as text it don't uses the formula and no calc is performed, but if the cell is formatted as general it works well, the question here is:
I'm using C# with an Excel Smart
-
- How to use XP visual Styles on an Office (Excel) Add-in
by Tomas Galvez
- 1 Replies
- Last post
by Dennis Wallentin
- Hello,
I'm using Visual Studio .NET 2005 and I was wondering if nice XP Visual Styles can be applied to the windows and dialogs that i use on my office add-in. since it's a library i cannot check the checkbox "Enable Applicaiton Framework" neither "Enable XP Visual Styles".
I've found this article but i'm using VB.NET and don't know how to translate the "using"
-
- How to Disable Macros in C#?
by Joe Lentrichia
- 4 Replies
- Last post
by Titipong
- I'm trying to disable macros from running via Automation. Is it possible Here's what I have so far, but I get a Method Not Found exception.
object wordBasic = wordApp.WordBasic;
object [] someParams = new object [] { 1 };
wordBasic.GetType().InvokeMember( "DisableAutoMacros" , BindingFlags .InvokeMethod, null , wordBasic, someParams);
Am I going about this entir
-
- Outlook Add-in Not Loaded :runtime error HELP HELP
by Hussain Saffar
- 14 Replies
- Last post
by treckamerica
- Deall ALL,
I installed the following in the client machine
Office 2003 SP2
framework 2.0
office tools runtime
MS PIA
the Patch KB908002
lockbackRegKey.msi
extensibilityMSM.msi
office2003-kb907417sfxcab-ENU.exe
all did all of the above and no luck to get my Outlook- add in working in the destination machine
BUT IT WORKING PEFECTLY in my DEVELOPMENT MACHINE
p
-
- Macro to delete Email
by Tryin2Bgood
- 1 Replies
- Last post
by Cindy Meister
- Anyone ever created a Macro to delete e-mail from Outlook 2007, if so can someone send me a link or some insight on how to get this done ! !
-
- Managed UDFs for Excel 2003 with VSTO 2005 SE
by Karlma
- 5 Replies
- Last post
by Karlma
- Hi,
I am developing some User Defined Functions (UDF) for Excel 2003 using Visual Studio 2005 Team Edition for Software Developers, and I have VSTO 2005 SE installed. The solution is currently an Automation Add-In (VB class library) that fetches some data and does some calculations on a MS SQL Server 2005 by calling stored procedures. I have basically followed the instructions from Eric Car