Monday, July 27, 2009

How can i write a program to control another program? for example, to type into notepad. c#?

Use threading. Create another thread and make the file name be that if a "File" you loaded from the windows directory, which is where you would find a program like notepad (usually C:\Windows\system32). Execute said thread.





Just be sure that your program has appropriate permissions.

augustifolia

No comments:

Post a Comment