Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File list box vs common Dialog

Status
Not open for further replies.

Zbob

MIS
Apr 25, 2002
94
0
0
US
I am working on a report viewer using the file list box to select the report, which works except it does not follow a shortcut file to the target. I have also tryed the common diaglog control which does follow the shortcut.

My dilema is that I want to restrict the directory which the user select reports by not allowing any file browsing. This seems like the file list box does very simply, is there a way to follow shortucts (lnk) using this method.

Thanks,

Zbob
 
if right(chosen_file,4) = ".lnk" then
get path from lnk file to use as file name in your code
end if
Something along these lines possibly?

Sam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top