Article ID: 161137
Article Last Modified on 7/15/2004
APPLIES TO
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
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"
Additional query words: kbNoKeyword
Keywords: kbhowto kbusage KB161137