![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi Ppl,
I have an add-in that adds a button to the toolbar, etc. It installs and works seamlessly for Outlook 2003 but is nowhere to be seen for Outlook XP. It was developed using VS 2005 and Outlook 2003. Is there a way to get around this other than creating seperate versions of Add-in for Outlook 2003 and XP?? Thanx |
#2
|
|||
|
|||
![]()
If you used Visual Tools for Office (VSTO) to build your add-in that is
Outlook 2003 only. If you didn't use VSTO and you have a "plain" .NET add-in then check to see if the v.10.0.4504.0 Outlook Primary Interop Assembly is registered on the XP/2002 machine. Also, if your add-in tries to call 11.0 (Outlook 2003) properties or methods while running against Outlook 2002 it will throw exceptions so you'll either need to catch those or, better yet, identify the Outlook version you're running against and don't make calls that the COM object can't accept. wrote in message oups.com... Hi Ppl, I have an add-in that adds a button to the toolbar, etc. It installs and works seamlessly for Outlook 2003 but is nowhere to be seen for Outlook XP. It was developed using VS 2005 and Outlook 2003. Is there a way to get around this other than creating seperate versions of Add-in for Outlook 2003 and XP?? Thanx |
#3
|
|||
|
|||
![]()
I'm using a "plain" .NET add-in and I recreated the add-in with the
10.0 library. The add-in works on certain machines but doesnt work on others. All machines that have VS 2003 or higher installed have no issues with the addin with Outlook XP or Outlook 2003. With machines that do not have VS installed (just .net Framework 2.0), I cannot get the add-in to load. The LoadBehaviour in registry changes from 3 to 2 on opening outlook after installing the add-in. I have checked the registry keys and they seem to be fine. Another thing, I could not get the .NET add-in to install on my machine so I followed the Approach 2 in the article - http://www.shahine.com/omar/PermaLin...602b93ea3.aspx and everything was fine. I ran the Dependency Walker on one of the machines that the add-in would not work on and got the following warning for MPR.DLL. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. The machine runs Office XP Standard on Windows XP Professional. I have treid installing with both "Just Me" and "Everyone" options without success. I cannot see the Microsoft .NET Framework 2.0 Configurations under Administrative Tools on either of the machines that have only .NET Framewrok 2 (not VS) installed. So if permissions are an issue, I don't know how to resolve it. The OnConnection Code is as follows: ApplicationObject = CType(application, Outlook.Application) addInInstance = addInInst If connectMode 1 Then OnStartupComplete(custom) End If The OnStartupComplete: cInspector = ApplicationObject.Inspectors Dim outlookNS As [NameSpace] = ApplicationObject.GetNamespace("MAPI") Dim fCalendar As MAPIFolder = outlookNS.GetDefaultFolder(OlDefaultFolders.olFold erCalendar) oCalendarItem = fCalendar.Items Dim fDeleted As MAPIFolder = outlookNS.GetDefaultFolder(OlDefaultFolders.olFold erDeletedItems) oDeletedItem = fDeleted.Items What can I check, recheck, add, modify, try......plzzzzz??? Thanx |
#4
|
|||
|
|||
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Oulook 2003 installation | izlopez | Outlook - Installation | 0 | February 13th 06 09:37 PM |
Office 2003 installation error right at the beginning | TimR | Outlook - Installation | 0 | February 11th 06 12:31 AM |
Cheng the path of PST file fter installation of Outlook 2003 using MST | Lion | Outlook - Installation | 1 | February 2nd 06 12:15 AM |
New Outlook 2003 installation problem | Robin Blackwell | Outlook - Installation | 1 | February 1st 06 01:29 AM |
Finalizing installation scrolls - installation doesn't finish | maedeans | Outlook - Installation | 0 | January 12th 06 03:13 AM |