Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a non-FoxPro Exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00025032
Message ID:
00025407
Vues:
30
>>>I found a neat Third Party EXE that I want to call from my application. Is RUN /N Program.exe the best way? Also, is there a Win32API function that I can call to see if program.exe is already running and switch to it if it is?
>>>
>>>Thanks!
>
>I believe there is an article in this months VFUG newsletter that covers that.

I read the article, and it was useful. I came up with some code that works which I have included below. I have one question. When I remove the WAIT command, the application flashes on the screen for a second and then vanishes. Why is this? Am I missing some thing? It seems like the READ EVENTS is the culprit. This code works fine (with the WAIT) if I run it outside my application, that is as an PRG instead of EXE.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform