-
I wan to to do this:
I have 2 text boxes on my VB form. I also have a hidden Web browser in my form that has loaded a web page which has another 2 text boxes (and a submit button). Well, how can I transfer the data that the user wrote from the textboxes in my Form to the text boxes on the site? If possible, how can I make it so after that is done, my VB program hits the "submit" on the web page? If the 2 text boxes are not filled out, maybe it will return a Message so the user fills out everying?
Thank you!
-Emo
-
Hi Emo,
What method are you using to transfer the data, is it POST or GET. If you are using GET method then its easy to do. Just get the value from the user from your vb form and then just append it to the url.
http://www.yourdomain.com/process.as...r&password=pwd
Then use the WebBrowser control to submit it. E.g
WebBrowser1.Navigate "http://www.yourdomain.com/process.asp?username=user&password=pwd"
I assume you are submiting the content of the form to some kind of script, and you have two text box on the page called username and password.
Hope this helps
-
yes
Yes, I'm using a CGI script on my web form, but I'm using the POST method, not the GET, so is it going to be harder thing to do than the GET method?
Thanks a lot
-Emo
-
Thanks
Ok, I got what I wanted now, and everything works fine!
Thanks!
-Emo