Copy files and folder questions
Hello,
I know how to copy folders to specific drives. What I want to do is...have the user click a button and a folder browser window come up that ONLY ask me for the folder name. In short, I want to keep certain defaults that the user cannot change such as the drive that the folder will be in and the DEFAULT files that I setup in the code. I ONLY want them to copy my DEFAULT files to my DEFAULT Drive...BUT...I want to allow them to give the folder that the files will reside in a name.
Thanks!
Re: Copy files and folder questions
Have a msgbox inform them that they need to choose a specific drive. If it's not correct, show the select folder dialog again.
Re: Copy files and folder questions
Quote:
Originally Posted by manavo11
Have a msgbox inform them that they need to choose a specific drive. If it's not correct, show the select folder dialog again.
I don't want them to be able to choose the drive....whether they choose the wrong one or not. I want it completely automatic. It's critical.
Re: Copy files and folder questions
Make a form with a Dirlistbox and an OK button. When the user clicks the browse button you show this form modal. You can also add a textbox and a create button on that form to allow the user to create a new folder with the MkDir function.