Err Msg: Sub or Function Not Defined in Visual Basic
Article ID: 133251
Article Last Modified on 11/1/2006
APPLIES TO
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
This article was previously published under Q133251
SYMPTOMS
When you run Visual Basic applications under Windows NT Server, the
following error message appears:
Sub or Function Not Defined
CAUSE
This problem occurs if a specified routine is not available to the
calling procedure, or a routine is not available in a specified dynamic
link library (DLL).
RESOLUTION
To correct this problem:
- Close all applications except for the Visual Basic application.
- Run WPS.EXE located in the <Visual Basic root>\CDK directory
(available with Visual Basic Professional Edition).
- Compare the DLL and executable (EXE) files on the computer with files on
another computer where the Visual Basic application works.
- Rename the files on the computer (that do not match the files on the
other computer where the Visual Basic application works) to another file name.
Additional query words: vb app prodnt
Keywords: KB133251