SHARE
TWEET

Untitled

a guest Jun 25th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dim filename As String
  2.     Dim tempSave As StreamWriter
  3.  
  4.     filename = InputBox("Please enter a filename to save this data")
  5.     Try
  6.         tempSave = File.CreateText(filename)
  7.  
  8.         For i As Integer = 0 To priceList.Items.Count - 1
  9.             tempSave.WriteLine(priceList)
  10.  
  11.         Next
  12.         tempSave.Close()
  13.     Catch ex As Exception
  14.         MessageBox.Show("That file cannot be created.")
  15.  
  16.     End Try
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top