How To Use Project and Binary Compatibility (161137)
The information in this article applies to:
- 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 Q161137 SUMMARY
The Compatibility setting allows you to determine the Visual Basic
project's compatibility to older versions of the ActiveX Components
generated from the project.
The ActiveX Components you create contain a default interface (for example,
CName_D where CName is the ClassName for the ActiveX Component) that
contains all of the methods and properties you have created. If your Class
raises events, you also have an additional interface called
IConnectionPointContainer. When you build an ActiveX Control or Server,
these Interfaces are given a unique identifier. If you modify your control
or server, these interfaces may change. Any applications using an older
version of your component may fail at this point. To ensure that your new
and old interfaces will work with all applications, you need to set the
appropriate Compatibility setting.
REFERENCES
Visual Basic 5.0 Components Guide, Chapter 7, "Debugging, Testing, and
Deploying Components"
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbhowto kbusage KB161137 |
---|
|