Jimmyx1000
asked on
Convert simple asp form to a vb6 form
Id like to use an exe to send data to an asp page
how can i convert the following to vb6
<form method="POST" action="recieve.asp">
Name <input type="text" name="Name"/>
Age <input type="text" name="Age"/>
<input type="submit" />
</form>
thanks experts
how can i convert the following to vb6
<form method="POST" action="recieve.asp">
Name <input type="text" name="Name"/>
Age <input type="text" name="Age"/>
<input type="submit" />
</form>
thanks experts
ASKER
can you give the full vb6 code please
thankyou experts
thankyou experts
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check out the code that zzzzooc has given. He has provided what I meant...
>>He has provided what I meant
What did you mean?
What did you mean?
ASKER
can you please test this , to see if it works
thankyou experts
thankyou experts
ASKER
seems to be an error
compile error ,
variable not defined
on line
If (Inet1.StillExecuting = True) Then
which controls do i need to add also
thanks experts
compile error ,
variable not defined
on line
If (Inet1.StillExecuting = True) Then
which controls do i need to add also
thanks experts
1. Go to Project | Component
2. Look for Internet Transfer Control component.
3. Add it into your project.
4. Pick the component from the toolbox and add to your form.
2. Look for Internet Transfer Control component.
3. Add it into your project.
4. Pick the component from the toolbox and add to your form.
ASKER
How can i get some sort of response returned when the command button is clicked
i.e post info recieved ok
here is my asp recieve page
<%
Dim name, age
name = Request.Form("Name")
age = Request.Form("Age")
Response.Write("Name: " & name & "<br />")
Response.Write("Age: " & age & "<br />")
%>
i.e post info recieved ok
here is my asp recieve page
<%
Dim name, age
name = Request.Form("Name")
age = Request.Form("Age")
Response.Write("Name: " & name & "<br />")
Response.Write("Age: " & age & "<br />")
%>
Then you can just form the URL as "http:/xxxxxxx.com/receive.asp?name=xxxx" etc and call the inet.OpenURL and passing the URL string.