PRB: OLE Error 0x80040113 Invalid Class String with MSGraph (150973)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b

This article was previously published under Q150973

SYMPTOMS

Issuing a command that uses OLE automation to MSGraph causes the error message:
OLE error code 0x80040113 Invalid class string. Example: Append General myGeneralFieldName Class "MSGraph

CAUSE

MSGraph has not been installed or registered to the operating system.

RESOLUTION

If the user has not installed a Workstation version of Visual FoxPro, but is running Visual FoxPro from an Administrative installation on a file server, then choose one of the following options:

  • Run setup, and select a "Workstation" installation

    -or-
  • Run setup, and select "Custom" installation and only install the Microsoft Tools option.

STATUS

This behavior is by design.

MORE INFORMATION

MSGraph is installed to the <drive>:\<Windows95 dir>\MSGraph5 directory. HKEY_CLASSES_ROOT contains registry information about MSGraph, MSGraph.Application, MSGraph.Application.5.

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:kbsetup KB150973