Use some sort of flag when saving, something that would never be in either listbox. For example:
vb Code:
  1. 'Save routine
  2. Dim sw As New IO.StreamWriter(filename)
  3. Dim i As Integer = 0
  4. While i < Me.ListBox1.Items.Count
  5.      sw.WriteLine(CStr(Me.ListBox1.Items(i)))
  6.      i+=1
  7. End While
  8. i = 0
  9. sw.WriteLine("[SEPARATORSTRING]")
  10. While i < Me.ListBox2.Items.Count
  11.      sw.WriteLine(CStr(Me.ListBox2.Items(i)))
  12.      i+=1
  13. End While
  14. sw.Close()

And do the opposite to save. Ignore that one line and switch listboxes after it.