Peter's given you the correct info. Because the executable for a C# program resides in the bin folder for the application, a call to:
GetCurrentDirectory()
will return a string that gives you the current working directory for the application. It would be a simple thing to place your doc folder off this (bin) working directory.
Dr. Purdum
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
|