-
- How to find runtime properties in Word Dialogs?
by pnp
- 4 Replies
- Last post
by pnp
- Hi I have a small problem. I am making a small tool that can help change a Word document, e.g remove header/footer, change custom properties and search/replace a list of keywords. I would like this tool to be able to search/replace both automatic and interactive. In the interactive mode, the most natural would of course be to use the word Search and replace dialog. But.... I can't figure out t
-
- VSTO, AutoText and WinForm Controls
by Douglas H. Troy
- 3 Replies
- Last post
by Douglas H. Troy
- Word 2003 VSTO 2005 Template solution I have a problem creating AutoText items that contain a WinForm control. Here are the details: I open my VSTO Word Template. Type some text and insert a WinForm control (e.g. a button) inline with the text (see code below, used to insert control into document). I highlight the entire text line, click on the New AutoText commandbar button to create a new AutoTe
-
- VSTO Outlook 2007 AddIn does not run under Outlook 2003
by t_o_n_y
- 3 Replies
- Last post
by del_ave
- Hello! I've made an Outlook add in with VS2005. I've used the VSTO Template for Outlook 2007 Somewhere i've read, that the AddIn should also run under Outlook 2003. I don't know exactly where, but it was a Microsoft Site. The installer contains all required dependencies: .net Framework 2.0 VSTO Runtime VSTO Language Pack Primary Interop Assamblies 2003 and 2007 the installer also asks for Outlook
-
- Outlook 2007 COM add-in catching read event from preview pane/reading pane
by Jamie Gordon
- 1 Replies
- Last post
by X4U
- I have developed an Outlook COM add-in (in ATL) to allow users to process messages they send or receive. This works well for sending messages, and for messages which are read by opening them. I'm using the NewInspector event in InspectorEvents to catch when a user opens a mail to read, but this does not allow me to detect when a user is reading a message in the preview pain.
Is there a way
-
- get the selection range in excel with vsto
by lucky027
- 4 Replies
- Last post
by Cindy Meister
- Hi!!
I have a simple answer, but I don¡¯t know how to resolve it...
I only need to get the selection range in a excel sheet, when I press a button in an vsto action pane... how I can to do it
thanks!
-
- Questons about the March 2007 article titled "Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Wi...
by David Ghikas
- 1 Replies
- Last post
by Mohit Gupta - MSFT
- I have been working on the walkthrough for Enhancing the Outlook Add-in Setup Project when I came across a discrepency. The documentation states that we should use the 2003 Add-ins template for the new project but all I have available is:
Excel Workbook Excel Template Outlook Add-in Word Document Word Template
I tried using the Outlook Add-in template and substituted the event ThisApplicatio
-
- Excel not refreshing http-deployed assembly
by mobigital
- 2 Replies
- Last post
by mobigital
- After updating http-deployed customization assembly, excel fails to get the new version of assembly via http.
I have originally provisioned the document with a HTTP-based location of the customization assembly. Then I tested that it opens the document and loads assembly.
Since then I modified the assembly to add some code, and:
1. Re-deployed the assembly to same http location. 2. Provisi
-
- VSTO 2005 SE Globals Addin Support in Word 2003
by serora
- 3 Replies
- Last post
by Andrew Whitechapel - MSFT
- If I understand things correctly, document level customizations (i.e., those that can make use of the actions pane) are only compatible with Word 2003 Professional or Standalone Editions due to VSTO's use of the XML expansion pack stuff.
What if I create a global addin for Word 2003 using VSTO 2005 SE Do I have the same limitations to the versions of Word that are supported (i.e., Professional/
-
- Stationery & Fonts - Themes
by ANGanley MCSD
- 7 Replies
- Last post
by ANGanley
- I have created the following code to generate an email.
When the email is generated I want to be able to use the users own theme.
Private Sub CreateMailItem()
Dim application As New Microsoft.Office.Interop.Outlook.Application
Dim mailItem1 As Microsoft.Office.Interop.Outlook.MailItem = _
TryCast (application.CreateItem( _
Microsoft.Off
-
- Task Pane disappear after "Spelling and grammar"
by Sammy Qian
- 4 Replies
- Last post
by Sammy Qian
- Hi all:
I use vsto to add a task pane in word. But after I press "F7" to check the spelling and grammar in context,this task pane is disappear auto. Anyone meets this problem or gives some clues Thanks a lot.
-
- Automating Speech to Text feature of word from C# .net
by Anurag-Mehrotra
- 2 Replies
- Last post
by Cindy Meister
- hi...
i am trying to call speech to text feature provided by microsoft word from C # but i am not able to find any method that can do so. I know how to open a new document from .net. Can someone please give me any link or any method that helps me in automationg 'Speech' feature of microsoft word from C# .net its urgent
Thank you,
Anurag
-
- Installing an add-in in invisible mode
by Gastiflex
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi, I want to create an automatic install for a Word 2007 add-in : that is to say the user just click on the setup and has no action to perform. The problem is I want to read the installation path in the registry. Is there a way to do this, with an Installer class for example Thank you
-
- Best practices for server-side generation of spreadsheets
by dagjo
- 5 Replies
- Last post
by Misha Shneerson - MSFT
- Hi,
we make a web application (ASP.NET) which among other things generate many reports we export to Excel. We must support Excel 2000 and newer versions.
A few years back I read on MSDN about Office Development and noted that MS discouraged the use of the Office applications on the server side, since they were designed for desktop use and consequently expect an interactive user and offer lim
-
- Form Region display issue
by Rafael1119
- 14 Replies
- Last post
by Rafael1119
- All,
Is it a known issue that the Form Region text boxes and labels cut off the text and change the font size automatically
Has anyone figured out a way to make the form regions look exactly as they did when you designed them
Thanks,
Rafael
-
- Word's "Find" not working as expected
by omatase
- 3 Replies
- Last post
by Norm Estabrook - MSFT
- I have a string of text found twice in the same word document. Even though I indicate a starting point that is before the first instance of this string and I mark Forward = true the first instance it finds is the instance at the end of the document. Is there some trick I can apply to cause it consistently to find the first instance Here is my code (aDoc is a Document): object missingValue = Syste
-
- How to get Associated Icon of Attachment
by eXMresearch
- 6 Replies
- Last post
by Ji Zhou ¨C MSFT
- I'm working on an Outlook add-in, and I'm hoping to be able to extract the icon that's automatically associated with a file that's attached to a MailItem. I know that I could save it as a file and then look up the icon, but that seems slow and inelegant. Is there any way to get at it while it remains an Attachment
-
- Unable to create Excel Workbook Project
by Justin Starnes
- 14 Replies
- Last post
by Mike Walker
- I just installed Visual Studio 2005 June CTP on a machine with no previous version of VS 2005. However, I get the following error when I attempt to create an Excel Workbook Project: The project cannot be created. I tried uninstalling and reinstalling both VSTO and VSNET. Then, I tried formatting and reinstalling Windows 2003. Next, I tried it on a Windows XP machine. However, all ga
-
- Application.WorkbookActivate event is not fired when an Excel start with a VSTO 2005 SE AddIn
by Thierry Nenin
- 4 Replies
- Last post
by Thierry Nenin
- Hello World,
I have a strange behaviour:
I have a simple AddIn that does nothing else setting a couple of reference to a user object in the ThisAddIn_Startup plus add two event handlers to Application.WorkbookActivate and ApplicationWorkbook.Sheetacivate...
The strange thing is that the event are or aren't fired depending on the machine i run the solution.
On one machine, in the ThisAd
-
- 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
-
- prerequisites to execute VSTO excel application in client side
by Chellam
- 1 Replies
- Last post
by Douglas H. Troy
- Hi
I have deployed the VSTO 2005 excel application in the server machine.
In the clinet machine ,i have installed Microsoft Office professional 2003,.Net Framework 2.0,VSTOR.exe and i executed a .Bat file to grant special permission for the excel DLL.
I could able to execute the application from the client successfully.
Is it possible to execute the Excel office application from the cl
-
- AddPicture Method Fails with a .docx Document in Word 2007
by Marcus_dotnet_programmer
- 7 Replies
- Last post
by Cindy Meister
- Here is a snipet of the code that fails:
(This is a Visual Basic.net addin for Microsoft Word)
Dim TextBox As Word.Shape
TextBox = app.Selection.HeaderFooter.Shapes.AddPicture(sLogo, False, True, nHPos, nVPos, nWidth, nHeight)
This line of code consistently fails and returns an "Unspecified Error" (ErrorCode -2147467259)
This error happens consistently when trying to
-
- Grouping content controls in Word 2007
by dhysong
- 2 Replies
- Last post
by dhysong
- Can someone please help me with the following situation
I want to place 3 richtext contentcontrols in the following configuration, and then group them together:
ContentControl1
ContentControl2
ContentControl3
So far I have the following (which is translated from a vba macro):
Code Snippet
object missing = Type.Missing; object moveUnit
-
- Office add-ins not running on clients
by LasseJ
- 4 Replies
- Last post
by thorkia
- Hi
I've recently developed a office add-in for powerpoint but the add-in
doesn't load, I'm using the installer included in the package and the
client does have vstor and interop assemblies installed.
If I make an application on the client using visual studio and making a debug or release, it runs fine.
Thanks
// Lasse
-
- Word 2007 DocumentOpen event is not triggered with document containing macro
by dophu
- 4 Replies
- Last post
by dophu
- Hello, I'm working on an add-in that subscribes to the events in Word. The add-in is supposed to run in both Word 2003 and 2007. I have a problem with DocumentOpen event in Word 2007. When user opens a document containing macro in Word 2007, the DocumentOpen event is not triggered. Other events, such as DocumentBeforeSave or DocumentClose, are triggered however. There is a message appeared in Word
-
- Excel Applicaion breaks after 13107 iterations ... Please Help
by zoddiax
- 7 Replies
- Last post
by zoddiax
- Hello
I have an Windows Forms Application which transfers data from one excel workbook to 5 different worksheets in another excel workbook for 15000 times but my application breaks after 13107 iterations .
Yesterday after doing some random calculation I came to the conclusion that there must be some kind of overflow
13107 * 5 (# of worksheets) = 65535
65535 + 1 = 2 to the p