Quote:
Originally Posted by Lashtal
Is anybody familiar with what would need to be done to execute such a thing? I'm fairly new to the concept myself.
|
IE does it. So does FF. Actually all browsers do it. What you want is probably a little different, just to piggy back on someone else's browser. I'm not sure why a person would download your exe file instead of just following a link, but that's your issue to solve.
You can get the free but full compiler and IDE here, from Microsoft. Start a Windows Forms project. Your code will look like this, in Program.cs
void main()
{
try
{
System.Diagnostics.Process.Start("http://www.web-site.com");
}
catch(Exception ex)
{
System.Windows.Forms.MessageBox.Show(ex.Message);
}
}
|