Vb.NET Save File


/ Published in: VB.NET
Save to your folder(s)

This code can be used to save a file!


Copy this code and paste it in your HTML
  1. Private sub savefile()
  2. Dim dialog As New SaveFileDialog
  3. dialog.ShowDialog()
  4. Dim write As New IO.StreamWriter(dialog.FileName)
  5. write.Write(TextBox1.Text)
  6. write.Close()
  7. End sub

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.