Results 1 to 5 of 5

Thread: [RESOLVED] Creating a directory

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    174

    Resolved [RESOLVED] Creating a directory

    Is there a easy way to create a directory. In the program I am devepoling, I need to create a seperate directory for each person that is entered.

  2. #2
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Re: Creating a directory

    What are you programming in vb6, vb.net, or something else?
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

  3. #3
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Creating a directory

    VB has the MKDir function.

    MKDir "C:\Folder\Sub Folder"

    Note: in this case "C:\Folder" must exist or an error will occur.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    174

    Re: Creating a directory

    VB has the MKDir function.
    MKDir "C:\Folder\Sub Folder"

    Note: in this case "C:\Folder" must exist or an error will occur.
    Can I use:

    MKDir App.Path & "\Sub Folder"

  5. #5
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Creating a directory

    Yes, of course.

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