index > Visual Studio Tools for Office > OutlookAddin

OutlookAddin


hi i have created an outlookaddin using shareaddin in Visual Studio 2003, here i have added a button to the outlook express, where when i click on the button first it checks wheter email id exists or not in the Sql Database, if the email id does not exists it alerts the user and then sends the mail using addin , and the it saves the emailid and the body of the letter into the database. here the problem i face is its getting installed on the developed machine, and it functionally works as i have described above, now if the taken the deployed software and install other pc its getting installed but its not adding the button to the outlook express and its not working as it works on the development machine. Can any body please help me out on this issue.


sarvan
Sarvan

Hi Sarvan,

You mentioned you that wrote an add-in for Outlook Express using the Visual Studio shared add-in template, however Outlook Express does not support add-ins. Shared Add-ins target Office applications, and aren't compatible with OUtlook Express.

If your add-in is actually being used in Outlook, and doesn't seem to be working when you deploy it to another computer, you may be missing a dependency the add-in requires. Managed code add-ins (Shared Add-ins or VSTO add-ins) need to have the Office Primary Interop Assemblies (PIAs) installed on the computer. These may not be installed previously, so you should include the redistributable versions of these assmeblies as part of the add-in setup project. The 2003 PIAs can be downloaded here. You may also need to install the Extensibility PIA, which ships with Visual Studio and is not included in the PIA redistributables. You can check to see if this is already installed on the machine by looking at the GAC for an assembly named Extensibility. If it isn't there, you may need to include it in your installer and make sure it is registered in the GAC on the target machine.

If you are using any other assemblies or 3rd party libraries, you'll need to make sure those are included as well.

These are the most common issues that developers run into. If all of the dependencies are in place on the target computer, then you may need to debug why the add-in is not loading. You can check to see if any errors are occuring by opening the COM add-ins dialog in Outlook (tools -> Options -> Other -> Advanced -> COM Add-ins), and see if any errors are reported when the add-in was loaded.

--Ryan

Ryan Gregg
reply 2

You can use google to search for other answers

 

More Articles

Want to access "New Mail" editor fields of outlook in v...
VSTO 2005 SE: one assembly for Office 2003 and 2007?
Remote synchronization in Project Elixir
MailMerge.CreateDataSource
Word.Docs in VB.Net
SetSpreadsheetData method with OWC Chart in C#.NET?
Insert image into Excel from My.Resources.Images
How to generate XSLT file from WordProcessingML.xml word document...
deploying vsto 2003 excel application
VSTO v3 on international VS 2005 editions?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Visio : ER source model support is not i…
Issue with Validation.Add
Visual Studio Tools fo office
working with sql server data in ms excel
Outlook Winform
Is MS CRM 3.0 Outlook support done with …
Word Bookmark check
MS Access opening exclusivly
excell parameters
C#, Word VSTO and OnAction (oh my)
Action Pane VS ModalForm
Dynamic Word Doc based on Params passed.
opening document and disabling macros
[VSTO V3 / Office 2007] Adding an image …
Outlook 2003 VSTO error

Hot Articles

Bulleted list in Word
Find and replace for Strings over 255 ch…
ListOject Displaying updates on Excel ha…
Word, Excel 2003.Openning a read-only fi…
Probing path for C# Assemblies
What do I need?
VSTO Excel deployment problem
Install Outlook Add-in from C# Code....
How to build Installer in 'Release' mode
Cannot use ListView in outlook 2007 form…
List Object in excel - how to stop user …
Opening worksheet in VS 2005 RTM crashes…
Problems installing Visual Studio 2005 T…
Drag&Drop a usercontrol or an object…
Outlook localization problem after install

Recommend Articles

Uninstalling or upgrading existing outlo…
Outlook add-in error 80010106
Issue with the menu "Microsoft Offi…
VSTO as a web-based report generator - i…
Word OCX Control
Problems executing code in Word projects
Deploying a Word VSTO solution
get_XML Method buggy?
programmatically open Properties window?
Please, once for all: what are ALL of th…
Now Available: Visual Studio Tools for O…
Problem deploying .Net COM Add-In
Accessing Action Pane in Word Automation
Creating Contacts in Outlook
Outlook ignores errors??