Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an .app file inside of VFP IDE
Message
 
 
To
15/04/2011 11:05:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01507484
Message ID:
01507496
Views:
55
>>>When I run a .app file from within the VFP IDE, it close down the Command Window.
>>>
>>>Is this normal for VFP to close the Command Window it running a .app file, or is something within the app file causing this to happen.
>>>
>>>The .app runs a form, and the form is not Modal, yet I cannot get VFP top bring up the Command Window while the .app is running, and it closes down when the app starts.
>>
>>If you have this app code, can you check it? E.g. may be it has quit command at the end?
>
>
>Found!!
>
>
>READ EVENTS... That's what takes away the command window. Bootstrapper calls this after running form. Not sure why. Initial test seems to do fine without it.
>
>
>.
This is correct way, but it also should have CLEAR EVENTS in the shutdown routine. You can also call READ EVENTS only in case
_VFP.StartMode <> 0 && not from IDE.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform