View Single Post
  #12  
Old January 27th 09, 11:44 PM posted to microsoft.public.outlook.program_addins
YM
external usenet poster
 
Posts: 3
Default Reference to AddIn

Hi Ken,

That solved my problem.
Thank you very much!

Y

"Ken Slovak - [MVP - Outlook]" wrote:

What is Test.Connect, is that the VB6 addin?

In the VB6 addin do you have something like this in your startup code in
OnConnection:

AddInInst.Object = Me

Your CalledFromOutside() procedure in the VB6 code would also be declared as
Public.

Then in managed code I'd call the unmanaged code using this:

oAddin.Object.CalledFromOutside()

See if that works for you.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


Ads