Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Quit Visual Foxpro
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00573609
Message ID:
00573617
Views:
44
I explicitly execute code to set all object references to .NULL. and close the form, before I execute the code for CleanUp that issues CLEAR EVENTS.

>Check for object references that are still in use.

>HTH,
>Arriyel
>I am getting Cannot Quit Visual Foxpro when exiting out of my application. I have read about the ON SHUTDOWN CLEAR EVENTS stuff. And checked that in my CleanUp code, I issue CLEAR EVENTS. I have a form that has a Microsoft Map Point 2002 ActiveX control on it. I run the form on startup of my application so it doesn't need to load later, but I run the form with NOSHOW. If I don't ever show the form and exit out, then I get the message. If I do show the form I don't get the message. I have also tried not loading the form on startup, and calling it when needed. And I don't get the message regardless of whether I show the form or not. The only thing that the form does is create waypoints on the map. It doesn't make any global changes. I don't know if ActiveX controls have a habit of causing these king of problems or not. Once again, any help would be much appreciated.
>
>John Rowlinson
>Microworks POS Solutions
Previous
Reply
Map
View

Click here to load this message in the networking platform