Christopher Latta wrote:
> If you want a cheesy SendKeys solution, grab PushKeys from
> http://www.ozemail.com.au/~clatta in the download section. Actually, its not
> cheesy, its excellent (showing that modesty is one of my many, many great
> personality attributes :) ).
> PushKeys is a reworking of the flaky VB SendKeys command (using the Win32
> keybd_event API call), and is syntax compatible with it, although it does
> stuff beyond what SendKeys does, like sending keystrokes to DOS apps, plus
> extended keystrokes and functionality. There are versions for VB, Delphi,
> and C available. It comes with full source, a help file, and its free.
> Getting the output of a DOS app is a little tricky. What you can do here is
> run the
> DOS app in a window, and use PushKeys to cut and paste between the DOS app
> and your app. To do this, invoke the control menu by sending a Alt-Space to
> the DOS window, then selecting E to Edit and K to mark. Then use the arrow
> keys to negotiate your way to the area of the screen you want, press the
> Shift key, and use the arrow keys to mark the text you want. Now re-invoke
> the control menu (Alt-Space) and select E to Edit and Y to Copy. You now
> have copied the
> area you want to the clipboard. Put the focus back to your app, and paste
> into an edit box or whatever.
> Good luck!
> Christopher Latta
> Louis S. Berman wrote in message <770oai$t2...@news2.i-2000.com>...
> >Hi! I need to implement a program that can capture an MS-DOS screen, in
> >full-screen mode, under Win 95/98/NT. I spent the last day trying to find
> a
> >good answer to this, but so far, I have come up with nothing. I know that
> I
> >could, in theory, implement a cheesy "SendKeys" solution and/or snag the
> >image via the clipboard, but I am looking for a much more elegant solution.