I tried doing the following, and it works for folders, but when I try to select a file, it returns a "file not found" error. Darn, I thought I had it with this.
Const BIF_editbox = &H10
Const BIF_browseincludefiles = &H4000
Private Sub Form_Load()
Dim objShell As Shell32.Shell
Dim objFolder...
The FileDialog object can be used to select either files or folders, but not both at the same time.
What I want is a dialog that shows folders and files, and the user to have the choice to select either a folder or a file.
Just to clarify: I don't want a dialog that only allows the user to select a file. I don't want a dialog that only allows the user to select a folder. I want a dialog that allows the user to select either a file or a folder.
Hi, I have a document with 20 pages of text with 6 pages of forms at the end. I want the all the text to be protected, but I also would like the Table of Contents to work.
Right now, I have it all protected, and the forms work fine, but when I control-click on a Table of Contents line, it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.