QUOTE(Shy Stan @ 20 Aug, 2008 - 01:54 PM)

I need to read a wordpad file and parse data for mailing labels. Can someome help me with this?
I'd like to be able to do this, too. Although this is a pet project as I'm not in school and probably won't ever go back to college. My project is for my dad. He listens to the ham radio and would like a program that he can keep track of the call signs and info regarding his listening to the radio. I have yet to setup a full program as I need to know how to save info to a text file and recall it. I guess this would be considered a database program, just simplified.
I have the huge book "Mastering Visual Basic 6.0" but have yet to find how to write to a file, etc.
Any help would be appreciated.
Thank you,
Brittany Dunlap
EDIT__ This is all I've got so far as I need to know how to write to a file and then search a file and show contents of file in appropriate labels.
CODE
Private Sub cmdAdd_Click()
lblAdd.Caption = "Entry added."
End Sub
Private Sub cmdReset_Click()
txtCallSign.text = ""
txtName.text = ""
txtCountry.text = ""
txtFreqStart.text = ""
txtFreqEnd.text = ""
txtFreq.text = ""
End Sub
Private Sub cmdSearch_Click()
Dim varCallSign As String
Dim varName As String
Dim varCountry As String
Dim varFreqStart As String
Dim varFreqEnd As String
Dim varFreq As String
Dim varQRZ As Boolean
Dim varUTC As String
varCallSign = txtCallSign.text
varName = txtName.text
varCountry = txtCountry.text
varFreqStart = txtFreqStart.text
varFreqEnd = txtFreqEnd.text
varFreq = txtFreq.text
varUTC = txtUTC.text
End Sub
Private Sub Form_Load()
txtCallSign.text = ""
txtName.text = ""
txtCountry.text = ""
txtFreq.text = ""
txtFreqStart.text = ""
txtFreqEnd.text = ""
txtUTC.text = ""
End Sub
This post has been edited by bdunlap: 7 Sep, 2008 - 10:13 PM