DOS program uses the wrong keyboard in Vista

Paul48

New Member
I use an old DOS program (dBase) in Vista 32; it runs, but uses the wrong keyboard, I use a German keyboard, but it gives the keys of the US keyboard (y instead of z, no umlauts etc.). Changes in the language bar (keyboards etc.) did not help.

I inserted in autoexec.nt the line "Keyb16 gr,850,C:\Windows\System32\keyboard.sys" in several versions (without 16 etc.). Did not work. In the DOS windows, the German keyboard is used; but when I start dBase, it uses the US keyboard.

DOSBox does not work, installing Virtual PC 2007 seems to be too much. Any suggestions?
 

My Computer

System One

  • Manufacturer/Model
    LG W1 Pro
    CPU
    Inte T7400
    Memory
    2 GB
    Internet Speed
    10 MB

johngalt

Antidisestablishmentarianist
Vista Guru
Hi, Paul48, and welcome to the forums.

I suspect that this is not going to be resolvable unless you can find some resources for forcing dBase to change the codepage that it uses - as that program is not Unicode compliant, that is why it is using the US layout even though you are using a German system. it is one of the pitfalls of using older programs on Vista.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64 Insider Preview (Skip Ahead) latest build
    Manufacturer/Model
    The Beast Model V (homebrew)
    CPU
    Intel Core i7 965 EE @ 3.6 GHz
    Motherboard
    eVGA X58 Classified 3 (141-GT-E770-A1)
    Memory
    3 * Mushkin 998981 Redline Enhanced triple channel DDR3 4 GB CL7 DDR3 1600 MHz (PC3-12800)
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek HD Audio (onboard)
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2 * 1920 x 1080
    Hard Drives
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD (System)
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD (User Tree)
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM SATA II Mech. HD
    Seagate ST1500DL001-9VT15L Barracuda 7200.12 1.5 TB S
    PSU
    Thermaltake Black Widow TX TR2 850W 80+ Bronze Semi-Mod ATX
    Case
    ThermalTake Level 10 GT (Black)
    Cooling
    Corsair H100 (CPU, dual 140 mm fans on radiator) + Air (2 *
    Mouse
    Logitech MX Master (shared)
    Keyboard
    Logitech G15 (gen 2)
    Internet Speed
    AT&T Lightspeed Gigabit duplex
  • Operating System
    Sabayon Linux (current, weekly updates, 5.1.x kernel)
    Manufacturer/Model
    Lenovo ThinkPad E545
    CPU
    AMD A6-5350M APU
    Motherboard
    Lenovo
    Memory
    8 GB
    Graphics card(s)
    Radeon HD (Embedded)
    Sound Card
    Conextant 20671 SmartAudio HD
    Monitor(s) Displays
    Lenovo 15" Matte
    Screen Resolution
    1680 * 1050
    Hard Drives
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Logitech MX Master (shared) | Synaptics TouchPad
    Keyboard
    Lenovo
    Internet Speed
    AT&T LightSpeed Gigabit Duplex

volker

New Member
Opening a cmd window, moving to the DBase directory and typing:

SET COUNTRY = 049,850,%SystemRoot%\System32\COUNTRY.SYS
%SystemRoot%\System32\KB16 GR,850,%SystemRoot%\System32\KEYBOARD.SYS
DBase

allowed me to use a german keyboard layout in DBase.

Unfortunately putting the first two lines into autoexec.nt did not have the same effect.
So I created a batch file C:\db4.bat with notepad:

echo off
C:
cd db4
SET COUNTRY = 049,850,%SystemRoot%\System32\COUNTRY.SYS
%SystemRoot%\System32\KB16 GR,850,%SystemRoot%\System32\KEYBOARD.SYS
DBase

Then I created a link to this file (which is a pif), changed the icon to "dbase.ico" from my Dbase directory and copied it to my desktop. You can edit the colors and size of the cmd window as well as the character type and size.
You can also copy the link to your start menue.

Works like a charm.
 
Last edited:

My Computer

Top