Results 1 to 2 of 2

Thread: Common Dialog problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Posts
    80

    Post

    Hi,

    How do I open the Common Dialog to a folder I want (say "c:\My Documents\")? It seems to always start with the working directory.

    Thanks in advance.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,176

    Post

    Use the InitDir Property..
    Code:
    Private Sub Command1_Click()
        With CommonDialog1
            .InitDir = "C:\My Documents"
            .ShowOpen
        End With
    End Sub

    ------------------
    Aaron Young
    Analyst Programmer
    aarony@redwingsoftware.com
    adyoung@win.bright.net

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