Visual Studio 2008 - retrive directory structure
Posted on 2011-05-02
I have to print PDF files to a Hard Drive not a printer. The end user will select where the PDF file will be saved and it will print to that directory whenever it is printed. The top directory will be SavedPrintJobs and from there a supervisor is free to add / rename directory names. This directory will be on the server not their individual PC.
Is there a way for me to retrive the directory structure beginning with the directory SavedPrintJobs and get the current structure below that directory? This retrieved directory structure will be what is shown to the end user so they can select where to save the file.
The directory path will be saved and used each time the report is printed. This directory path will be saved with the report in order for it not to have to be selected each time the report is sent to disc.