BUG: Divide Error When Compiling Project From Command Line
Article ID: 194753
Article Last Modified on 5/13/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q194753
SYMPTOMS
Compiling a Visual Basic project from the command line results in the
following error:
"VB6 caused a divide error in module VB6.EXE at 0137:00482a61"
NOTE: The actual memory address may be different for your project.
CAUSE
This problem is caused by custom "tabs" added to the Visual Basic 6.0 IDE's
Toolbox that contain controls.
RESOLUTION
Remove the custom "tabs" from Visual Basic IDE's Toolbox.
Step-by-Step Example
- Open a project in Microsoft Visual Basic.
- Secondary-mouse click on the custom tab in the Visual Basic Toolbox. If
the Toolbox is not visible, select it from the View menu. Select
"delete tab" from the shortcut menu.
- Repeat this process for each tab on the Toolbox.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Additional query words: kbDSupport
Keywords: kbbug kbide kbcommandline kbcompiler KB194753