-
- reference Form Region controls from Item_Send()
by Rafael1119
- 8 Replies
- Last post
by Rafael1119
- Here is the short version:
Is it possible to reference a form region and its controls via the Item_Send() event handler Some samples will be nice.
Detailed version:
I have a VSTO AddIn with a Form Region for IPM.Appointment messageclass and I'm trying to use it so that I can send a meeting request to my recipients and include private information on the form region visible to only
-
- VSTO 2005 SE Problems on Vista RC1 & 2007 Office
by AndyMauer
- 6 Replies
- Last post
by balachandra
- Hi,
I just installed the VSTO 2005 SE on a Windows Vista RC1 box with the client tools of 2007 Microsoft Office System (Word, Excel, etc.). Before installing it I followed the instructions to only have one version of office insalled, so I uninstalled the 2003 Office client tools, all of them. I have a VS2k5 Team Suite installed which by default installs the VSTO 2005 version. I did not uninstal
-
- Excel addin question
by jackpotek
- 2 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi, My name is Jacek, Currently I'm using Visual Studio 2005 (with visual studio tools for office) to develop Excel 2003 Addin. I would like to know how to create cell (range) selector the same like there is in Excel's solver addin. I mean the one that u can click and dynamically choose some cells that You are working with. Is there any built-in component Thanks Jack
-
- Retrieve current document path
by Freeko
- 14 Replies
- Last post
by Xm3KHs
- Hey guys, although it isn't strictly VSTO-related question I'm sure you'll know hot to do it and help me So, I wrote simple COM add-in for word, excel and powerpoint. One of the functions of this add-in would be to retrieve current document path / location (E.G: "C:/Users/USername/Documents/presentation.ppt".) and then do something with it. Is there a method that would work for all pro
-
- ADO limitation to number of excel 2007 columns??
by pb101
- 6 Replies
- Last post
by pb101
- Hello all,
The following VBA code should theoretically return all the column names from an Excel 2007 sheet. What I find is that it only returns the first 255 even though there are many more in the spreadsheet (a new feature of excel 2007).
Can anyone tell me how to resolve this
Thanks,
Phil
Private Sub getXL2007ColumnNames()
Dim count As Integer Dim fName As String Dim she
-
- Problem with ThisAddIn_Shutdown and CommandBar in Outlook 2007
by Tadwick
- 14 Replies
- Last post
by Tadwick
- I have an Outlook 2003 add-in, developed w/ VSTO SE and written in C#. The add-in creates a command bar with two buttons on it. When the add-in shuts down and ThisAddIn_Shutdown is called, I save the command bar position using the approach described in http://msdn2.microsoft.com/en-us/library/ms268891(VS.80).aspx (modified for VSTO SE). The add-in runs fine in Outlook 2003. However, when I run the
-
- 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
-
- Is it possible to create a plugin that fetches a contact list from an external source, when you create an email ?
by TomJ72
- 3 Replies
- Last post
by Sue Mosher - Outlook MVP
- When you are creating a new email in outlook 2003, there is a dropdown list "select names from" (or something like that, I do not know since I do not have the english language version). I would like to attach a new option to this dropdown and when that new option of mine is selected, it will trigger a method of mine that will fetch the contacts from an external source (through a web ser
-
- Office Edition required for VSTO SE
by SavitaHK
- 2 Replies
- Last post
by SavitaHK
- Hi, Which Edition of Office 2007 is required to develop custom task panes using VSTO SE When I tried to develop the example given in MSDN ( http://msdn2.microsoft.com/en-us/library/aa722570.aspx), i got the following errors.
The type or namespace name 'Tools' does not exist in the namespace 'Microsoft.Office' (are you missing an assembly reference )
The type or namespace name 'Int
-
- Can't use my add in with word 2003
by belote
- 4 Replies
- Last post
by belote
- Hello
I've created a word add-in with vsto by selecting word 2003 add-in.
When I run it in debug in visual studio, it works.
So I run the setup, and that creates me a dll.
I open the template where I want the add-in runs
But in word, in tools -> Templates and Add-Ins, only *.wll files are accepted.
I've tried to rename the dll in wll, but it doesn't work.
-
- Aligning controls on ribbon
by Chernichkin Stanislav
- 4 Replies
- Last post
by Vladimir Morozov (MSFT)
- How can I aling controls on ribbon, set control size and padding
-
- How to get closing Inspector pointer?
by Toxter
- 6 Replies
- Last post
by X4U
- Hello everyone,
While developing Outlook addin I and got one problem.
I'm intercepting Inspector.Close() event successfuly.
However, I'm unable to determine a pointer to Inspector window which is closing.
Here is what I tried:
void __stdcall Caddin:: OnClickCloseWindow()
{
CComQIPtr<_Inspector> spOneInspector;
applicationPtr->ActiveInspector(&sp
-
- Word VSTO Equivalent of WordBasic.SelectCurWord
by c_shah
- 3 Replies
- Last post
by c_shah
- I have a old wordbasic code that I am converting to VSTO what is equivalent of Word 97 (WordBasic) code WordBasic.SelectCurWord in VSTO
Tried several alternatives
wordApp.Selection.Words.Item(1).Select() OR WordRange.Words.Item(1).Select()
but it picks up an extra space while WordBasic.SelectCurWord does not
Here is my situation, following line in my word doc I 
-
- Adding a control to the standard commandbar in Word ....
by lg4
- 5 Replies
- Last post
by lg4
- Hi,
I am trying to add a button to the standard commandbar in Microsoft Word. I am able to create a new commandbar and add a button to the new commandbar but when I get a handle to the standard commandbar and trying and Add a button I get a COM exception " Error HRESULT E_FAIL has been returned from a call to a COM component ". The code I am using to add the button is:
-
- Need Help Declaring Array(s) for Workbooks.OpenText(Fieldinfo)
by NCGordon
- 9 Replies
- Last post
by Dennis Wallentin
- I wish to open ".csv" files using a VSTO Excel 2003 template. All the files have 4 columns each, and all should be set as "XlColumnDataType. xlTextFormat .
I'm stumbling with the FieldInfo parameter of the Workbooks.OpenText method. The documentation says:
FieldInfo: Optional XlColumnDataType. An array containing parse information for individual columns of data. Th
-
- Outlook VSTO Addin: Hard disabled add-In A "block" for loading of add-in B
by janid1967
- 4 Replies
- Last post
by janid1967
- Hello again, new problem:
Our Outlook users have 2 VSTO add-ins, let us call them A and B here. Sometimes some users complains about that they miss their add-in B. (They don't see the buttons). When investigating their PC, I see that add-in A is Hard disabled (Shown as Disabled Items under Help -> About -> Disabled Items). When enabling add-in A again, restarting Outlook, add-in B (an
-
- How to manually copy cells ranges from another workbook?
by JoeDev
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- I wanna to let the user to select the cells to copy manually.
For example when a button is clicked in the actions pane, let the user to select a workbook (file.xls) from the open dialog , and after the document is opened let the user to select a variable range of cells from the worksheet, and load this data in my workbook.
I'm using VSTO 2005 for a Excel 2003 workbook project.
-
- "Cannot find file" on startup - Word 2003 addin, VSTO 2005 SE
by Herman Solberg
- 4 Replies
- Last post
by Herman Solberg
- Hi!
When I deploy my recently built addin I run into problems when. In my code I declare two members that hold the file names of an .xml file and and .xsd file that I use in my addin. These are located in the same folder as my assembly and therefore should be found by just opening them with a relative path. This is how I define the members:
Code Snippet
private const string
-
- Programmatically Showing XML Tags
by Neil Weber
- 2 Replies
- Last post
by Neil Weber
- We use Word to edit XML. Our users forget to tell Word to show XML tags in the document. I know the checkbox is located in the XML Structure task pane. What I want to do is duplicate that checkbox in my document action pane. Is there a way of programmatically enabling it via VSTO Is there a some type of event fired when the option or property is changed (so I can keep the checkbox in synch with t
-
- Problems referencing Extensibility dll in managed add-in
by Weevie
- 4 Replies
- Last post
by BlakeCopenhaver
- I apologise for posting this in here but the kind of work we're doing seems to fall between the cracks as regards the MSDN forums.
It's actually a kind of deployment issue but it's also a managed Word Add-In issue (and possibly an installshield issue but I'm not sure about that yet and I'd leave that for the IS forums).
We used to deploy a managed word addin (written in c#) along with it's C
-
- Should I be using SE?
by Hockey Fan
- 9 Replies
- Last post
by Darryn Lavery -- MSFT
- I'm having trouble deploying VSTO apps, despite numerous articles and documentation that I've read. I am wondering if it would help if I downloaded VSTO SE but since the MS Office apps that I'm working with are primarily Office 2003, is SE the right thing to download Will it hurt if I use SE
-
- How to Deploy a VSTO Application
by rchrismor013
- 3 Replies
- Last post
by rchrismor013
- This is such a basic question but I can't figure it out and haven't found the answer here. How do I deploy a VSTO application Using VS 2005 and VSTO, I created a Word Template to populate a couple of drop downs then suck data from a SQL server into various bookmarked locations on the Word document. Works great as a VS project and, if I launch Word then navigate to the .DOT file in the VS project s
-
- Error loading VSTO project
by Skapol
- 3 Replies
- Last post
by Misha Shneerson - MSFT
- Hi All,
I have a VSTO Addin I created with VS2005. The Addin was installed on Windows 2003 Server with SP1 & Office 2003 with SP2.
The Addin worked for a few months. Now, when the client tries to run it he gets "Office document customization" error (see snapshot).
http://img403.imageshack.us/img403/4074/vstoerrlr7.jpg
I got the message error by setting VSTO_SUPPRESSDISPLA
-
- Loading Custom Form
by abhimanu
- 2 Replies
- Last post
by Dparora
- Hi ,
I have customed a New Message form and saved it as .oft using VSTO 2005 RTM in
How can I load it say when I click a button using C#
Thanks in advance.
-
- Developing for both 2003 & 2007 with VSTO 2005 SE
by Brad Smith
- 9 Replies
- Last post
by Andrew Whitechapel - MSFT
- Okay, maybe this is a stunned question, but I want to make sure I'm crystal clear before I head too far down the wrong path. I did a search, and I understand all but one thing... I want to make an add-in for both Outlook 2003 and Outlook 2007. I *do* understand that the best (only ) approach is to make a "stub" add-in for 2003 and another "stub" for 2007, and have them each cal