Thanks! I'm trying this out now...
I did put the StreamWriter code back into my program to try it out (was in
one of the examples in the first link you sent me) and it didn't work.
Instead of appending the data, it overwrote the data. The text file and form
also did not close. Here's a snippet of the code:
If myFileDlog.ShowDialog() = DialogResult.OK Then
Dim sFileName As String = myFileDlog.FileName
Dim sw As IO.StreamWriter = New IO.StreamWriter(sFileName)
Dim sInfo As String = txtLName.Text & ", " & txtFName.Text
Dim sFileExtension As String = (System.IO.Path.GetExtension(sFileName))
Select Case sFileExtension.ToUpper
Case ".TXT"
Shell("notepad.exe " & sFileName, AppWinStyle.MaximizedFocus)
sw.Write(sInfo) ' I also tried
sw.WriteLine(sInfo) and got same results....
sw.Close()
........
"Cor Ligthert" <(E-Mail Removed)> wrote in message
news:Oz4%(E-Mail Removed)...
> Kelly,
>
> Have a look at the streamreader/writer class and tell us what that shell
> notepad does in this code.
>
>
http://msdn.microsoft.com/library/de...ClassTopic.asp
>
>
http://msdn.microsoft.com/library/de...classtopic.asp
>
> I hope this helps anyway?
>
> Cor
>
>