Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Process won't end

Status
Not open for further replies.

RTorrance

Programmer
Apr 12, 2002
64
CA
Hello,
I have an exe that was working fine. I made a little change so that the FoxPro screen won't show in the background and now something strange is happening. I run the exe and it runs fine. In task manager there are the forms under the applications tab and the exe name in the processes tab. When I click on the 'X' to exit, anything associated with my program on the applications tab disapears but the process is still there. I have to go in and end the process manually. Is there anyway to get around this. I'm using version 6 on Windows XP.
Thanks in advance.
Rachael
 
Your change was to make the application a top-level form-based app? Or am I misreading your change.

It sounds like a CLEAR EVENTS is not being executed when you close your main form and likely was from the application when the menu was used to exit the application or the ON SHUTDOWN was fired when the main frame close button was clicked by the user.


_RAS
VFP MVP
 
That's exactly what it was. Thanks for the quick response.
 
Well, that fixed that problem but now when my second form loads the focus leaves and I have to click on the form before I can do anything with it. Does anyone have any idea why this would be happening?

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top