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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetFileOpenName() Function

Status
Not open for further replies.

craigmk

Programmer
Nov 20, 2000
11
US
I am using the GetFileOpenName() function to display the Open File dialog and allow the user to select a file. Is there a way I can have this default to a specific directory?
 
I figured it out. Using Xlerator:

string ls_default_dir
ls_default_dir = 'G:\test'
n_cst_filesrv lnv_filesrv
f_SetFileSrv(lnv_filesrv, TRUE)
lnv_filesrv.of_ChangeDirectory(ls_default_dir)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top