Foros del Web » Programación para mayores de 30 ;) » Programación General » Visual Basic clásico »

llamar objeto XMLHTTP

Estas en el tema de llamar objeto XMLHTTP en el foro de Visual Basic clásico en Foros del Web. mi intension es llamar el objeto XMLHTTP pero me dice objeto requerido 424 Código: Private Sub Command1_Click() On Error Resume Next Set xml = Server.CreateObject("Microsoft.XMLHTTP") ...
  #1 (permalink)  
Antiguo 25/07/2005, 01:32
Avatar de affv  
Fecha de Ingreso: diciembre-2002
Ubicación: Ahora aqui
Mensajes: 485
Antigüedad: 21 años, 4 meses
Puntos: 0
llamar objeto XMLHTTP

mi intension es llamar el objeto XMLHTTP pero me dice objeto requerido 424

Código:
Private Sub Command1_Click()
On Error Resume Next
    Set xml = Server.CreateObject("Microsoft.XMLHTTP")
        If Err Then
            MsgBox "CreateObject Error: " & Err.Number & vbCrLf & _
            Err.Description
            Exit Sub
        End If

        xml.Open "POST", "http://localhost/ver.asp", False
        xml.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
        xml.Send ("Variable=121111")
        Text1.Text = xml.responseText
    Set xml = Nothing
End Sub
no entiendo como debo hacerlo uso vb6
__________________
Todo tiene un comienzo y un fin!!
Postea tus proyectos
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:10.