How to open webpage-Collection of common programming errors
Hi All,
I am facing with a similar kind of problem i.e, Access Webpage using credentials from a Windows application,
1. I am having a windows application which gets the username and password from the user and it also have a button.
2. After entering the username and password, the user has to click that button.
3. On user click what the application supposed to do is it has to open the required webpage say for example(www.gmail.com) and it should login in that webpage using the username and password.
4. For this i have used the follwing code in the button click event.
System.disgnostics.process.start(“www.gmail.com”,username,password,domain)
5. The problem is username and password is given by the user but what should be the content in the domain field.
Kindly help me
Best Regards,
Ansar