ERROR

Error opening project: "retained" is an invalid key

Last Published: April 25, 2020

Error Message

When you attempt to load the MoView2 sample into Visual Basic 5.x, the following error may appear:

Error opening project: "retained" is an invalid key.

Cause

The "retained" key was added at VB6 and is not recognized by VB5.

Solution or Workaround

The following steps should make it possible to load MoView2 in VB5. However, be aware that other problems may arise due to the fact that MoView2 was written in VB6.
  1. Open MoView2.vbp in Notepad.
  2. Search for the "retained".
  3. Delete the line: "Retained=0".
  4. Save and close the file.

Article ID:000002498

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic