You used the GetObject or the LoadPicture function, but supplied an unrecognizable class or file name as a parameter. The GetObject function requires either a full path and name of the file containing the object to retrieve, or the name of a class that is registered with the system. The LoadPicture function requires the full path and name of the picture file to retrieve.

To correct this error

  • Check the names for typing mistakes, and try again.

  • Make sure the name used for the class parameter matches one registered with the system.

See Also