INFO: Differences of Behavior in Debug Mode and Compile Mode (201741)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q201741 SUMMARY
For the same piece of code, a Visual Basic application's behavior can be different when running as a compiled EXE and when running in debug mode in the IDE. This article explains the most common reasons why an application's behavior can be different and recommend ways to handle these situations.
REFERENCES
For additional information, please click the article numbers below
to view the articles in the Microsoft Knowledge Base:
166275 HOWTO: Debug a Native Code Visual Basic Component in VC++
193133 HOWTO: Compile VB Programs with Debug Symbols Embedded
161153 HOWTO: Use the Assert Method for Debugging
192549 INFO: VBCE: Overview of Debugging VBCE Applications
138521 INFO: Program Compiles in Background w/Compile On Demand Set
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbBug kbCompiler kbDebug kbIDEProject kbinfo kbThread KB201741 |
---|
|