If your Microsoft Visual Basic 6.0 (VB6) application was created for use with Reflection version 14.1 or earlier or EXTRA! X-treme version 9.1 or earlier, you may need to modify your project to run your application with newer versions of Reflection (Reflection 2011, Reflection 2014, or Reflection Desktop 16.x).
If you have developed a Visual Basic (VB) application that uses early binding with prior versions of the Reflection or EXTRA! Type Libraries, you may see one of the following errors when attempting to build or run the project with Reflection Desktop 16.x, Reflection 2014 or Reflection 2011:
Compile error: Can't find project or library
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 Library
Missing: Attachmate EXTRA! n.n Object Library
NOTE: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 Desktop 16.x, Reflection 2014 or Reflection 2011 (with early binding), make the following changes.
Modify Reflection or EXTRA! namespace references in your code as follows:
Change Reflection.Session to ReflectionCOM.Session. For example:
ribm = New ReflectionCOM.Session
Change EXTRA to EXTRACOM. For example:
sys = New EXTRACOM.ExtraSystem
In the project References dialog, use ReflectionCOM or EXTRACOM as appropriate. Be sure to remove the reference to the missing object library.
Re-compile your project code.
For information about legal notices, trademarks, disclaimers, warranties, export and other use restrictions, U.S. Government rights, patent policy, and FIPS compliance, see https://www.microfocus.com/about/legal/.
Copyright © 2018 Attachmate Corporation, a Micro Focus company. All rights reserved.
The only warranties for this product and any associated updates or services are those that may be described in express warranty statements accompanying the product or in an applicable license agreement you have entered into. Nothing in this document should be construed as creating any warranty for a product, updates, or services. The information contained in this document is subject to change without notice and is provided “AS IS” without any express or implied warranties or conditions. Micro Focus shall not be liable for any technical or other errors or omissions in this document. Please see the product’s applicable end user license agreement for details regarding the license terms and conditions, warranties, and limitations of liability.Any links to third-party websites take you outside Micro Focus websites, and Micro Focus has no control over and is not responsible for information on third party sites.