title: How can i save multiple labels and textboxes (9 labels and 9 texboxes) as .txt using SaveFileDialog?
body: <p>How can i save multiple labels and textboxes (9 labels and 9 texboxes) as .txt using SaveFileDialog? I tried a lot of ways but nothing works as i want .. i need to save them to .txt file every time the user's input and he choose where he want to save it .. I'm using Visual Basic 2008</p>
  
  <p>this is my last try:</p>
  
  <p>Try
          Dim dlg As SaveFileDialog = New SaveFileDialog
          dlg.Title = "Save"
          dlg.Filter = "Text Files(<em>.txt)|</em>.txt|All Files(<em>.</em>)|<em>.</em>|Rich Text Files (<em>.rtf)|</em>.rtf"
          If dlg.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
          My.Computer.FileSystem.WriteAllText("c:\value1.txt", Label1.Text &amp; TextBox13.Text &amp; Label2.Text &amp; TextBox12.Text &amp; Label3.Text &amp; TextBox14.Text &amp; Label4.Text &amp; TextBox3.Text &amp; Label5.Text &amp; TextBox6.Text &amp; Label6.Text &amp; TextBox7.Text &amp; Label7.Text &amp; TextBox8.Text &amp; Label8.Text &amp; TextBox9.Text &amp; Label9.Text &amp; TextBox10.Text, False)
           End If
          Catch ex As Exception : End Try</p>