VOGONS

Common searches


First post, by nostradamus

User metadata
Rank Newbie
Rank
Newbie

I tried do control a DOS program with SendKeys (VB.NET). The program's reaction is always "Back to DOS?" which usually occurs, when the ESC-Button is pressed.

I tried

usescancodes=false

in the config-file without success.

Does somebody know a solution?

Have a nice apocalypse!

Reply 1 of 2, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You have to be more verbose. What program and what does sendkey do?

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 2, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Funnily enough, we had exactly this same thread last month.
How to read out the screen

Presumably SendKeys programmatically sends keystrokes to a particular Windows application.

Controlling application in DOSBox from outside suggests SDL functions should be used instead.