
April 19th, 2005, 02:19 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 18
Time spent in forums: 2 h 45 m 11 sec
Reputation Power: 0
|
|
Trouble destroying a object reference
I have some code in my vb.net application as follows
Dim AcroApp As CAcroApp
AcroApp = CreateObject("AcroExch.App")
After this code has fun it does what it needs to do. When I go to check the task manager the program Adobe Acrobat has been created. My problem is I need to destroy this instance of adobe acrobat after I am done using it. In VB6 i would have set AcroApp = nothing but when I look in the task manager it is still there. This is causing problems latter on in the code. Please advise.
|