Tuesday, November 11, 2008

Wed Nov 12: Ok alright, quit yer bellyachin' here's the rest of the code!

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

No comments: