J
John
Hi not sure were to post this but would appreciate if someone knows
simple answer...... which usually never exists
hi have added all my items subitmes and colors etc to my listview1 in
vb 2005
is there a simple way to save the whole object to file
instead of iterating though each property
such as
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As
System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
FileSystem.FileOpen(1, "j:\test\lvobj.txt", OpenMode.Output,
OpenAccess.Write, OpenShare.Shared)
Write(1, obj.ToString)
FileClose(1)
End Sub
then read it in at program start
dim the file as a listview1
and it would have all my items and subitems and colors, you know
something simple
PS isn't there something magical like saveobj(.....................)
I know i'm dreaming
thanks in advance
simple answer...... which usually never exists
hi have added all my items subitmes and colors etc to my listview1 in
vb 2005
is there a simple way to save the whole object to file
instead of iterating though each property
such as
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As
System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
FileSystem.FileOpen(1, "j:\test\lvobj.txt", OpenMode.Output,
OpenAccess.Write, OpenShare.Shared)
Write(1, obj.ToString)
FileClose(1)
End Sub
then read it in at program start
dim the file as a listview1
and it would have all my items and subitems and colors, you know
something simple
PS isn't there something magical like saveobj(.....................)
I know i'm dreaming
thanks in advance