Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program Association
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01203303
Message ID:
01205450
Vues:
14
>Thanks again. I used the second approach with the FindExecutable and API_APPRUN and it works great except when I detect the exe is a dll (Windows Picture and Fax View). I can get it to run in the IDE but not in my VFP exe. I set (API_APPRUN property) iccommandline = "rundll32.exe E:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen E:\Documents and Settings\patd\Local Settings\Temp\IMAGES\". I will keep working at this. I can use qshell but really would like VFP to wait until the called exe is completed.

You have to enclose file names with spaces in them into double quotes
iccommandline = [rundll32.exe "E:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen" "E:\Documents and Settings\patd\Local Settings\Temp\IMAGES\"]
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform