Class ModuleProblems
-
I created a simple class module in Visual Basic called Child. When I try to dim it in my project the auto completion pop up shows my class in the list as "child" rather than "Child". Visual Basic treats the lower case version as a different object, so when i try to dim it, it gives me an object required error. My problem is that no matter what I do I cant use this statement Dim c as Child becuase VB automatically changes it to the lowercase version like this Dim c as child Im not sure why it behaves like this, does some one know how to correct this? Thanks for you help! :((
-
I created a simple class module in Visual Basic called Child. When I try to dim it in my project the auto completion pop up shows my class in the list as "child" rather than "Child". Visual Basic treats the lower case version as a different object, so when i try to dim it, it gives me an object required error. My problem is that no matter what I do I cant use this statement Dim c as Child becuase VB automatically changes it to the lowercase version like this Dim c as child Im not sure why it behaves like this, does some one know how to correct this? Thanks for you help! :((
May be your having some other oject with tha name Child or change the class name to some thing else and try it. Gau Gaurika Wijeratne. // www.gaurika.com