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:
00025420
Vues:
33
>>>>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.


To tell you the truth I have not used his code yet so I don't know. Hopefully one of the people who have used his code will see this message.

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/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform