
08/08/2011, 22:57
|
 | | | Fecha de Ingreso: abril-2011 Ubicación: 1 Pedro 4.11
Mensajes: 94
Antigüedad: 14 años Puntos: 3 | |
Como ejecutar una imagen con el visor de imagenes de windows Tengo este code, este la ejecuta con paint, pero cual es para el visor de imagenes:
Código:
Private 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
Private Sub Form_Load()
ShellExecute Me.hwnd, vbNullString, "C:\Windows\System32\MsPaint.exe", "C:\captura.jpg", "", vbNormalFocus
End Sub
|