S
shughes
i am not really a programmer, so i have a question on the
system.io.directory.exists
what i am trying to do is have a button, once this button is clicked
it checks to see if the Directory exists, if it does it posts a
message saying software already installed. if not i want to launch the
software from a website to install the appplication. here is what i
have so far.
private void button1_Click(object sender, EventArgs e)
{
if (System.IO.Directory.Exists(@"c:\Path"))
System.Console.WriteLine("Already Installed");
else
System.Diagnostics.Process.Start("Program", "web
Location");
}
system.io.directory.exists
what i am trying to do is have a button, once this button is clicked
it checks to see if the Directory exists, if it does it posts a
message saying software already installed. if not i want to launch the
software from a website to install the appplication. here is what i
have so far.
private void button1_Click(object sender, EventArgs e)
{
if (System.IO.Directory.Exists(@"c:\Path"))
System.Console.WriteLine("Already Installed");
else
System.Diagnostics.Process.Start("Program", "web
Location");
}