I have an array that I use to write to the file on the C:\
drive.
I want to print the file. How can I do it.
Here is my code for the write to the file:
I'm using "writeline" . To allow for possibly deleted
items, i first check for emptry strings, and then I do
datMemory.write line(eachItem). Here is my code for saving:
Dim datMemory As New StreamWriter("M emoryHelper.txt ")
Dim intIndex As Integer
Dim intMaximum As Integer
intMaximum = lstDisplay.Item s.Count
Do Until intIndex = intMaximum
If Not MemRecords(intI ndex).strText = "" Then
datMemory.Write Line(MemRecords (intIndex).strS ubject)
datMemory.Write Line(MemRecords (intIndex).datD ate)
datMemory.Write Line(MemRecords (intIndex).strT ext)
Else
intMaximum += 1
End If
intIndex += 1
Loop
datMemory.Close ()
mblnIsDirty = False