Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call the default image browser?
Message
De
12/07/2002 00:57:33
 
 
À
12/07/2002 00:37:10
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00677854
Message ID:
00677857
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>I wanna let the user choose an image file from my GetFile() function, then use the default image browser of his computer to open the image.
>What command/function should I use? Any help of reference will be greatly appreciated, thanks very much!

you can do this:
oWSH = CreateObject("wscript.shell")
oWSH.Run("D:\yourdir\yourfile.jpg")
assuming that Windows Scripting Host is installed. Alternatively, you can use Windows API. Check FAQ #8134.
Claudio Lassala
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform