Windows 7 and 16 bit programs' problems.

Anonymous
2010-06-11T13:28:51+00:00

Windows 7, looses country code page and keyboard definition, when a 16 bit program run. (like foxpro.exe , Qedit  etc. ) is there any solution ?

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2010-06-13T08:46:01+00:00

    Dear  Itknowledge24 http://social.answers.microsoft.com/Profile/en-US/?user=ITknowledge24&referrer=http%3a%2f%2fsocial.answers.microsoft.com%2fForums%2fen-US%2fw7programs%2fthread%2f4ef98b5f-c613-4d90-8133-d10399383f61%2f&rh=WuWWa1VFlL6fgoKG6lk10jbGhp6M33ww4Rj8xTN6vJ0%3d&sp=forums,

    I run Windows 7 32 bit English, but use a Turkish Key board.

    Windows 7 has no problem of swiching between the keyboard layouts.

    NTVDM, do not inherit the keyboard code from windows 7, that had been set.

    It does get its keyboard setting, as old DOS does, thru Config.sys ("nt"  in xp and 7), and Autoexec.bat ("nt")

    When you showed the directories of NTVDM, it was very clear to me that  we have to add only the necessary lines to config and autoexec.

    That was it.

    For anyone who may need,

    here is the config.nt, and autoexec.nt modifications (for turkish keyboard:

    config.nt;

    dos=high, umb

    device=%SystemRoot%\system32\himem.sys

    COUNTRY=090,857, %SystemRoot%\system32\COUNTRY.SYS

    files=99

    autoexec.nt;

    %SystemRoot%\system32\KB16 TR,857, %SystemRoot%\system32\KEYBOARD.SYS

    For Danish;

    DK,850

    For Belgium;

    BE,850

    Thank you for you and others who have been contributed to the solution.

    Best Regards.

    2 people found this answer helpful.
    0 comments No comments

17 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-06-11T13:44:12+00:00

    Windows 7, looses country code page and keyboard definition, when a 16 bit program run. (like foxpro.exe , Qedit  etc. ) is there any solution ?

    Hi Nguntay – Welcome to Microsoft Answers Community.

    AFAIK, Windows® 7 64-bit (x64) cannot run 16-bit programs,

    only Windows® 7 32-bit (x86) can.

    I would like you to provide more details, thanks!

    I hope you find this information useful and if you need any further assistance,

    please feel free to contact me and let me know.

    I hope this information was helpful…

    Have a nice day…

    Best regards,

    Fisnik


    Itknowledge24.com

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2010-06-11T14:19:07+00:00

    Thank you for prompt reply..

    I am using 32 bit windows 7, the professional.

    Don't want to use those  16 bit's in xpmode. Because, other drives are to be the network drives, therefore, got to change the whole programming which is not easy.. 

    any help ?

    0 comments No comments
  3. Anonymous
    2010-06-11T14:26:45+00:00

    Thank you for prompt reply..

    I am using 32 bit windows 7, the professional.

    Don't want to use those  16 bit's in xpmode. Because, other drives are to be the network drives, therefore, got to change the whole programming which is not easy.. 

    any help ?

     

    Got to change the whole programming?

    Have you made the 16-bit software? Please be a bit more clear? Thanks!


    Itknowledge24.com

    0 comments No comments
  4. Anonymous
    2010-06-11T14:39:04+00:00

    I assume you're running Windows 7 32 bit if you're able to run a 16 bit program at all.   In the Windows\System32 folder you should see config.nt and autoexec.nt.  (These will not be present in 64 bit versions.)  These are the equivalent of config.sys and autoexec.bat and items entered there, for example to set the code page, will be applied to 16 bit sessions.  You can set environment variables in System \ Advanced.

    You might also be interesting in some info at http://searchsystemschannel.techtarget.com/generic/0 ,295582,sid99_gci1374262,00.html

    If you have Win 7 Professional or Ultimate you might also consider installing Virtual XP and running the programs in that environment instead.  The same configuration info applies to XP but compatibility may be better for some 16 bit programs.

    "nguntay" wrote in message news:*** Email address is removed for privacy *** .com...

    Windows 7, looses country code page and keyboard definition, when a 16 bit program run. (like foxpro.exe , Qedit  etc. ) is there any solution ?

    1 person found this answer helpful.
    0 comments No comments