C
Cedric
Hello all,
I'm working since quite some time on a COM outlook add-in made with vb 2008
express.
after a change in the code, it refuses to run ("error loading..." in the
apropriate Outlook dialog box). the change was adding a vb file (module) and
call a function in it. I went backward but the problem keeps happening.
(??!!) It occured some times ago and disapeared I don't know how (magic!)
I used a bit of VBScript to test the object behavior:
Option Explicit
Dim objAddin
const PROGID = "Quinoa.Connect"
On Error resume next
Set objAddin = Nothing
Set objAddin = CreateObject(PROGID)
If Not objAddin Is Nothing Then
WScript.Echo "The object has been created!"
Set objAddin = Nothing
else
WScript.Echo "The object has NOT been created!"
End if
and the execution gives "The object has NOT been created!"
Given that I use VB express, I can't use the debug mode, as the application
to run is Outlook.
i have added a msgbox at the very first function call (OnConnection), but it
doesn't show up. Which means that the bug is somewhere before the first line
of code (??!!). i guess a problem with using a DLL or so somewhere I can't
actually do anything... The real problem being I don't know what really goes
wrong.
I also tried with ADDInSpy but everything seems right in the report.
Can anybody please help me finding the answer?
TIA all
Cedric
I'm working since quite some time on a COM outlook add-in made with vb 2008
express.
after a change in the code, it refuses to run ("error loading..." in the
apropriate Outlook dialog box). the change was adding a vb file (module) and
call a function in it. I went backward but the problem keeps happening.
(??!!) It occured some times ago and disapeared I don't know how (magic!)
I used a bit of VBScript to test the object behavior:
Option Explicit
Dim objAddin
const PROGID = "Quinoa.Connect"
On Error resume next
Set objAddin = Nothing
Set objAddin = CreateObject(PROGID)
If Not objAddin Is Nothing Then
WScript.Echo "The object has been created!"
Set objAddin = Nothing
else
WScript.Echo "The object has NOT been created!"
End if
and the execution gives "The object has NOT been created!"
Given that I use VB express, I can't use the debug mode, as the application
to run is Outlook.
i have added a msgbox at the very first function call (OnConnection), but it
doesn't show up. Which means that the bug is somewhere before the first line
of code (??!!). i guess a problem with using a DLL or so somewhere I can't
actually do anything... The real problem being I don't know what really goes
wrong.
I also tried with ADDInSpy but everything seems right in the report.
Can anybody please help me finding the answer?
TIA all
Cedric