PRB: Unrecognized Command Verb Error When Instantiate Object (128995)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q128995 SYMPTOMS
The "Unrecognized Command Verb" error is returned when the ADDOBJECT()
method or the CREATEOBJECT() function are used in a form or a program, but
the highlighted line does not contain any error.
CAUSE
The error that yields the "Unrecognized Command Verb" is in the class
definition of the object that is instantiated. The class is defined in a
procedure file (.PRG) or a Visual Class Library (.VCX) that are not open
for editing.
WORKAROUND
To isolate the source of the error, instantiate the object from the Command
window. Additionally, if the .PRG or .VCX file that contains the class
definition is not in the current directory, issue a SET PATH command to set
a path to the source file. When the error occurs, the procedure file will
be opened in the Trace window, and the line of code that contains the error
will be highlighted.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 2/12/2000 |
---|
Keywords: | kberrmsg KB128995 kbAudDeveloper |
---|
|