Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instance will not Release
Message
 
To
08/09/2004 13:00:46
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00940340
Message ID:
00940411
Views:
17
Steven,

>In my app I start an instance of Adobe Acrobat with this line
>
>avDocM = CreateObject("AcroExch.AVDoc")
>
>I run this line when through
>
>avDocM.Close(.T.)
>
>However, the instance will not release unless I close my app. Any ideas?

Any application that has visible UI usually doesn't shut down if the UI is still visible even if you release the reference to the root object. IOW, you have to set Visible to .F. or call the Close() method on the document before releasing the reference.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform