-
Hi
I created one interface ( name I’ve given is Isave ) . I was trying to implement this interface. For this I declared the Implements keyword in the class , where I’m going to implement this interface. The interface name is appeared in left-hand (Object) drop down in the code window.
None of the entries will be Isave. I mean When you select it, the right-hand (Procedure) drop down will NOT show the methods of the Isave interface.
Pl. tell me the reason ??? what’s wrong with my code ??? I’m using VB6. any suggestions please ???
Thanks
Sanju
-
Public or Private ?
how did you define the function in the class ?
If you have defined it as private .. like..
private function mymethod()
then it won't be listed externally.
You should have to declare them as public.
hope this helps.
-
Also, If you don't specify Private or Public, it automatically assumes that it's Public.