|
-
August 25th, 2001, 06:08 PM
#1
Sending text to another window...
Can anyone post the code on how to send text from a text box on my program to Notepad when you press the command button.
So the text box would have something like, "Test", written in it, and when you push the command button it will find the notepad window and write "Test" to it. Thx for any help you give me.
-
August 26th, 2001, 03:17 AM
#2
Re: Sending text to another window...
Private Sub Command1_Click()
ShellX = Shell("notepad", vbNormalFocus)
SendKeys Text1.Text
End Sub
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
|