Click here to Skip to main content
15,902,276 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm using vs 2010 and I'm working on windows form.

I have:
2 text boxes,
1 button,
1 web browser control

I want whenever i click on the 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
Posted
Updated 23-May-13 6:43am
v3
Comments
Prasad Khandekar 24-May-13 1:57am    
Hello Jitender,

Please have a look at this CP article (http://www.codeproject.com/Articles/17371/Passing-Data-between-Windows-Forms). It's about passing values between the tow forms. I am assuming that in your scenario the popup windows contains the web browser control? If so you can use the method described in the above mentioned article to pass values to the popup windows from and from there set those in webbrowser control.

Regards,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900