-
- How can i use BCM accounts and contacts with SelectNamesDialog?
by jlabrou
- 6 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi,
I'm trying to access accounts and contacts of BCM using code below(without success):
Dim a As Outlook.SelectNamesDialog = Nothing
Dim oAL As Outlook.AddressList = Nothing
a = OutlookApplicationObject.Session.GetSelectNamesDialog
olFolder = _lib.OutlookApplication.Session.Folders( "Business Contact Manager" ).Folders( "Accounts" )
For Eac
-
- 3:55 AM - I'm at a complete loss why my OL2003 add-in is crashing - please help
by sklett
- 4 Replies
- Last post
by sklett
- Hi - this is my first post. I've been using VSTO for about 5 days, this is my first office add-in project. It's pretty simple at this stage, I've added some CommandBarButtons to the UI and context menu. Everything was working fine until I tried to display a Form in the Click handler of one of my buttons. Here is the code: <code> void button_Click(Microsoft.Office.Core.CommandBarButton Ctrl,
-
- Word Automation: Inserting AutoText in a document fails
by deyan.ginev
- 3 Replies
- Last post
by Cindy Meister
- Hello, guys!
I am writing a wrapper class library for some of the main objects of the Word Automation API and need to provide some functionality to the user to display the current page number in a document at a specific location on the page. Using the Macros Tools in Word, I found out how it is done in VBA and managed to translate it into C# code:
//Getting th
-
- Create word table using windows form
by Mohan Kumar Karunakaran
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi,
I am using Word 2007 with VSTOSE. I am new to VSTO and I am trying to create a word table using windows form. I am displaying a form at Startup and getting No. of cols & No. of rows from 2 text boxes as input. Then when I click the create button the table should be created. I am using the following code in the command button.
Public Class Form1
Private Sub Button
-
- Creating Smart tag for Office 2007 using VSTO 2005 SE
by Murlidhar J Chawhan
- 5 Replies
- Last post
by Cindy Meister
- Hi,
Can anybody helpme out in creating smart tag for office 2007 using VSTO 2005 SE.
i have followed the folllowed the following URL
http://msdn2.microsoft.com/en-us/library/ms268751(VS.80).aspx
But No "VSTOSmartTag" object is recognized for VS2005.
Kindly help me out in the step by step procedure to create smart tag using VSTO 2005 SE.
i could not find any reference t
-
- Where are the deployment walkthroughs?
by Ken Slovak
- 4 Replies
- Last post
by Bukola
- The deployment walkthrough articles mentioned in the VSTO resources post have vanished with no forwarding links. Where did they go, those are the most complete and best information for deploying VSTO addins to target machines.
VSTO Deployment
These whitepapers are interrelated, so be sure to review both of them.
¡¤ Overview
http://msdn.microsoft.com/office/default.aspx
-
- Word Automation works too slow
by dzeaman
- 2 Replies
- Last post
by Eugene S.B.
- Hi there!
Calling Range.get_Information() while Word Automation takes up to 100 ms.
There's a solution to use Range.Select() and then Selection.get_Information() except Range.get_Information(). Speed did increased but Automation is still too slow.
Calling Border's properties also takes much time.
Could anyone advice more things to do with Automation's speed Please don't say "Wh
-
- Excel.Application Close Event
by mehuld121
- 1 Replies
- Last post
by Geoff Darst - MSFT
- I am doing Excel Automation, and notice that when I close my Excel window, EXCEL.EXE still remains as a process in Task Manager. I have a clean up routine which runs when my main form (that launches Excel.Application) closes, but I would also like for it to be invoked when Excel is closed. In order to do that, I am trying to find if there is an event that is fired when Excel gets closed.
I
-
- CommandBarButton event sometimes is not faired
by Dmitriy Ovdienko
- 5 Replies
- Last post
by Misha Shneerson - MSFT
- Sometimes Excel 2003 does not fires CommandBarButton's event. I create CommandButton under CommandBarPopup of ActiveMenuBar in ThisAddIn_Startup using following code:
CommandBarPopup menuItem = (CommandBarPopup)Application.CommandBars.ActiveMenuBar.Controls.Add( MsoControlType.msoControlPopup, missing, missing, missing, true );
menuItem.Caption = "111"; CommandBarButton btnConnect_;
-
- Iterating through Excel Workbooks collection does not pick-up all open workbooks
by Sergei_SG
- 3 Replies
- Last post
by Sergei_SG
- Hi all,
Have been trauling the net for the answer but it seems it works for everyone but me...
Scenario:
1) open a few Excel workbooks
2) start my C# app that opens a form "MainForm" with a list box "ListOfWB"
3) what I needed is to populate the list box with the names of all open Excel workbooks
I've done it tone of times in VBA, but the first
-
- outlook addins - custom email form
by Tam&#38;&#35;2
- 2 Replies
- Last post
by Mike Walker
- Hi,
I want to ask your help.
Our goal is to replace the default mail form with the form you see below in Outlook 2003, when you click the "new" button. Its similar to the default email form, but has a new dropdown list.
The approach to solve this task with Outlook Forms is stuck at changing the little icon in the inbox window. We have prov
-
- Error HRESULT E_FAIL has been returned from a call to a COM component.
by GTrz
- 14 Replies
- Last post
by Andy Fearless
- And back to the error with no meanings:
I¡¯ve created a document, published it on an IIS, and opened it from the IIS, resolved the security problems, and now facing this error message:
Error HRESULT E_FAIL has been returned from a call to a COM component.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Error HRES
-
- Word 2007 don't read "OpenXMLEncryption" registry key
by ch.magus
- 2 Replies
- Last post
by ch.magus
- Hi,
I have written a com-ins which implement "EncryptionProvider" interface in Visual C++, and set registry key " HKEY_CURRENT_USER\ Software \Microsoft \Office \12.0 \ Common \Security \OpenXMLEncryption" . But Word 2007 don't load my add-ins.
Thanks.
-
- Outlook Explorer Close event
by EB78
- 14 Replies
- Last post
by EB78
- Hi All,
I have Outtlook Addin (C# 2.0, VSTO 2005, Outlook 2003),
i subscribed to close event:
explorerEvents.Close += new Outlook.ExplorerEvents_10_CloseEventHandler(OnExplorerClose);
but i never get there, why
Only if i open another explorer (right click on folder--> Open in new folder), and close it , then i get the close
event fired, but when i have only one explorer (ma
-
- MS Office files on the web
by Naveedullah Khan
- 1 Replies
- Last post
by Andrew Cherry [MSFT]
- Hi All,
I have a requirement with one of my clients where I need integration of MS Office with my web application. This integration is somewhat unique in the sense that the web application should be able to open and modify any Word/ PowerPoint/ Excel document without using the Office client applications. i.e. the application behaves as an Office client.
I know there are viewers available
-
- Encountering error while opening Excel 2007 file.
by voodem
- 1 Replies
- Last post
by Cindy Meister
- Hi,
If I programatically create an excel file(*.xlsx) , I'm unable to open excel 2007 file .
It gives the following error.........
C:\filename.xlsx' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not bee
-
- Enumerating merged cells in MSWord automation
by dzeaman
- 2 Replies
- Last post
by Cindy Meister
- Hello there!
Explain me please how should I enumerate all cells in a MSWord's table (using automation of course). There're merged cells in a table, something like that: http://esb.toxahost.ru/word/table.jpg
If I try to get access to the cell (2,1), I have an exception (cell doesn't exist because it's merged with the upper one). If I try to get (1,1), it looks like it's not a part of a merged
-
- Content control's OnExit event
by nmarathe
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- I have developed a simple addin using C# for Word to test the new Word 2007 Content controls. I have a very simple docuement where a table with two columns is present. The first column has plain text where as the sencond column contains text inside "plain text" content controls. When i tab from the first column to second using "Tab" key, it fires the "ContentControlsOnExit
-
- Can't get the add-in work in excel
by Maximus
- 6 Replies
- Last post
by Maximus
- Hi all, [sorry for double posting] I'm newbie to C# (I'm a Java developer) and I wonder if anyone can assist on this one. I'm trying to implement an add-in to excel. I tried the example given at: http://blogs.msdn.com/eric_carter/archive/2004/12/01/273127.aspx all worked well but one minor issue: I can't get this - AutomationAddin.MyFunction on the insert Function Dialog. * yes, I have it in my
-
- Outlook Addin right click option on an email
by VikasVaidya
- 4 Replies
- Last post
by fbs419
- Hi Friends,
I am working on an Outlook Addin project in which I have to add an option in right click on an Email. The new option in right click will be let's say "My Option" on which I have to do some customized work through web service.
Anybody having some ideas about what events and code will be used or any other information regarding this.
Sample codes are much ap
-
- How to get data from ms sqlserver to ms excel - 2003
by sanjaykhed
- 2 Replies
- Last post
by colbert
- Hi,
i am totaly new to vsto, Can any one help me to write my first application using vsto-2005 to get the data from ms-sqlserver in ms-excel-2003, thanx in advance.
sanjay
-
- word dynamic index, TOC
by ctester
- 6 Replies
- Last post
by Cindy Meister
- Ok i have a word report of like 300 pages inside are accounts information each account have a unique number, this report change each month at least the info does not the account number. it is possible to make a dynamic index so each time the report change you dont have to index all the account numbers so the index stays the same because the report format never change, only the info in the report f
-
- how to deal with each Recurring AppointmentItem?
by fahad11
- 7 Replies
- Last post
by Sue Mosher - Outlook MVP
- hey everyone...
I want to retrieve all the appointments in a week by displaying their information
so the problem that iam facing is when i have a recurring appointment
how can i deal with each appointment in it
for example i got the same meeting in a week lets say (sat,mon,wed) so i want to display each ones data
this is what I've done (outlook 2007 C#)
Outlook. Applicati
-
- 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" .
-
- Why ComboBoxContentControl dosn't have a datasource property ??
by mathmax
- 1 Replies
- Last post
by Martin Sawicki - MSFT
- Hello, I'm tying to bind a collection to a control of type Microsoft.Office.Tools.Word.ComboBoxContentControl. To my great surprise, there is no datasource property for collection binding. Why Is it somehing that will be improved in the final release of vsto 3.0 Regards, mathmax