By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,395 Members | 2,524 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,395 IT Pros & Developers. It's quick & easy.

Auto web fill in and submit

P: n/a
Hi All,

I am creating a program that performs "auto fill in" and "auto submit"
functions.

I will feed the webbrowser the target URL, however, I don't know how
to auto fill in text and submit.
About the submit, I ever tried to use Navigating to catch the new
target URL to know what is it doing:

/*Code BEGIN*/
private void webBrowser1_Navigating(object sender,
WebBrowserNavigatingEventArgs e)
{
textBox1.Text = e.Url.ToString();
}
/*Code END*/

However, if I navigate the new URL by code directly ( not turly press
the click button of web page to submit ), it will not work, the client
will response "Error URL"

The second issue, I have no idea to do auto fill in, should I setfocus
to the target textbox of webbrowser ? How to do that ?
Thank you for your advice!

Best regards,
Boki.

Jun 28 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.