I'm using vs 2010 & i'm working on windows form in which I've 2 text boxes, 1 button, 1 web browser control & i want whenever i click on that button, the data that entered in 2 text boxes should be transferred to the website's pop up window like i want enter data on 192.168.1.1 its username & password fields & should check whether entered data is correct or not. How can i get the name of that pop up window ? how can i do that ?
Sorry for my bad english
Send Data from windows form to website's pop up windows
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Sunny SharmaRank #223 · 11.1K pointsPosted May 23, 2013, 9:42 PM EDT
Use Window.Alert() method of the Document object to achieve this purpose. Below is the illustration of how will you do it:
button_click() { // ... // Manipulation code goes here... //... WebBrowser1.Document.Window.Alert("Authentication Successful"); }I'm sure this will help you.
Don;t forget to accept this as answer if it helps!
Thanks.
Jitender Singh3 pointsPosted May 24, 2013, 5:00 AM EDT
Sunny SharmaRank #223 · 11.1K pointsPosted May 24, 2013, 5:48 AM EDT