
Technical Notes |
|
If your Microsoft Visual Basic 6.0 (VB6) project was created for use with Reflection version 14.1 or earlier or EXTRA! X-treme version 9.1 or earlier, it may require changes to run with Reflection 2011, 2008, or 2007.
If you have developed a Visual Basic (VB) application that uses early binding with prior versions of Reflection or EXTRA! Type Library, you may see one of the following errors when attempting to build or run the project with Reflection 2011, 2008, or 2007:
Compile error: Can't find project or libraryOr
This is an unsupported session instance.The VB References dialog may also display one of the following messages (where n.n is a version number):
Missing: Reflection for IBM n.n Object LibraryMissing: Attachmate EXTRA! n.n Object LibraryNote: These symptoms do not occur with scripts and applications that access the Reflection or EXTRA! COM object using version-independent late binding CreateObject() calls and do not reference the type library information (such as constant enum names).
To enable your VB project to run with Reflection 2011, 2008, or 2007 (with early binding), make the following changes.
Change Reflection.Session to ReflectionCOM.Session. For example:
ribm = New ReflectionCOM.SessionChange EXTRA to EXTRACOM. For example:
sys = New EXTRACOM.ExtraSystem