>Hi all,
>
>With vb6...
>
>We are 'earlybinding' the classes that we are using. And some of them are instantiated with WithEvents keyword. I might have to go to latebinding and use CreateObject instead.
>
>I'm just hopefull but ... Is there something that will reproduce the WithEvents features when instantiating it with CreateObject?
>
>I'm not sure ... but I think I read somewhere that I can name a procedure of the form with the name of the object followed by the event (Private sub myObject_EventXXX) ... or something like that ! What is just my imagination ?
Events cannot be intercepted when using late binding.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com