Need file tree in a form.

smpayne

Registered User.
Local time
Today, 09:06
Joined
Sep 29, 2004
Messages
27
I have a form in which I want to place a box that has a specific file directory displayed at all times for the user to open files from.

Please help!! Really new at this.

:)
 
Thanks

Actually, I downloaded your file and found that I could use it. However, is there a way to have it default and over to a specific directory location?
 
smpayne said:
Actually, I downloaded your file and found that I could use it. However, is there a way to have it default and over to a specific directory location?
Yes, if you are using the bBrowse_Click() event in the fFindOpenImportFile form.

Code:
    varFileName = tsGetFileFromUser( _
    fOpenFile:=True, _
    strFilter:=strFilter, _
    rlngflags:=lngFlags, _
[COLOR=Blue]    strInitialDir:="X:\TestDirectory\", _
[/COLOR]    strDialogTitle:="Find File (Select The File To Import And Click The Open Button)")
 

Users who are viewing this thread

Back
Top Bottom