Hipervínculo

Hola, necesito me colabores: cual es el código en visual 6, para que cuando le dé clic a un command, cargue el Internet Explorer, con una página web?
De antenamo, gracias.

2 Respuestas

Respuesta
1
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
En el Command
x = ShellExecute(Me.hwnd, "Open", "http://www.schellemberg.com.uy", "", App.Path, 1)
Respuesta
1
Solo coloca este codigo...
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 Command_Click()
ShellExecute Me.hwnd, "Open", "http://www.tuweb.com/", "", 0&, 1
End Sub

Añade tu respuesta

Haz clic para o

Más respuestas relacionadas