Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a Windows Form. I also have a login in a website. From windows forms, I need to login to the web site and be able to run a report and fetch the results to the windows forms. Is there any possibility? Please advise.
[no name] 25-Jul-14 14:27pm    
Advise what? Have you actually tried anything? There is a handy dandy web browser control you can use. You could also use the WebClient class.
Christian Amado 25-Jul-14 15:18pm    
And you could be more friendly.
[no name] 25-Jul-14 15:57pm    
Maybe but I don't see how unless you think that we need to spoon feed people.
Christian Amado 25-Jul-14 15:19pm    
Dinesh, you can search for a web browser control in your ToolBox inside Winform project.
Sergey Alexandrovich Kryukov 25-Jul-14 16:50pm    
There is no such concept, "call a Web page". Explain what exactly you want to achieve and what did you try, then we will be able to help you.

1 solution

You can use httpwebrequest or you can declare a webbrowser

dim browser as new webbrowser
browser.navigate("Your site")
This doesn't appear on your form.

I hope that gives you an idea.
Share this answer
Dinesh.V.Kumar 28-Jul-14 1:32am    
Thanks Champ!!For the idea.. I will take this path and see what happens..But is there any way to pass the user id and password to login to the site..?

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