JDL129
asked on
I would like to use a WebForm in C#
Hi guys!!
I need to pull up a website using C# and don't know where to start. I know you guys out there can help.
Thanks,
Jerry
I need to pull up a website using C# and don't know where to start. I know you guys out there can help.
Thanks,
Jerry
http://www.asp.net/get-started
ASKER
Hey guys!!! Thanks for the responses. I am not using asp.net, at least I don't think I am.
I have a windows forms application that I want to open a website. Sorry for the misunderstanding. Surely someon knows how to do this with just a couple of lines of code.
Thanks,
Jerry
I have a windows forms application that I want to open a website. Sorry for the misunderstanding. Surely someon knows how to do this with just a couple of lines of code.
Thanks,
Jerry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hi
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.Application = "iexplore";
proc.StartInfo.Arguments = "www.google.com";
proc.Start();
This is little tricky but you have the code attached. Yhis opens a Webpage inside a winform
http://www.codeproject.com/KB/cs/winformiehost.aspx winformiehost.zip
http://www.codeproject.com/KB/cs/winformiehost.aspx winformiehost.zip
ASKER
dj lik!!!
Yep!!! Right On!!
Thanks to everyone for their responses.
I do get an error message about the mouse. Is there another using clause I need.
Otherwise works great.
Thanks a million.
Jerry
Yep!!! Right On!!
Thanks to everyone for their responses.
I do get an error message about the mouse. Is there another using clause I need.
Otherwise works great.
Thanks a million.
Jerry