>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
Probably you've a circular object referencing (both form and activex have ref to each other) and version is VFP5 (3). If so try using object name instead of reference.
Cetin