Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running an external application?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00835326
Message ID:
00835343
Vues:
11
Thank you... I'm not sure this is exactly what I want since there may be as many as 10 or so external apps running. But I will be looking it over good!

I appreciate it!

>Joe,
>
>Check API_APPRUN in .VCX form File #9477.
>
>>I'm converting a VB app over to VFP7. It is a menu system that runs on Windows Terminal Server. It starts various apps and also prevents the user from running them more than once. The problem is that I cannot find vfp equivalent of some of the vb commands. Here is the vb code...
>>
>>
>>dim RTDispatchHandle
>>
>>Private Sub cmdRTDispatch_Click()
>>On Error GoTo startapp
>>    AppActivate RTDispatchHandle
>>    GoTo skipstartapp
>>startapp:
>>    RTDispatchHandle = Shell("notepad.exe", 1)
>>skipstartapp:
>>End Sub
>>
>>
>>
>>VB's shell returns a task ID. AppActivate brings the app to the foreground if it is running. Can this be done in vfp?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform