private void BtnNotePadLaunch_Click(object sender, EventArgs e)
{
//set working directory
ExternalAppLauncher.StartInfo.WorkingDirectory = AppLocations.AppLocation;
ExternalAppLauncher.StartInfo.FileName = "notepad.exe";
ExternalAppLauncher.Start();
}
private void BtnWordPadLaunch_Click(object sender, EventArgs e)
{
//set working directory
ExternalAppLauncher.StartInfo.WorkingDirectory = AppLocations.AppLocation;
ExternalAppLauncher.StartInfo.FileName = "WordPad.exe";
ExternalAppLauncher.Start();
}
private void BtnChromeLaunch_Click(object sender, EventArgs e)
{
//set working directory
ExternalAppLauncher.StartInfo.WorkingDirectory = AppLocations.AppLocation;
ExternalAppLauncher.StartInfo.FileName = "chrome.exe";
ExternalAppLauncher.Start();
}
where the only difference is the string that is being assigned to the "FileName"?

New Topic/Question
Reply



MultiQuote



|