abrir una ventana de internet
abrir una ventana de internet usando un comand por ejemplo: www.programacion.net
Aquí tienes un ejemplo
res = ShellExecute(1, "Open", "http://www.programacion.net", "", "", 1)
De hecho con este método abres cualquier documento que quieras, Word, Excel, ficheros jpg, etc
La declaración es:
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
Saludos!!
l_island
res = ShellExecute(1, "Open", "http://www.programacion.net", "", "", 1)
De hecho con este método abres cualquier documento que quieras, Word, Excel, ficheros jpg, etc
La declaración es:
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
Saludos!!
l_island