Skip to content
WJunction - Webmaster Forum

VB.NET 2008 HttpWebRequest

Status
Not open for further replies.
Hello, Lately I've been reasearching HttpWebRequest allover, The reason I want to use it because it's safe and faster so I've heard.

As a start im asking for help to create a form submit via 2 textboxes and a button (on the website)

Here is name
<input type="text" class="tsx" name="nameG" value="" size="40" maxlength="70" tabindex="1" />

I want to set the nameG "Value" to TextBox1.Text

Here is the other textbox(multiline)
<textarea name="message" id="error_eSubmit_7" rows="10" cols="60" style="display:block; width:380px; height:200px" tabindex="1" dir="ltr"></textarea>

I want to set that message "Value" to TextBox2.Text

Then after information set I need it to click a submit button

<input type="submit" class="button" name="sbtn" id="sSubmit_Button" value="Submit E-Report" accesskey="s" tabindex="1" />
 

4 comments

This has nothing to do with HttpWebRequest at all but with parsing HTML. So that's what you'll need to do; parse the HTML and extract the values. Unfortunately I don't work with VB and I doubt many people still do.

You can use the engine DLL that comes with SharpLeech if you need a ready made HTML parser.
 
I don't know why ppl are not using google.
Google is the GOD Father of the internet.Ask him for anything and he'll not disappoint you (I'm sure of that).
anyway I've found this for you (I think that's what you need) ::

Code:
http://www.xtremedotnettalk.com/showthread.php?t=98042
 
I see you have yet to master the art of Google-fu yourself. Your link has absolutely nothing to do with his problem.
 
dermechove said:
(I think that's what you need)
I've said I think.
dcrew said:
I want to set the nameG "Value" to TextBox1.Text

I want to set that message "Value" to TextBox2.Text

Then after information set I need it to click a submit button
dcrew said:
As a start im asking for help to create a form submit
so what I've understand is a form submitter (automated).not to mention "HttpWebRequest" in his post.
 
Status
Not open for further replies.

About the author

D
Banned · Joined
231
Messages
51
Reactions
28
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom