Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open a .TIF file and wait for closeing the application.
Message
 
À
20/12/2000 05:39:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00455371
Message ID:
00455395
Vues:
28
>I need to be able to open a .tif file from my VFP application. My VFP app needs to wait until the user is done with the .tif file and then continue the execution. Currently i'm using ShellExecute which opens the file as it should, but it don't allow me to wait for close. How can I do that?
>
>I've searched microsoft.com and found the file runwait.exe which holds the source code for a library called runlib.dll, unfortanly I don't have Visual C++ to compile the program. Has anyone else looked at the program?

Another option is the Windows Script Host's Shell object. It has a method named Run that allows you to specify that the caller is to wait for the called program to terminate prior to completely. See the October issue of the VFUG newsletter, available on-line at www.vfug.org, for details in the October issue on the Shell Object. The September issue contains the first article in the series and gives information on things like how to determine if it's installed, and where to find more details.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform