Programming Forums
User Name Password Register
 

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

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 27th, 2004, 8:52 AM   #1
darklord_205
Newbie
 
Join Date: Aug 2004
Posts: 2
Rep Power: 0 darklord_205 is on a distinguished road
O.K, this may be easiest thing in the world to do, but I don't know how to save data (e.g ComboBox Items) from a VB6 application into a text file (without a flex grid). I can load from a file, and do so using this code:
Private Sub Form_Load()
Dim file As String
file = "h:\DL - BRU.txt" 
Open file For Input As #1
row = 1 
Do Until EOF(1)
Input #1, rm(row)
cmbNo.AddItem rm(row), num(row)
Form3.cmbNo.AddItem rm(row), num(row)
row = row + 1
Loop
Is it possible to save using similiar code?
darklord_205 is offline   Reply With Quote
 

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 10:18 PM.

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