I am wanting a user to select the default path for projects when going to open a common dialog to browse for them.
So in an options menu I wrote the following code:
But, I still have to select a particular file in order to get back to the options screen. How can I just browse into the folder that I want and then select open and have that folder value be returned to Text1.txtCode:Private Sub cmdBrowse_Click() On Error GoTo DialogError With CommonDialog1 .CancelError = True .InitDir = "C:\Temp\" .DialogTitle = "Select the Initial Directory" .ShowOpen End With DialogError: End Sub
Thanks for the help.


Reply With Quote