Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi frnds,

I have a project that contains a windows project and a website. I want to redirect to the webpage of this website when loading the windows form.

Is there any way to do this?
Posted

Execute this when you are loading your form.

C#
Process.Start(Your url here);


Process class is in System.Diagnostics namespace
 
Share this answer
 
Comments
Mohamed Mitwalli 22-Jun-13 2:34am    
5+
Hi ,
Check this
C#
Process printjob = new Process();
            printjob.StartInfo.FileName = "www.google.com";
            printjob.StartInfo.UseShellExecute = true;
            printjob.StartInfo.Verb = "open";
            printjob.StartInfo.CreateNoWindow = true;
            printjob.Start();

Best Regards
M.Mitwalli
 
Share this answer
 

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