VB.NET 2008 HttpWebRequest

Status
Not open for further replies.

dcrew

Banned
Banned
231
2010
51
0
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
 
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.
Back
Top