
17/08/2005, 06:25
|
 | | | Fecha de Ingreso: noviembre-2004 Ubicación: Santa Fe (Argentina) Colon F.C
Mensajes: 1.362
Antigüedad: 20 años, 5 meses Puntos: 6 | |
[aporte] Abrir Pagina Web Desde Vb ' Written exclusively for VB Center by Marco Cordero.
#If Win32 Then
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
#Else
Private Declare Function ShellExecute Lib _
"shell.dll" _
(ByVal hwnd As Integer, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Integer) As Integer
#End If
Private Const SW_SHOWNORMAL = 1
Private Sub Picture1_Click()
Dim iret As Long
' open URL into the default internet browser
iret = ShellExecute(Me.hwnd, _
vbNullString, _
"http://www.LA_PAGINA_KE_TENGAS_GANAS.com", _
vbNullString, _
"c:\", _
SW_SHOWNORMAL)
End Sub
Private Sub Form_Load()
End Sub
Private Sub URL_Click()
Dim iret As Long
' open URL into the default internet browser
iret = ShellExecute(Me.hwnd, _
vbNullString, _
"http://www.LA_PAGINA_KE_TENGAS_GANAS.com", _
vbNullString, _
"c:\", _
SW_SHOWNORMAL)
End Sub
__________________ LA MUERTE ESTÁ TAN SEGURA DE VENCER QUE NOS DA TODA UNA VIDA DE VENTAJA |