how can I open a specific folder... - Programmers Heaven

Howdy, Stranger!

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

Categories

how can I open a specific folder...

how can I open a specific folder from a vb application? I am using the common dialog but I can not find the right property.
if it is easy for you give me an example!
thank you!

Comments

  • kel1981bkel1981b Posts: 852Member
    : how can I open a specific folder from a vb application? I am using the common dialog but I can not find the right property.
    : if it is easy for you give me an example!
    : thank you!
    :
    :
    [code]
    With CommonDialog1
    .CancelError = True
    .InitDir= "C:Test" 'folder to be opened
    .FileName = ""
    .Filter = "TXT files (*.txt)|*.txt"
    .ShowOpen
    strFileName = .FileName
    End With
    [/code]
  • vbdeveloper1vbdeveloper1 Posts: 6Member
    : : how can I open a specific folder from a vb application? I am using the common dialog but I can not find the right property.
    : : if it is easy for you give me an example!
    : : thank you!
    : :
    : :
    : [code]
    : With CommonDialog1
    : .CancelError = True
    : .InitDir= "C:Test" 'folder to be opened
    : .FileName = ""
    : .Filter = "TXT files (*.txt)|*.txt"
    : .ShowOpen
    : strFileName = .FileName
    : End With
    : [/code]

    thank you!
    :

Sign In or Register to comment.