Com AddIn Interoperability

J

Joe R

I have written an Outlook COM Add with VB.Net. This add uses Word and
Access. I can instantiate both but neither process seems to want to stop.
With Access I am opening a report using the DoCmd object. Then closing the
report the same way. When I want the process to end, I call the access Quit
method then set the application object to "nothing". I am guessing there
must be some object still instantiated with the instance of the Access
application object. I just can't figure out what it might be.

Any help out there?
 
G

Guest

hi Joe,

try releasing the Com object using this line.
Marshal.ReleaseComObject(o);

Hope it helps,
Kannan.V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top