|
-
Nov 9th, 2006, 08:07 PM
#1
Thread Starter
Member
[2005] Quick Question
Hey i've got a quick question if someone can help.
I want to open a notepad.exe document and have text come up.
So far i've been able to open the notepad.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
System.Diagnostics.Process.Start("C:\WINDOWS\Notepad.exe")
SendKeys.Send("Hello")
SendKeys.SendWait("Hello")
End Sub
End Class
Can anyone help me put in a code that will bring up text in the notepad?
eg Notepad opens, then Hello comes up.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|