How to send keystokes to a DOS Window app thru VB
I want to repeat some sequence of keystokes in a dos window app from VB, so that the whole process can be automated and repeated several times.
Do I set a DDE connection. Is a DDE connection with a DOS app possible at all? Otherwise how do I send keystokes to the DOS Window from VB and make the DOS window as the active window the moment I press a button in VB ?
Thanx
Re: How to send keystokes to a DOS Window app thru VB
you cannot directly use sendkeys for a DOS app AFAIK, but MSDN article Q142819 has details for using Sendkeys in conjunction with the clipboard.
check it out.