How does one send keystrokes from a VB app to
a MS-DOS app(edit.com)?
Printable View
How does one send keystrokes from a VB app to
a MS-DOS app(edit.com)?
Use the method AppActivate and SendKeys!
Instead, I would use a batch file.
I would prefer to edit the file using Vb's own resources, not running Edit.com and try to change the file there
Thanks for the input Nitro.
I am using Shell("edit.com C:\myfile") to open
the file. But SendKeys has no effect on it. (I read
somewhere that it does not work on NT, ie, using
sendkeys on MS-DOS apps). what do you mean by "instead I
would use a batch file"?