Link to home
Create AccountLog in
Avatar of mcs26
mcs26

asked on

Launch ASp.Net page from Desktop Icon

Hi,

I have no experince with ASP.Net but have made a simple page. I know that for Window or Console projects you can give the .exe file an icon and copy a shortcut to the .exe file to your desktop with the icon showing. Is there a way to do something similar for ASP.Net webpage in Visual Studio, that is have an icon on my desktop that loads the webpage up?

Thanks,
Avatar of Easwaran Paramasivam
Easwaran Paramasivam
Flag of India image

You can create Windows or Console Application. In that you can call System.Diagnostics.Process.Start("http://localhost:12000/Defaul.aspx").  

Change the above path accoring to your need.

Please refer: http://www.dotnetperls.com/process-start 
Forgot to say that, have the application's icon in your descktop!
ASKER CERTIFIED SOLUTION
Avatar of PeteEngineer
PeteEngineer
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.