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/PermaLink,guid,ee43e226-a1e9-4077-b20c-b70602b93ea3.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.olFolderCalendar)
oCalendarItem = fCalendar.Items
Dim fDeleted As MAPIFolder =
outlookNS.GetDefaultFolder(OlDefaultFolders.olFolderDeletedItems)
oDeletedItem = fDeleted.Items
What can I check, recheck, add, modify, try......plzzzzz???
Thanx