S smpayne Registered User. Local time Today, 09:06 Joined Sep 29, 2004 Messages 27 Jul 14, 2005 #1 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.
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.
ghudson Registered User. Local time Today, 12:06 Joined Jun 8, 2002 Messages 6,193 Jul 14, 2005 #2 Searching this forum is such a novel idea. Pay attention to the ShellExecute method I am using to open a file in my Browse [Find a directory or file] sample. It should be enough to get you started.
Searching this forum is such a novel idea. Pay attention to the ShellExecute method I am using to open a file in my Browse [Find a directory or file] sample. It should be enough to get you started.
S smpayne Registered User. Local time Today, 09:06 Joined Sep 29, 2004 Messages 27 Jul 15, 2005 #3 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?
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?
ghudson Registered User. Local time Today, 12:06 Joined Jun 8, 2002 Messages 6,193 Jul 15, 2005 #4 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? Click to expand... 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)")
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? Click to expand... 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)")
S smpayne Registered User. Local time Today, 09:06 Joined Sep 29, 2004 Messages 27 Jul 15, 2005 #5 Perfect! Thanks so much for your assistance.
ghudson Registered User. Local time Today, 12:06 Joined Jun 8, 2002 Messages 6,193 Jul 15, 2005 #6 you are welcome