thib1000
Messages postés13Date d'inscriptionjeudi 21 avril 2005StatutMembreDernière intervention24 juin 2005
-
19 mai 2005 à 18:15
thib1000
Messages postés13Date d'inscriptionjeudi 21 avril 2005StatutMembreDernière intervention24 juin 2005
-
19 mai 2005 à 18:43
bonjour,
Comment lancer Explorer.exe (sous windows xp) pour qu'il affiche une photo dans Windows Picture and Fax viewer(ou Aperçu des images et des télécopies Windows) ?
si : shell "C:\Windows\Explorer.exe" & " " & ["Nom de l'image]".
ouvre l'image dans mspaint et non dans Windows Picture and Fax viewer(ou Aperçu des images et des télécopies Windows)
michelxld
Messages postés402Date d'inscriptionvendredi 6 août 2004StatutMembreDernière intervention12 octobre 200831 19 mai 2005 à 18:22
bonjour
j'espere que cet exemple pourra t'aider
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Sub afficherImage_ApercuWindows()
Dim Img As String
Img = "C:\Documents and Settings\michel\dossier\general\general\LeChat.bmp" 'adapter le chemin
ShellExecute 0, "open", "rundll32.exe", "C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen " & Img, 0, 1
End Sub