All,
I have built a COM add-in in VB for Outlook 2003 in VS.net 2003. The
add-in
will build without errors. I have installed and run the add-in fine on
my machine, which is the same machine the add-in was written on.
If I run the msi package on another computer, it is installed fine.
When Outlook is opened on this computer, only the OnConnection Sub
runs. The OnStartupComplete does not run.
I know this because:
- the msgbox in OnConnection appears
- the toolbar button that is supposed to be created in
OnStartupComplete is not created
- the msgbox in OnStartupComplete does not show up
- the msgbox in OnDisconnection does not show up when Outlook is closed
I have noticed the comments at the top of the project code:
"At a later time, if the Add-in becomes unavailable for reasons such
as:
' 1) You moved this project to a computer other than which is was
originally created on."
, but I no clue how to fix this.
Can this be fixed by registry settings, installing the Office 2003
Primary Interop Assemblies, or a simple setting within VS.net??
I am an amatuer at this, so you will need to be plain and simple in
your answer.
Thanks in advanced,
Matt