Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5.0- Run command bug??
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00012081
Message ID:
00012090
Views:
30
>I have started to work with VFP5.0 and found very strange behaviour. I issue RUN command to start another Win95 app from cmd.click located in Modal form.
>After another app opens I return to VFP systen using Taskbar and find that Modal form 'lost focus', i.e. app got frozen.
>I found way to workaround issuing command:
>ACTIVATE WINDOW MyModalForm
>immediately after RUN command, but anyway it looks strange.
>Did anybody else notice this problem? TIA.


Remember that when you issue a Modal form that FoxPro stops executing at the line that runs your modal form. The modal form will run, expire (when you close it) & then FoxPro continues at the line that ran the Modal form. So this may be a problem.

Also, make sure you are using the run with the N option:

run /n my.exe

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform