Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Create Folder at Runtime

I'm tring to create a folder at runtime. I'm tring to avoid using the openFiledialog tool. I'm using a try catch statment to see if the folder exists and if not then create it, but thats where I'm running into a roadblock.

Comments

  • rlcrlc Member Posts: 448
    : I'm tring to create a folder at runtime. I'm tring to avoid using the openFiledialog tool. I'm using a try catch statment to see if the folder exists and if not then create it, but thats where I'm running into a roadblock.
    :

    What does your code look like?

    Should be something similar to this...
    [code]
    'check and create directories if necessary
    If Not Directory.Exists(l_Path) Then
    'create it if it doesn't
    Directory.CreateDirectory(l_Path)
    End If
    [/code]

    ~rlc

Sign In or Register to comment.