Results 1 to 5 of 5

Thread: code to display path in common dialog box

Hybrid View

  1. #1
    Fanatic Member
    Join Date
    Aug 2005
    Posts
    606

    Re: code to display path in common dialog box

    Code:
    Private Sub Form_Load()
    CommonDialog1.ShowOpen
    Text1.Text = CommonDialog1.FileName
    End Sub
    Is a way to browse for file and display it in a textbox
    you'll need to use some buttons (search for text in textbox) to get the other part
    try it may just get it on your own with a little help
    Life is about making some things happen, not waiting around for something to happen.

  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2009
    Posts
    14

    Re: code to display path in common dialog box

    I have a text box on the form and a command button. When I click on the cmd it allows me to click the file I want. However it is still not displaying in the text box. Any other suggestions?

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