What do I put my OnConnection code?

Add-in Express™ Support Service
That's what is more important than anything else

What do I put my OnConnection code?
 
Jon Schmoll




Posts: 5
Joined: 2006-03-21
Using ADX, I'm afraid I don't know where to put my OnConnection / OnDisconnection code from my old non-ADX module. Specifically I'd like access to the application and addInInst objects. Any ideas?
Posted 23 Mar, 2006 11:42:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jon.

The ADX addinmodule contains some events. You can use the AddinStartupComplete / AddinBeginShutdown events instead of the OnConnection / OnDisconnection ones.
Posted 23 Mar, 2006 12:04:59 Top
Jon Schmoll




Posts: 5
Joined: 2006-03-21
Thanks, Sergey. That did it.
Posted 23 Mar, 2006 14:18:10 Top