mntlnstituteflr
Newcomer
- Joined
- Feb 6, 2006
- Messages
- 1
Hello,
I am making an application again and I have come to a problem. I can not figure out how to make a Tree View open and save their data as a custom file format. What I have tried is...
That doesn't work and I have tried other codings such as converting it to plain text, which obviously didn't work either...
Can you help me?
Patrick
I am making an application again and I have come to a problem. I can not figure out how to make a Tree View open and save their data as a custom file format. What I have tried is...
Code:
Private Sub SaveAsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveAsToolStripMenuItem.Click
If SaveFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
TreeView1.SaveFile(SaveFileDialog1.FileName)
End If
End Sub
That doesn't work and I have tried other codings such as converting it to plain text, which obviously didn't work either...
Can you help me?
Patrick