How To Determine the IDE Mode From an Add-In (214743)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q214743 SUMMARY
The Visual Basic Extensibility Object Model (VBE) does not provide a direct
method of determining if the integrated development environment (IDE) is in
design, run, or break mode. Performing certain actions, such as trying to
add a control to a form during the wrong mode, such as run mode, could cause errors in the Add-in.
Most of the time this is not a problem. Occasionally, however, a long process or a process that is started via a timer event could cause a problem when trying to do something when the IDE is in the run or break modes.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto KB214743 |
---|
|