VISUAL BASIC FOR MS-DOS
KNOWLEDGE BASE ARTICLES
Home
There are 276 objects in this server.
BUG: Hercules In-Color Graphics Card Displays in Black & White (93659)
Obtaining Current Drive Information with Microsoft Basic (62213)
Blank Screen In Monochrome Mode (94663)
/br>
In Low Memory Conditions, Screen Not Refreshed for Some Menus (92629)
/br>
Clipboard Not Cleared After Restart in Interpreter Environment (94782)
How to Derive Inverse (ARC) and Hyperbolic Trig Functions (28249)
/br>
Cannot Search on Blank String Field in VB for MS-DOS ISAM (58020)
/br>
List Box Selected Item Does Not Stay Selected when Scrolling (90144)
PRB: Printer Error May Make Program Appear to Be Hung (37031)
RND and RANDOMIZE Alternatives for Generating Random Numbers (28150)
/br>
OS/2 Version 2.0 System Error SYS3175 from LINK.EXE (95438)
/br>
How to Set Hourglass MousePointer in VB Program During Delays (71105)
How to Just Trap CTRL, ALT, or SHIFT Keys in Basic (59131)
/br>
Timer Event Suspended While Menu Is Dropped Down (90901)
How to Trap CTRL+BREAK, CTRL+C on Standard & Enhanced Keyboard (33034)
Sample Basic Code to Display ROM-BIOS Date for an IBM PC (33706)
/br>
Formula Too Complex Error with ADDITEM Method. (93007)
/br>
Scrolling Problem With Text Box When Maximized After Scrolling (93017)
File Not Found When Directory Name Contains Period (94786)
Minimizing .EXE Size by Avoiding Floating Point Math (90895)
/br>
C7 Module, Overlay, and Run-time Module Makes Computer Hang (94694)
/br>
How to Drop Down a Menu on the Startup Form of an Application (96099)
Adding Menu Bar with Control of Maximum Height Clears Control (90823)
/br>
BIOS Interrupt to Read Sector, Get Disk Status, Find Errors (37345)
ISAMCVT Doesn't Properly Convert db/LIB Date Fields (69158)
Example of How to Call Basic SetUEvent from C; ON UEVENT GOSUB (69159)
/br>
Checking Game Port with CALL INTERRUPT If STICK & STRIG Fail (68121)
Controlling Graphics Text Background Color and Size (90424)
/br>
Opening More than 15 Files in MS-DOS Version 3.3 and Later (31509)
PRB: Access Key Causes Different Event Order than Mouse Click (74905)
FRE(-3) Gives "Feature Unavailable" in Compiled .EXE (89231)
/br>
No Resize Event When Maximize MDI Child (94835)
/br>
Use LINK /R to Avoid Low EMS/XMS Memory Errors (90038)
Arrow Keys Don't Activate Control Box in Form Containing Menus (94777)
/br>
Program Hangs If Letter Changes to Disconnected Network Drive (93014)
/br>
How to Nest User-Defined TYPE Declarations in Compiled Basic (31911)
VBDOS.EXE Environment Screen Blanks Out When Many Files Loaded (93008)
Click on Scroll Box May Cause Value to Change (90394)
/br>
BUG: Changing Caption of Menu Item Corrupts Shortcut Key Text (92940)
Cannot Nest I/O Statements or Functions in I/O Statements (37414)
/br>
Example of a "Password" Style Text Box in VB for MS-DOS (90043)
/br>
INFO: Error Codes & Descriptions for Visual Basic for MS-DOS 1.0 (99720)
Disk not ready Error Saving File After Change to Invalid Drive (94779)
Making Multicolored Single Data Bar Charts with CHRTB.BAS (77739)
/br>
Computer Hangs When Click Form Without Focus Then CTRL+BREAK (94262)
/br>
Overflow Error When Use ISAMREPR.EXE to Repair ISAM Database (94938)
Error on REDIM of an Array Will Erase the Array (90960)
How to Get Blinking Text in Basic SCREEN Modes 7, 8, 9, 12, 13 (50945)
/br>
Example of Trapping CTRL+ALT+DEL Keys in Basic (32788)
/br>
"Unresolved external" With DECLARE and CDECL in a VB Form (93676)
Visual Basic for MS-DOS Distribution Disk Contents (94729)
/br>
Overlay Environment Variables Ignored When Using VBDTRACE (92630)
BUG: Basic Serial Communications Programs May Hang w/ No Error (94007)
Basic Program to Read Characters from the Screen into a String (43527)
/br>
BUILDRTM: Cannot Use Stub File NOTRNEM.LIB (90969)
/br>
VB for MS-DOS Program to Change Mouse Shape in Grahpics Mode (42587)
Maximum Communications Baud Rate for VB for MS-DOS is 9600 (31431)
BC.EXE Command-Line Options for VB for MS-DOS and Basic PDS (84469)
/br>
BUG: Custom Control Properties Can Lose Values At Design Time (95742)
/br>
How to Define Your Own Font in Graphics Mode for EGA or VGA (37343)
PRB: Permission Denied When Using BLOAD to Load Open File (112045)
/br>
VB for MS-DOS KeyUp, KeyDown Events Always Occur in Pairs (89281)
/br>
"Error During Run-Time Initialization": Mixing /FPa and /FPi (31505)
"File Not Found" Message when Write Lock Is on Form (90963)
BUG: Chain w/ Modal Form or MsgBox in Menu May Hang Computer (94664)
/br>
Using CALL INTERRUPT to Determine Current Video Mode (40548)
/br>
ISAMCVT Btrieve Specfiles Cannot Have Spaces; Must Use Commas (69343)
Assignment in Immediate Window Causes Syntax Check In Editor (94692)
/br>
HelpSetOptions Sets Visible Property to False on Wrong Button (95942)
Quick Libraries in Basic Do Not Use Expanded Memory (58658)
Minor Compatibility Issues Between VB for MS-DOS/VB for Win (90824)
/br>
Output Misdirected Using PRINT # and Function with OPEN (92724)
BUG: Illegal function call / Division By Zero Errors (94778)
/br>
Linking with CMNDLG.LIB or SPIN.LIB Can Cause Library Error (94868)
/br>
CHAIN While in Graphics Mode to Forms Program Trashes Screen (90902)
How to Right Justify a String in Basic (84065)
KeyUp Event On Menu Item Is Being Sent To Control (92382)
/br>
BC "Out of Memory" on Calculation with User Type Passed to SUB (78893)
/br>
How to Obtain Upper and Lower Bytes of an Integer (27097)
Must Load Custom Controls with VBDOS.EXE Before Using FD.EXE (89280)
/br>
How to Truncate a File Using MS-DOS Interrupts from Basic (68159)
ALT Key Required to Access VB for MS-DOS MsgBox Buttons (89043)
PRB: Compare User-Defined Type Variables w/ PEEK or _fmemcmp (101258)
/br>
QBX May Not Recognize Some Combined Keys on Non-U.S. Keyboards (74346)
PRB: Repeated Load/Unload of Control Can Cause Out of Memory (90145)
/br>
COMPAT.TXT for Visual Basic for MS-DOS 1.0 (94824)
/br>
BUG: Stand-Alone Program Using Overlays & ISAM Hangs on Open (92953)
PRB: Parent Menu Click Event May Hang Under Certain Conditions (89283)
/br>
Code Remains in VBDOS.EXE After Change in FD.EXE (94261)
/br>
On Gosub or On Goto Causes Error: Variable not declared (95481)
Example of Buffered Keyboard Input Using Basic (42949)
/br>
How to Use CALL INTERRUPT to Detect If SHARE.EXE Is Loaded (67379)
/br>
How to Use CALL INTERRUPT with QB, Basic PDS & VB (Complete) (43534)
If Invoked by Access Key, Click Event Handled Before LostFocus (99875)
Example to Evaluate Basic Numeric Expressions (86688)
/br>
PRB: All Drop-Down & List-type Boxes Have Vertical Scroll Bars (90395)
/br>
/ES Option Is Not Valid in the Standard Edition (95433)
How to Emulate VB for Windows SendKeys Stmt in VB for MS-DOS (94792)
/br>
DOC: FORMAT$ Dates mm/dd/yy Gives MM-DD-YY in VB for MS- DOS (102045)
Software/TSR Incompatibilities with Visual Basic for MS-DOS (90967)
How to Return Next Upper Integer for any Real Number in Basic (80405)
/br>
INKEY$ Returns Two-Byte String for Arrow and Function Keys (30844)
FIX: Type Mismatch Error If Use VAL Function on Big Hex Value (95431)
/br>
IF Statement With NOT Operator Can Fail When Compiled In VB (93673)
/br>
LONG: Memory Management in QuickBasic & Basic Compiler (45850)
Viewing Basic Variable-Length String Variables in CodeView (95363)
Error: Executable code not allowed in module level of a form (94695)
/br>
Form Size Cannot Be Larger than Current Screen Size (90045)
BUG: Memory Loss w/ Repeated Display of MsgBox or Modal Form (95461)
/br>
Basic Products Can Create and Use Non-Standard File Names (94783)
How To Get and Set Diskette Media ID in VB for MS-DOS (115238)
Computer Hangs When Load Then Unload Form in Form_Load Event (94937)
/br>
Click Still Occurs when Using SetFocus to Prevent Focus Change (90905)
/br>
BUG: Forms Lose Order and Modality after SCREEN.SHOW (98197)
Converting Btrieve Files to Basic ISAM with ISAMCVT (Complete) (69849)
/br>
How to Increase Free Near Heap to Work Around 'Out of memory' (101880)
/br>
Changing Visible or Enabled Property Can Cause Extra Change (94788)
Running Compiled VB Program On CGA Results In Snow on Screen (93710)
Disabled Controls Do Not Generate Click Events on Parent (88663)
/br>
ISAMCVT.EXE Fails to Convert db/LIB File, Try Packing First (59765)
Using CALL INTERRUPT to Push Characters into Keyboard Buffer (50944)
/br>
Array Errors When Call Function in Other Module w/ No Declare (94833)
INKEY$ Does Not Trap Extended Keys; Must Use Softkeys (43531)
How to Program a Delay Using the Timer Function (96069)
/br>
DOEVENTS Function Does Not Yield CPU to Other Processes (93675)
Scrolling List Box Causes Click Event and Change in Selection (94834)
/br>
DOS Environment Table Description; Basic's ENVIRON Statement (69846)
/br>
Using UP ARROW and DOWN ARROW Keys to Move the Focus (100413)
Explanation of Tiling in Basic; PAINTing with Patterns (58105)
FIX: Printing with HPPCL5A.DRV to HP LaserJet III Cuts Line (78079)
/br>
Watch Variable on Screen.Height Can Give Wrong Value (92381)
/br>
New COMMAND$ Will Not Pass with RUN from within VB Program (37348)
PRB: /SEG Option Setting Ignored in VBDOS.EXE (90044)
/br>
Pmt# Causes Illegal Function Call Error If No Math Coprocessor (94260)
/br>
All Event Handling Is Disabled in an ON ERROR GOTO Handler (32272)
Minimizing an Invisible VB MDI Form Saves a Section for Itself (93013)
/br>
Visual Basic for MS-DOS: Memory Management Questions & Answers (88991)
Screen.ActiveForm.Picture1.TEXTHEIGHT("text") May Hang Machine (90908)
Wrong Makefile Loaded by FD.EXE (92459)
/br>
PRB: ForeColor Changes Control's Border Color Only If 3D Off (90825)
Basic ISAM Creates Two Temporary Files During Operation (71236)
/br>
CINT/CLNG Integer Assignment Round x.5 to Nearest Even Integer (28855)
/br>
BUG: BUILDRTM Error L2029 on B$SRUN with RUN Statement (101439)
VB3 How to Disable the ENTER Key BEEP in a VB Text Box (78305)
/br>
Corrections for Errors in the Visual Basic for MS-DOS Manuals (94730)
/br>
BUG: Syntax Err w/ UBOUND Causes Hang w/ R6000 Stack Overflow (72716)
Difference Between Standard & Pro Editions of VB for MS-DOS (104145)
Cannot Have Negative Values for Left & Top Properties (92458)
/br>
Some Monochrome Monitors May Have Problems Displaying Menus (93666)
Unable to Move or Size Form After Executing Width Statement (94787)
/br>
PRB: Problem Redirecting Output to Printer When Offline (108904)
Making Enter Key in Directory List Box Act Like Double-Click (93215)
Using INPUT With Variable That Has Property Name Changes Code (93672)
/br>
Different Ways Arrays Can Be Stored in Basic (58926)
PRB: Trouble Tracking Location of Error When Using Overlays (93159)
/br>
Calling a BIOS Interrupt to Determine the Scan Code of a Key (38878)
Cannot Profile Program Compiled in Programming Environment (95432)
Explanation of the Control Box Menu (94936)
/br>
Limiting User Input in a VB for MS-DOS Text Box (89232)
/br>
Use Logical AND to Determine Which Bits Are Set in an Integer (32730)
PACKING.TXT for VB for MS-DOS Version 1.0 Professional Edition (94823)
/br>
Displaying Multiple Text Colors at Once on SCREEN 1 in Basic (59007)
/br>
Accessing Network-Locked File After Power Failure (31926)
ISAMCVT Problems Converting BTRIEVE Files (94780)
/br>
Explanation of Critical Error Codes Returned by ERDEV (57368)
"Internal Error" May Be Avoided by Adding Line Number (90042)
PRB: Illegal function call or Bad file w/ CHAIN and Overlays (94790)
/br>
Getting Started with CodeView in Visual Basic for MS-DOS (95180)
INTERRUPT for Clock Tick Counter Returns Negative Value (59725)
/br>
Converting Between Decimal, Octal, and Binary Numbers (31789)
Selecting a Menu Suspends All User Events (94791)
WIDTH Statement in Form_Load Not Set Until After Form_Load (90903)
/br>
Cannot Link PROISAM.LIB or PROISAMD.LIB into Quick Library (58922)
Environment Does Not See Repeat Characters in Superkey Macros (92379)
/br>
READ With a Control Property Hangs the VBDOS.EXE Environment (93671)
Height/Width Properties of Attached Scroll Bars May Be Wrong (94789)
PRB: Probs w/ VB for MS-DOS on Apple Macintosh w/ MS-DOS Card (93012)
/br>
Combo1.MOVE Will Hang Machine when Combo Box Is Dropped (90906)
/br>
Mouse Cursor Disappears When Using the CodeView Debugger (94289)
VB & Basic PDS: ISAMREPR Always Adds 32K to a .MDB File (60132)
/br>
PRB: Invalid Screen Mode Error Occurs with PrintForm Method (93015)
Value Property May Change When You Click the Scroll Bar Thumb (94832)
Diagnosing "String space corrupt" & "Far heap corrupt" Errors (99079)
/br>
LONG: Answers to Common Questions About QuickBasic 4.50 (58530)
Example of PPMT and PMT Financial Functions in Basic (52070)
/br>
Toshiba Olivetti Clone Video Adapter Not Recognized by Basic (90068)
/br>
BC.EXE Will Not Compile Files Named USER.* (40547)
Basic Memory Model: Determining Segment Sizes with LINK /MAP (37030)
Setting the Border Color in EGA and VGA with CALL INTERRUPT (61657)
/br>
Creating a Quick Library (.QLB) from a LINK Library (.LIB) (27993)
/br>
HOWTO: Convert VB for MS-DOS Programs to VB for Windows (120075)
Cannot Deselect Controls from a Group in Form Designer (89282)
/br>
BUG: VB for MS-DOS Changes Basic PDS 7.0 STRINGs to LONGs (101664)
Minimum Width of Text Box is 4 Characters Even Without Border (94793)
Use of VARPTR$() On Objects or Their Properties Unpredictable (92460)
/br>
Internal Format of CURRENCY Data Type in Basic products (51414)
"Subscript Out of Range" for Array > 128K; Gaps in Far Heap (26494)
/br>
Using Run on Program That Has Overlays Causes Incorrect Error (93670)
Create Link Overlays Using Parentheses or a .DEF File (95181)
How to Assign High & Low Registers for CALL INTERRUPT, INT86 (27287)
/br>
PRB: Image Corrupted When Using BLOAD to Load Into Video Memory (101516)
/br>
BUG: ISAM Statement in Quick Lib Causes Error: No Active Form (96942)
Passing Variables from Microsoft FORTRAN to Basic (27477)
Variable Length String Passed from Basic to C (57362)
/br>
Cannot Directly Pass Array from FORTRAN to Basic (27479)
/br>
How to Trap CTRL+UP and CTRL+DOWN Arrow Key Sequences (124759)
Multi-User Access Not Supported in VB for MS-DOS ISAM (89230)
/br>
How to BSAVE and BLOAD Arrays Larger Than 64K (35149)
/br>
PACKING.TXT for VB for MS-DOS Version 1.0 Standard Edition (94897)
Custom Control Interval, CurrentX, CurrentY Changes TabIndex (90964)
How to Calculate Absolute Address; DEF SEG and PEEK Example (41531)
/br>
PRB: No ON Event GOSUB Processing with Modal Form Showing (100067)
SETUP.EXE on Bernoulli Hard Disk Is Not Supported (90961)
/br>
Basic Example Using SETMEM to Allocate Far Heap Memory; EXEMOD (31308)
/br>
Use && to Display Ampersand Character in MsgBox Text (96068)
SETUP.EXE Underestimates Required Hard Disk Space (90968)
PRB: Use of Forms Will Disable Blinking Text (90827)
/br>
MKDIR Incorrectly Allows Blanks in Pathname in VB for MS-DOS (74864)
/br>
BUG: ALTSETUP.BAT Installs VBDOS.BAK On Pro Edition 1.44 (94784)
CTRL+Z Embedded in Source Truncates BC.EXE Compilation (36576)
Conversion Problem when Keywords Used as Parameters (92373)
/br>
Getting the DTA Address Using INT86 (11785)
/br>
BUG: Corruption of TabIndex Property of Custom Controls (118419)
BUG: Contents of Directory List Box Are Not Sorted (90822)
/br>
Wrong Number of Dimensions in Common or Dim Statement (95863)
How to Print Basic Video Screens to Epson Printers (57354)
Use of ON TIMER In Overlays Can Cause EXE to Exit or Hang (92770)
/br>
(Complete) Tutorial to Understand IEEE Floating-Point Errors (42980)
/br>
Some International Keyboard Keys Do Not Work as Hot Keys (90966)
REDIM PRESERVE Only Allows Changing Rightmost Subscript (75517)
PRB: Chaining from Formless App to Another App Causes Error (99517)
/br>
LONG: Calling C Routines from Basic -- Part 1 of 2 (104511)
/br>
How to Place a Control inside a Container Control (104166)
How to Distinguish Between a Standard and Enhanced Keyboard (59006)
"Overflow" Error in Intermediate Integer Calculation (31785)
/br>
Examples of Loading MS-DOS Directory Listing into an Array (41447)
Using LINKER Switches From Within VBDOS.EXE Environment (93027)
/br>
Static Common Array Greater than 65510 Bytes May Hang Computer (94781)
Can't Use ARROW on Drop-Down Menu if Separator Bar Is First (90962)
How to Disable Toggle for NUM/CAPS/SCROLL LOCK with Key Trap (59132)
/br>
Text Printed Incorrectly On ATI Ultra VGA Card in SCREEN 10 (93009)
/br>
BUG: KeyDown & KeyUp Events Receive Same Key Codes (93669)
Maximum Number of ISAM Files Open at One Time in VB for MS-DOS (61485)
/br>
Example of Using NPV and IRR Financial Functions in Basic (52068)
/br>
LONG: Calling C Routines from Basic -- Part 2 of 2 (104512)
HOWTO: Work Around Floating-Point Accuracy/Comparison Problems (69333)
PRB: Parameter Type Mismatch When Don't Pass Property By Val (90900)
/br>
Text Box Does Not Highlight Text When Word Double-Clicked (94160)
Clipboard is Not Cleared on Run Restart with VB for MS-DOS (93010)
/br>
VB & Basic PDS ISAM Cannot Store Single-Precision Numbers (59289)
ALTSETUP.BAT Does Not Create NEW-VARS.BAT (94693)
Run in Procedure That Dimensions Array Hangs VB Environment (93674)
/br>
"Syntax Error in Module Definition File"; 'segmentname' (92457)
/br>
Access Key in Label Before Control with No TabStop Problem (90904)
How to Pass a Variable Length String from Basic to MASM (57363)
/br>
How to Break Long Statements into Multiple Lines (94696)
/br>
Cannot Distinguish CTRL+DEL and CTRL+BACKSPACE In Key Events (94836)
"Object.Method: " May Be Read as a Line Label (90826)
Controlling Overlay Memory Usage in Visual Basic for MS-DOS (102633)
/br>
Problem with FD.EXE, Project File, and Directory Name with "." (90907)
Form/Picture Box Background Cleared when AutoRedraw=False (92380)
/br>
BUG: VB Painting Problem if MsgBox Overlaps Drop-down List (93229)
/br>
Form Cannot Be Larger Than the Screen (94665)
COMPAT.TXT File for Visual Basic for MS-DOS Version 1.0 (91133)
BUG: Internal Error for SWAP of TYPE Elements in SUB Using VAL (80412)
/br>
How to Estimate Size of Basic ISAM Database Components (69112)
/br>
ReadOnly Properties are Linked When Custom Control Is Enabled (90965)
PRB: Out of Stack Space When One Modal Form Shows Another (103461)
/br>
How to Use CALL INTERRUPT to Diagnose COM "Device I/O" Error (67315)
/br>
PRB: How to Break Program into Modules When Can't Create .EXE (112769)
Explanation of Compiler "Bytes Available" and "Bytes Free" (27347)
/br>
Null Pointer May Cause VB for MS-DOS Run-Time Error R6001 (93016)
L1023 Error After Pressing Ctrl+Break While Linking a Program. (93011)
BUG: Out of Memory Error Continues to Appear After Choose OK (90041)
/br>
Undocumented Error: Too many local strings in Sub/Function (94831)
/br>
ERDEV$ Returns Incorrect Value Under MS-DOS 5.0 (90396)