Just add this stuff underneath the rest of the code in your SAVE AS menu item
'dim another streamwriter variable
Dim newWordWriter As System.IO.StreamWriter
'make a new streamwriter and pass it the variable
'thats equal to whatever the OpenFileDialog found
newWordWriter = New System.IO.StreamWriter(theFileName)
'set text of the textbox to all the stuff found by the reader
newWordWriter.Write(MyWords.Text)
'shut down the writer
newWordWriter.Close( )
Cheers,
Mr. L
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment