post and get form action

User avatar
Posts: 4320
Joined: 26 Apr 2010, 17:36

post and get form action

Post by sal21 »

naturally other methods are welcome

Code: Select all

Public Sub Sal21()

Dim myHTMLDoc As New HTMLDocument

With CreateObject("MSXML2.XMLHTTP")

.Open "GET", "", False
myHTMLDoc.body.innerHTML = .responseText

'Debug.Print .responseText

.Open "POST", "", False
.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
.send "capi_cap=80121"
myHTMLDoc.body.innerHTML = .responseText

Debug.Print .responseText

End With

End Sub
Dont work!

In effect i need to show all value in table result!

for example:

go to ... tta=Napoli

selct from CAP 80121

press ricerca button

appear at table with the filtered parameter

the last Debug.Print .responseText, dont contain the result of table
i'm on vb6

User avatar
Posts: 506
Joined: 27 Jun 2021, 10:46

Re: post and get form action

Post by SpeakEasy »

Looks like you are cross-posting ...