Results 1 to 4 of 4

Thread: Copy files and folder questions

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    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!

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    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.


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    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.

  4. #4
    Hyperactive Member guyvdn's Avatar
    Join Date
    Oct 2002
    Location
    Belgium
    Posts
    336

    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.
    To deny our own impulses is to deny the very thing that makes us human

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width