PDA

Click to See Complete Forum and Search --> : Opening file


cas21
Dec 10th, 1999, 01:02 PM
Why is it that in my prog, when I try to open
a file from recent file list, it will not open unless I hard code the file name. If I use a variable, it will not work. Suggestions?

Dec 10th, 1999, 02:08 PM
I may be misinterpreting your question here. When I open a file for input or what have you I use a common dialog box which puts the path of the file into a property of the common dialog control which is not realy different from a variable. What is the recent file list you refer to? Is is part of your program or Windows? If it is in your program and you can get the full path into a string it should work. If it isn't what error message do you get?