Otvori novi projekt, dodaj dugme na formu, prilepi sledeci kod:
Code:
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 Command1_Click()
otvoriSliku "c:\imeslike.ext"
End Sub
Private Sub otvoriSliku(optional datoteka as string = "")
ShellExecute Me.hwnd, vbnulstring, "rundll32.exe", "shimgvw.dll,ImageView_Fullscreen" & " " & datoteka, "c:\", 1
End Sub
Ali si trebao da koristis pretragu kao sto rece kolega...
[edit] Nisam video prethodni post... :( [/edit]