Jun 23, 2005 #1 bdc138 MIS Sep 7, 2002 16 US I'm trying to send key strokes to a DOS based program using VB6 but the SendKey syntax won't work. Does anyone know a way around this? Thanks.
I'm trying to send key strokes to a DOS based program using VB6 but the SendKey syntax won't work. Does anyone know a way around this? Thanks.
Jun 23, 2005 #2 vladk Programmer May 1, 2001 991 US You might want to employ these API functions. IsWindow FindWindow SetForegroundWindow ShowWindow PostMessage SendMessage FindWindowEx DefWindowProc GetClassName SetWindowPos Upvote 0 Downvote
You might want to employ these API functions. IsWindow FindWindow SetForegroundWindow ShowWindow PostMessage SendMessage FindWindowEx DefWindowProc GetClassName SetWindowPos
Jun 24, 2005 #3 strongm MIS May 24, 2001 20,174 GB You are trying to interact with an already-running DOS-based program? or with one that you launch? Upvote 0 Downvote
Jun 24, 2005 #5 strongm MIS May 24, 2001 20,174 GB Ok. In which case do a keyword search in this forum for ... oh, try "console appplication". Should provide a number of ideas and methods Upvote 0 Downvote
Ok. In which case do a keyword search in this forum for ... oh, try "console appplication". Should provide a number of ideas and methods