CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Location
    India, West Bengal
    Posts
    36

    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


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured