I am trying to save a listview item and 5 subitems to a txt file, I have tried one solution that was posted on here but i could not manipulate the code for all of my sub items can someone please help me out.
kberrianjr
0
Newbie Poster
Recommended Answers
Jump to Postplease show us your code and where exactly you stick.
Jump to PostSee if this helps.
Public Class Form1 Private myCoolFile As String = "C:\test.txt" '// your File to Save/Load from. Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing '//------ Save File ------------------------------------------\\ Dim myWriter As New IO.StreamWriter(myCoolFile) For Each myItem As ListViewItem In ListView1.Items …
All 8 Replies
GeekByChoiCe
152
Practically a Master Poster
Featured Poster
codeorder
197
Nearly a Posting Virtuoso
Unhnd_Exception
kberrianjr
0
Newbie Poster
Unhnd_Exception
kberrianjr
0
Newbie Poster
codeorder
197
Nearly a Posting Virtuoso
Unhnd_Exception
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.