I've created an Outlook 2007 AddIn that among other things has to perform some actions when user creates a new email. I've hooked to proper events and everything works correctly in all but one case.
The problem is that if Outlook is not running and user clicks mailto URL then Outlook opens only one explorer where user can compose the e...
I am creating and populating a Word 2007 table in C#. When I view the result in Word, each cell has extra vertical space appended after the text. In Word this can be adjusted through the "page layout"/Paragraph/Spacing, where the initial value is 10pt.
---------------------------------------------------
| Text... | Text.... | More ...
Underlying problem I was trying to solve is to apply custom key bindings for internal VSTO Word addin methods (develiped in C#):
Globals.ThisAddIn.Application.KeyBindings.Add(
Word.WdKeyCategory.wdKeyCategoryCommand,
"MyMethodName",
myKey,
ref _missing,
ref _missing);
Well, the problem is that this code alw...
I am developing a VSTO Outlook Add-In that is relying on the LastModificationTime property of Outlook Appointment. The problem is when Cached exchange mode is turned On, the LastModificationTime property auto updates each time I close Outlook. Is there possible solution I can use to get the date and time when user changed the appointment...
I am developing an add-in for Microsoft Excel, using Visual Studio .NET 2008.
The add-in creates a single toolbar button, which can be clicked to launch a form, which can be used to add values from a database into the cells of the active spreadsheet.
1) A requirement is that the tool be available in both Excel 2003 and in 2007.
2) A...
I am working on an Outlook extension that requires making a change to a MailItem open in a compose window if the SendUsingAccount property is changed via the GUI. I would like to be albe to apply my changes automatically, but I cannot find any events that are raised when the user makes the change. I have tried listening to the followin...
So I want to capture some key-commands in our Docuement-level Excel VSTO addin. I can't seem to find a way to do it, other than to use VBA and have our addin talk to the VBA. Any help/examples would be greatly appreciated.
I am using Excel 2007.
...
I am creating an addon for Outlook 2007 that reads a mail item when it is received, and then rewrites it. The addon works great, and rewrites the mail for items that do not have an Outlook rule that moves them into another folder. If there is a rule, it is still fine about 50% of the time. The other 50% of the time, the rule moves the ma...
Hi,
I am developing outlook 2007 add in, and facing problems with Outlook Security MessageBoxes.
I know that i can disable it from the trust center and set allow programmatic access to true,
but i want to disable it by code.
How can i disable Outlook Security MessageBox by code?
Note: I am using C# and VSTO.
...
Hi,
I am developing an outlook 2007 add in.
How can i know the outlook language(English or French version..)
...
I am creating a ListObject in Excel using VSTO as follows:
ListObject lo = ws_vsto.Controls.AddListObject(range, "MyList");
(The range variable is a previously defined range.)
If I then loop through the worksheet Controls collection I can find that ListObject.
However, if I save the workbook and reopen it, the Controls collection is...
I have built a custom Outlook toolbar option using VSTO which logs an email in a database. This works fine in Windows. However, I’ve been asked if we can migrate this to the Mac for Entourage which I think is the Mac version of Outlook. Can a VSTO application be ported to the Mac? Is it possible to build custom toolbar options in Entoura...
How to check if the Message Bar in View Tab of word 2007 is checked or not using Word AddIn in Visual Studio (Microsoft.Interop.Office.Word dll)? For instance, we can use Application.ActiveWindow.DisplayRulers to check if the rulers is checked or not. Is there any memeber available to check the same for MessageBar
...
I think the question sums it up. Given two integers for row and column or four integers for row and column for the two corners of a range, how do I get a range object for that range.
...
I use VSTO Excel template based solutions frequently. One of the things I like about this project type is that I can use cached data sets in the Excel template or worksheet to handle application state that persists after the user saves the file. However, cached data sets create a problem: the schema of the document is bound to the appl...
I need to know if a name is already in use in Excel (for example as a named range) so that I do not allow the attempted creation of duplicate names. I tried the following but the loop body never executes (there are no exceptions thrown, it just looks like the collection is empty).
Can anyone suggest and alternative?
foreach (Ex...
Hi all,
I have written a VSTO add-in that needs to get the an appointment information from the exchange server.
On exchange (Outlook Web Access) I change a subject line of an appointment. When I see that Outlook changed the subject line to a new value, I try to grab the new value programmatically and most of the time it grabs old value...
We are building Office 2007 add-ins using Visual Studio 2008. Our builds are performed via a continuous integration server (one machine) that builds whenever we check in changes or manually request one. The server can perform simultaneous builds.
We noticed that when Visual Studio 2008 builds an Office 2007 add-in, it also registers i...
Hi I have Developped a VSTO Addin for office 2007> and a commandbar object model addin for same application to support office 2003.
in the VSTO Version i want to publish my own Themes through my application. and whenever PowerPoint is open and my addin is loaded, i want my custom themes to come in the design gallery? is it possible to ...
I am attempting to merge a few assemblies in a VSTO 2008 project using ILMerge using this target file in the primary assembly's build. The build succeeds, and as far as I can tell the assembly merge is also successful - no post build errors, it looks correct in Reflector, etc. However, the addin will no longer load (in Outlook) in the ...