Results 1 to 3 of 3

Thread: VBcode

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    3

    VBcode

    Is there someone out there who can tell me how to open a directory (for example "c:\mydir") by using vbcode, instead of using a windows shortcut

    It would be of great help for me to be able to do this!

    Please reply to me!

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You can use the ShellExecute API. For example...
    VB Code:
    1. ShellExecute Screen.ActiveForm.hWnd, "Open", "C:\MyDir", "", "C:\", vbNormalFocus
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    3

    Shellexecute

    Thank You so much for your exellent suggestion!
    It solved my problem of how to open a specific folder.
    As being a beginner in Vb it's sometimes difficult where to find the appropriate information.

    with best regards

    Henk from the Netherlands

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