to open a file that's beside your application
Application.StartupPath returns the path where your application starts from
Example to open text file called 1.txt which is beside your .exe
System.Diagnostics.Process.Start(Application.StartupPath + "\\1.txt");
Last edited by Ramy Mahrous; Oct 23rd, 2007 at 9:43 am.
Reputation Points: 480
Solved Threads: 276
Postaholic
Offline 2,189 posts
since Aug 2006