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:
00012141
Views:
32
>>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

Thanks for help. But I always use /N option and don't close my Modal form.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform