C# :: A very simple question about using other files

Associate
Joined
19 Jun 2003
Posts
1,680
Location
West Yorks, UK
Hi all,
Just working on a test C# project, as i've not done much of it before. Say i want to call another application (using "System.Diagnostics.Process.Start"), what is the best way to include this file in my application? Does it go in as a reference, do i put it in the bin directory, or something else entirely?

When it is in there, how can i refer to it? If i just call "test.exe", it won't find the file, and needs the full path to it, but obviously this could change depending on where the C# program is installed.

Any help or advice greatly appreciated...

Matt
 
But doing it that way means I wouldn't be able to develop the application, as the files wouldn't be available for me to call from C# until after the new application had been completely installed?

Matt
 
Back
Top Bottom