Results 1 to 4 of 4

Thread: Browse for File and get FileName [RESOLVED by MrPolite]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252

    Browse for File and get FileName [RESOLVED by MrPolite]

    Hi there guys,

    I am in a desperate need to get to know the code for the following situations:
    I got 1 and 3 already, but I am struggling at 2 and 4.

    1. browse for folder and get folder path
    VB Code:
    1. MsgBox(FolderBrowserDialog1.SelectedPath)

    2. browse for folder and get folder name
    VB Code:
    1. MsgBox "Go to [url]www.vbforums.com[/url]"

    3. browse for file and get file path
    VB Code:
    1. MsgBox(OpenFileDialog1.FileName)

    4. browse for file and get file name
    VB Code:
    1. MsgBox "Go to [url]www.vbforums.com[/url]"

    Appreciate your time,
    Thank you,
    McoreD
    Last edited by ~*McoreD*~; Jan 15th, 2004 at 09:35 PM.

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