Com AddIn Interoperability

  • Thread starter Thread starter Joe R
  • Start date Start date
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?
 
hi Joe,

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

Hope it helps,
Kannan.V
 
Back
Top