Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/07/2007, 02:39
luciano
 
Fecha de Ingreso: abril-2004
Mensajes: 192
Antigüedad: 20 años
Puntos: 0
Re: lansar una url a una pagina abierta

Hola.

una forma

Andate a referencias y chequea "Microsoft internet controls"

Luego pone dos command button

Código:
Option Explicit
Dim ie As New InternetExplorer

Private Sub Command1_Click()
    ie.Navigate ("www.google.com")
    ie.Visible = True
End Sub

Private Sub Command2_Click()
    ie.Navigate ("www.yahoo.com")
    ie.Visible = True
End Sub

Private Sub Form_Load()
    Command1.Caption = "Google"
    Command2.Caption = "yahoo"
    
End Sub

Private Sub Form_Unload(Cancel As Integer)
    On Local Error Resume Next
    If Not ie Is Nothing Then
        ie.Quit
        Set ie = Nothing
    End If
End Sub
Acá tene sun ejemplo para modificar otras propiedades

Acceder al internet explorer desde vb


..saludos



--------------------
__________________
Recursos visual basic