Help with OpenFiledialog Box

Ray S

Member
Joined
Mar 28, 2006
Messages
6
Programming Experience
1-3
I am writing a utility to print the files in a directory. I used the OpenFileDialog box so the user could changed directories and see the files he was interested in before selecting the print option. I have it all working except the user must select one file in the directory for the dialog box to return a path. Any ideas how I can get the functionality of the OpenFileDialog box to get the path for this print routine without actually selecting a file (which is not intutive)?

Your ideas would be appreciated.
 
there is a folder browser dialog and you can use IO.Directory.GetFiles method to get all the files to be printed
 
Thanks for suggestion

Thanks for the idea. I believe it is better than what I had although it doesn't let him see the files until he exits the browser and I display them in a text box. But that seems to be as good as I can do so I will use the idea you gave me. Thanks again
 
Back
Top