M
Mr. B
If you can set the 'initial' path of an OpenFileDialog box by something like
the following:
Dim FilesPath As String ' Files Path
FilesPath = "P:\Projects\"
FilesPath = OpenFileDialog1.InitialDirectory
HOW can you set a 'current' path?
For example:
My application has 2 OpenFileDialog boxes (#1 and #2). In #1, I use it to
select specific files.... then they get written to a TXT type file.
My 2nd OpenFileDialog box opens the TXT file, etc. Which will not necessarily
be in the Same Folder as #1 files!
What I want to achive is that IF I use #1 to select files in say Folder "A",
and then use #2 to open my TXT file (which is in a different Folder "B"), how
can I synch #1 Open folder location to match #2's? This is because I want to
open an existing TXT file and ADD more files from the same location as where
the TXT file is (using OpenFileDialog #1). Remember that I used #2 to Open
the TXT file!
Or will it be easier to simply change the File Open extension for #2 instead?
Regards,
Bruce
the following:
Dim FilesPath As String ' Files Path
FilesPath = "P:\Projects\"
FilesPath = OpenFileDialog1.InitialDirectory
HOW can you set a 'current' path?
For example:
My application has 2 OpenFileDialog boxes (#1 and #2). In #1, I use it to
select specific files.... then they get written to a TXT type file.
My 2nd OpenFileDialog box opens the TXT file, etc. Which will not necessarily
be in the Same Folder as #1 files!
What I want to achive is that IF I use #1 to select files in say Folder "A",
and then use #2 to open my TXT file (which is in a different Folder "B"), how
can I synch #1 Open folder location to match #2's? This is because I want to
open an existing TXT file and ADD more files from the same location as where
the TXT file is (using OpenFileDialog #1). Remember that I used #2 to Open
the TXT file!
Or will it be easier to simply change the File Open extension for #2 instead?
Regards,
Bruce