|
-
Nov 26th, 2000, 04:04 AM
#1
Thread Starter
New Member
Somebody has got to know the answer to this, I know it can't be this hard. If your HTML looks like this:
<INPUT type=hidden name=.done><INPUT type=hidden name=.fam>
And you want post the above values, so your code would look like this:
strUrl = "http://www.blah.com"
Inet1.Execute strUrl, "post", [the above values from the html]
What EXACTLY is the code to post those values?!?! Please, I'm begging here. I've spent hours looking for this simple answer. Thanking you in advance...
Scootchie
-
Nov 26th, 2000, 04:23 AM
#2
Conquistador
doesn't .done and .fam have to have a value?
<INPUT type=hidden name=done value=yeah>
<INPUT type=hidden name=fam value=woohoo>
try this:
Code:
strUrl = "http://www.blah.com?done=yeah&fam=woohoo"
Inet1.Execute strUrl
-
Nov 26th, 2000, 12:00 PM
#3
Thread Starter
New Member
Yes, I meant to use HTML with values but I'd probably been drinking heavily. What if this were a just a web page with fields, not necessarily a CGI? Would it still work?
Scootchie (again)
-
Nov 27th, 2000, 06:37 PM
#4
Fanatic Member
Yes it should. If not then you can use the WebBrowser Control like so:
Code:
WebBrowser1.Navigate "http://www.mysite.com/fields.asp"
WebBrowrer1.Document.Forms(0).done.Value = "yeah"
WebBrowrer1.Document.Forms(0).fam.Value = "woohoo"
WebBrowser1.Document.Forms(0).proceed.Click
Gl,
D!m
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|