General information
Category:
ActiveX controls in VFP
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only