Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to quit a program completely ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00458029
Message ID:
00458397
Views:
19
1) Did you d/l the SP4 and install it?
2) Are you using HP Printer?

For Answer No for 1)
You may simply hang PC as fail to detect the c0000005 known bug fatal error..

For Answer Yes for 2)
You're better to use other Brand printer such as Espon,
HP Printer is Daaamned and don't release memory after call printer function:

Simple Function you will know:

For iX = 1 to 50
=GetPrinter()
EndFor

you will get a insuffient memory effect after run some loop, maybe 15-20.

For me to quit the application...
it simple add a code before Clear Event

ON ERROR QUIT && most likely it will make a Critiral Application Error prompt but NOT hang PC ~_~





>Dear all,
>Can anyone tell me how to quit a program completely?
>Sometimes I found it will hang my computer when I quit
>the Visual Foxpro 6.0 program.
>I am using a form as my starting main procedure. I have
>already issued some exit commands like "clear windows",
>"clear events","close database all","clear all",etc...
>in Unload method. When I run the program for a long times,
>and then choose to exit the program, it sometimes hangup
>my computer and I have to cold boot the machine. why this
>occure ? is there anything I have forgot to do ?
>Please help me !?
>
>Thanks a lot
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform