browse for a text file and copy the path to a text box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mas Juliza Alias
    New Member
    • Aug 2010
    • 67

    #1

    browse for a text file and copy the path to a text box

    hi,
    i am new here. new in VB programming as well. i am currently developing a program for my masters research by using VB6. the problem is, i have a command button "Browse.." and a text box (txtFilePath). how if i want the open file dialog to appear where user can browse the text file from any disk (c: or d: etc.) and copy the file path to the text box? there is also a "Next" button in the same form to open another dialog form to display the content of the imported text file in a list box, perhaps. how can i do that?
Working...