Application.StartupPath
1//Process.Start("winaccess.exe", @""+ Application.StartupPath); IS THIS CORRECT? 2 ProcessStartInfo startInfo = new ProcessStartInfo(); 3 startInfo.FileName = "Access.exe"; 4 startInfo.Arguments = @""+Application.StartupPath +"\\sama.accdb"; //after runtime error : "C:\\Users\\UUT\\Documents\\Visual Studio 2010\\Projects\\SAMA\\SAMA\\bin\\Debug\\sama.accdb"--->but this uncorrect! 5 Process.Start(startInfo);
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll<br /> <br /> Additional information: The system cannot find the file specified
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)