Microsoft KB Archive/42855

= Fast Load Format Can Cause &quot;Binding...&quot; Hang in QB.EXE Editor =

Article ID: 42855

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 4.0
 * Microsoft QuickBASIC 4.0b
 * Microsoft QuickBasic 4.5 for MS-DOS

-



This article was previously published under Q42855



SYMPTOMS
If your machine hangs in the QB.EXE environment (often with a &quot;Binding...&quot; message displayed on the bottom of the screen) when trying to run your program, one possible cause is QuickBasic's Fast Load and Save (that is, Binary) file format.

A workaround is to save in Text Format, reload the program, and run again. Other possible causes of a &quot;Binding...&quot; hang are described further below.



STATUS
Microsoft has confirmed this to be a bug with the Fast Load and Save format in QuickBasic versions 4.0, 4.0b, and 4.5, and with QB.EXE included with Microsoft Basic Compiler versions 6.0 and 6.0b (buglist6.00, buglist6.00b). This problem with Fast Load and Save format was corrected in the QBX.EXE environment shipped with Microsoft Basic Professional Development System (PDS) version 7.0 (fixlist7.00).



MORE INFORMATION
If QB.EXE hangs, and modules are saved in the Fast Load and Save format, try the following as a workaround:
 * 1) Save your source file(s) in Text format with Save As from the File menu in QB.EXE.
 * 2) Exit QuickBasic.
 * 3) If your program uses multiple modules, delete the file with the .MAK extension (which is created when you save a multiple-module program in QB.EXE 4.x). (Note: This .MAK file is unrelated to the .MAK files used by the Microsoft Program Maintenance Utility, MAKE.EXE.)
 * 4) Run QuickBasic again.
 * 5) Reopen (Open) the program from disk, manually Load any separate module source files (if any), then try to run your program again. The problem should disappear.

One customer reported that the QB /AH option caused one Fast Load and Save format file to cause the &quot;Binding...&quot; hang, and removing the /AH (huge array) option eliminated the &quot;Binding...&quot; hang for that particular program. Saving as Text also eliminates the problem.

Other possible causes of a &quot;Binding...&quot; hang are as follows:
 * 1) Memory-resident software, for example, terminate-and-stay-resident (TSR) programs conflicting with QB.EXE.
 * 2) Nonstandard device drivers installed (.SYS and .COM files) and conflicting with QB.EXE.

To find out if your device drivers or TSRs are causing a problem, remove them from your AUTOEXEC.BAT and CONFIG.SYS files, reboot, and then run QuickBasic with a &quot;clean&quot; machine. QuickBasic is sensitive to and incompatible with many TSR programs. For an explanation of why, query on the following words:

why and QuickBasic and TSR and incompatible

The following are other problems in QuickBasic that cause the &quot;Binding...&quot; machine hang, instead of generating an error:
 * 1) $INCLUDE with an unfindable file and line label with more than one space between the line label and the REM or ' (version 4.5 only)
 * 2) An IF THEN GOTO with an invalid line label (version 4.0 only)
 * 3) SWAP on fixed-length string fields of user-defined types (version 4.5 only)

For more information, query on the following words:

binding and hang and QuickBasic

Additional query words: QuickBas 4.00 4.00b 4.50 6.00 6.00b buglist4.00 buglist4.00b buglist4.50

Keywords: KB42855

-

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

© Microsoft Corporation. All rights reserved.