Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WithEvents ...
Message
 
To
20/06/2001 15:52:01
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Title:
Miscellaneous
Thread ID:
00521653
Message ID:
00521723
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform