Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Choose File Dialog

 
   Database Help (Home) -> Visual Basic RSS
Next:  How we get record from two database and insert in..  
Author Message
Utf-8BSm9lVGhpcw

External


Since: Jun 02, 2004
Posts: 1



(Msg. 1) Posted: Wed Jun 02, 2004 11:36 am
Post subject: Choose File Dialog
Archived from groups: microsoft>public>vb>database (more info?)

I am using Visual Basic 6. Is there any way to open a dialog that lets you select a file on a drive? I want the user to be able to select a file and place the directory chosen in a textbox. For instance. if there is a file on c:\images\picture.jpg I want the user to open up a dialog, choose that file in that directory and place that directory text in a textbox.

 >> Stay informed about: Choose File Dialog 
Back to top
Login to vote
Utf-8BS2plbGw

External


Since: Jan 30, 2004
Posts: 29



(Msg. 2) Posted: Wed Jun 02, 2004 3:31 pm
Post subject: RE: Choose File Dialog [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jepp, there is... It's called Common Dialog

Add the componet to your project, Menu Project --> components and select Microsoft Common Dialog
Put the object in an empty form.

you can use it as OPEN or as Save AS dialog, you can set filter so only some files can be selected aso......

If you only want to select a Folder, common dialog is not the most efficent one.
for that there is an API called SHBrowseForFolder, you can probably find details on Google

Kjell

 >> Stay informed about: Choose File Dialog 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
reading a text file? - Help! :( Is there a way to automate the importation of a text file in to VB, with out having to use the import text wizard every time? Below is a sample the the file and the inofrmation I need. ( the file is actually much larger then this) but this wil...

how do u open a word file in VB?? - hi, i want to open a word file in my c drive. how do i do that in VB? i want to open it when i click a button. thanx devin

Cannot Delete Pocket Access File - I'm creating a Pocket Access file (via an EVB application) on a mobile device running PPC 2002. When the user logs off the EVB application, I want to delete the Access file (stored in the /Temp folder). However, I am unable to do this because the..

sql query returns in wrong format - Hi, Hope someone can help me with this. I have MS SQL 2000 database where i have Table "PriceList" and there a column "Pricemk" wich is data type "money". All data in this column is in form "10001,35". So why when...

arrays - is there a way to concatenate the contents of an array (looping through the array) and storing each item in a comma delimited string? Thanks!
   Database Help (Home) -> Visual Basic All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]