Ouvrir photo en VBS

Fermé
moiced59 Messages postés 1145 Date d'inscription samedi 15 novembre 2008 Statut Membre Dernière intervention 18 août 2014 - Modifié par jipicy le 19/06/2010 à 11:12
moiced59 Messages postés 1145 Date d'inscription samedi 15 novembre 2008 Statut Membre Dernière intervention 18 août 2014 - 20 juin 2010 à 17:22
Bonjour,

Je voudrais pouvoir ouvrir une photo en vbs mais en vain g tester ca :

Dim WshShell
Set WshShell = WScript.CreateObject("Wscript.Shell")
WshShell.RegWrite "HKCU\Control Panel\Desktop\Wallpaper", "009.JPG"
WshShell.Run "%windir%\system32\rundll32.exe %SystemRoot%\system32\shimgvw.dll,ImageView_Fullscreen"
Set WshShell = Nothing

Merci a vous

a la place du OO9 g mis le chemin aussi mais rien l'apercu des images reste vierge

A voir également:

2 réponses

moiced59 Messages postés 1145 Date d'inscription samedi 15 novembre 2008 Statut Membre Dernière intervention 18 août 2014 60
19 juin 2010 à 08:30
up
0
moiced59 Messages postés 1145 Date d'inscription samedi 15 novembre 2008 Statut Membre Dernière intervention 18 août 2014 60
20 juin 2010 à 17:22
up
0