Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 12th, 2004, 3:41 PM   #1
VbNewPerson
Newbie
 
Join Date: Dec 2004
Posts: 2
Rep Power: 0 VbNewPerson is on a distinguished road
Does anyone know how I can populate a combo box from a text file. If I had the following:-

one
two
three
four
five

How could I populate a combo box with this if they were stored for example in numbers.txt? I need to have a command button that when clicked brings up the screen for the user to select the text file and for it to default to A:\ where the txt file will be stored. Any help would be really appreciated.

cheers
VbNewPerson is offline   Reply With Quote
Old Dec 12th, 2004, 4:30 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8 Ooble is on a distinguished road
Take a look at VB's native file-handling functions. Check out http://www.vbexplorer.com/VBExplorer/vb_fe...000/may2000.asp - it looks pretty good.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:04 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC