M
Mark Phillipson
Hi,
I have created a Managed Code AddIn for Access 2003 using Visual Basic 2008
(VS Professional) and it works fine on my development machine. It was
created using the Shared Add-in template.
I used the set up project to install... and the .Net Framework was installed.
However when I try to deploy to another PC I get the following error:
Method 'Connect' of object 'COMAddIn' failed
the code that is failing is:
With COMAddIns("MyAddin1.Connect")
' Make sure the COM add-in is loaded.
.Connect = True 'The code crashes here
.Object.TestAddIn
End With
Article used to create is
[http://msdn.microsoft.com/en-us/library/aa902693.aspx
] (Even though this was written for Access 2007)
The Add-In does exist in the collection but does not connect. Also it does
not appear in the list of installed COM ADD-INS through the MS Access 2003
GUI.
I have tried re-installing Office 2003 (complete install) and re-installing
the Add-In.
I have created a Managed Code AddIn for Access 2003 using Visual Basic 2008
(VS Professional) and it works fine on my development machine. It was
created using the Shared Add-in template.
I used the set up project to install... and the .Net Framework was installed.
However when I try to deploy to another PC I get the following error:
Method 'Connect' of object 'COMAddIn' failed
the code that is failing is:
With COMAddIns("MyAddin1.Connect")
' Make sure the COM add-in is loaded.
.Connect = True 'The code crashes here
.Object.TestAddIn
End With
Article used to create is
[http://msdn.microsoft.com/en-us/library/aa902693.aspx
] (Even though this was written for Access 2007)
The Add-In does exist in the collection but does not connect. Also it does
not appear in the list of installed COM ADD-INS through the MS Access 2003
GUI.
I have tried re-installing Office 2003 (complete install) and re-installing
the Add-In.