Knowledge Base - Technical Articles

Technical Article   Error:  Error opening project: "retained" is an invalid key

Article ID: 16204
Software:  MapObjects-Windows 2.0, 2.0a, 2.1
Platforms: N/A

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.


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.

Created: 1/8/2001
Last Modified: 4/15/2001

If you would like to post a comment, please login