Microsoft KB Archive/90824

= Minor Compatibility Issues Between VB for MS-DOS/VB for Win =

Article ID: 90824

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Visual Basic 1.0 Standard Edition
 * Microsoft Visual Basic for MS-DOS

-



This article was previously published under Q90824



SUMMARY
Below is a list of compatibility/functionality differences between Microsoft Visual Basic for Windows, version 1.0, and Microsoft Visual Basic for MS-DOS, version 1.0.

Microsoft is aware of these problems/limitations and will post new information here as it becomes available.



MORE INFORMATION

 * When running VBDOS.EXE in a windowed MS-DOS session under Microsoft Windows, the MS-DOS session Control menu is distinct from the menus in VBDOS.EXE running inside the window. If you press ALT+SPACEBAR, the Windows Control menu is activated, but you will not be able to use the ARROW keys to move from there to the VBDOS.EXE menus. If you activate a VBDOS.EXE menu, you cannot activate the windowed MS-DOS session Control menu.

This functionality is the same for any MS-DOS based application running in a window under Microsoft Windows.
 * Multiline text boxes with horizontal scroll bars in Visual Basic for MS-DOS, version 1.0, do not automatically word wrap. You can enter data until the text box reaches its maximum capacity of 32K of data.

In version 1.0 of Visual Basic for Windows, it will automatically word wrap after 1023 characters.
 * In Visual Basic for MS-DOS, version 1.0, you cannot use the LIST property to add items to a list box.

In version 1.0 of Visual Basic for Windows, you can use the LIST property to add items to a List Box, although this feature is not specifically documented. It was originally provided and then replaced by the AddItem method, but was not removed. For future compatibility, always use AddItem method.
 * In all Microsoft Basic programs, you can enter characters by holding down the ALT key and using the numeric keypad to enter the desired ASCII code. In Visual Basic for MS-DOS, version 1.0, this technique will only work if NUMLOCK is turned on. In Visual Basic for Windows, version 1.0, Microsoft QuickBasic version 4.5, and Microsoft Basic PDS versions 7.0 and 7.1, this technique works with or without NUMLOCK turned on.

Additional query words: VBmsdos 1.0

Keywords: KB90824

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.