INFO: VB 6.0 Readme Part 7: Error Message Issues
Symptoms
The information below includes the documentation and workarounds for VisualBasic 6.0. This information can also be found in the README.htm file thatships with Visual Basic 6.0 on the Visual Basic 6.0 CD-ROM. Please see theREFERENCES section of this article for a list of the Microsoft KnowledgeBase articles relating to the Visual Basic 6.0 readme.
Following is a list of all parts of the readme file:
Part 1.Important Issues – Please Read First!
Part 2.Data Access Issues and DataBinding Tips
Part 3.Control Issues
Part 4.Language Issues
Part 5.Samples Issues
Part 6.Wizard Issues
Part 7.Error Message Issues
Part 8.WebClass Designer Issues
Part 9.DHTML Page Designer Issues
Part 10. Extensibility issues
Part 11. Miscellaneous Issues
Part 12. Microsoft Transaction Server (MTS) Issues
Part 13. Dictionary Object
Part 14. Visual Component Manager
Part 15. Application Performance Manager
Resolution
No Help Topic for the Following Error MessagesThere are currently no Help topics for the following error messages:
“Object module needs to implement ‘<name>’ for interface ‘<classname>’.”An interface is a collection of unimplemented procedure prototypes. Thiserror occurs when you specified an interface in an Implements statement,but you failed to add code for all the procedures in the interface.
You must write code for all procedures specified in the interface. An emptyprocedure containing only a comment is sufficient.
For additional information, select the item in question and press F1.
“Private Enum types and Enum types defined in standard modules orprivate classes cannot be used in public object modules as parameters orreturn types for public procedures, as public data members, or as fieldsof public user defined types.”This error occurs when you attempt to use an Enum type (or private Enumtype) as:
A parameter for a public object moduleA return type for a public procedureA public data memberFields of public user-defined typesAvoid using Enum or private Enum types in these circumstances.
“Can’t ReDim, Erase, or assign to Variant that contains array whoseelement is With object.”This error occurs when you attempt to ReDim, Erase, or assign to a Varianta variable whose element is a With object. For example, the following codewill produce this error:
Type TestName as IntegerEnd TypeSub Main()Dim c(0) As TestDim ee = cWith e(0)ReDim e(1)End WithEnd Sub

Leave a Reply