I\'m using VB.NET and Visual Studio 2008.
My question is: How do I open Notepad from a Windows Forms application, and then place some text string in the Notepad wind
The easiest approach is to write a text-file, then open that, rather than the other way round.
You can use System.File.IO.WriteAllText, and the System.Diagnostics.Process class.
A quick code-sample would be along these lines:
File.WriteAllText (
@"C:\temp\myFile.txt",
"This is my letter header\nIt has a new-line in it")
Process.Start("notepad.exe", @"C:\temp\myFile.txt");