Phatclocker911 Posted November 2, 2003 Posted November 2, 2003 Hey, i was recently trying to make a program in VB where it opens notepad and on screen keyborde then the mouse moves around so stuff types in notepad.... but i can't get the open program code to work can someone help me out... Share this post Link to post Share on other sites More sharing options...
LobbDogg Posted November 3, 2003 Posted November 3, 2003 Use the Process control, then expand the startinfo property, and go down to the filename, type in "notepad.exe". Then create a button or whatever to launch the program. Go to the code of the button and type in... process1.start() you can put in a variable that is a string inside the brackets to specify the file to automatically open up when the process launches. This is optional of course. You just need the syntax above to launch the program. BTW I have only done this in VB.NET Not sure if it works in VB 6 or older. Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now