Click to See Complete Forum and Search --> : late binding
svatasoiu
Jul 16th, 2002, 03:52 PM
Hi,
I open some objects using late binding. In this case the objects cannot use 'raise events'.
I need to comunicate from the object to the parent.
What will be the best way to do this?
Thank you,
Sorin
Edneeis
Jul 16th, 2002, 04:59 PM
Why are you late binding? Do a search on Callbacks and maybe somethign useful will come up.
jim mcnamara
Jul 16th, 2002, 08:38 PM
You can use Dim With Events.
However EdNeeis is right - Late binding serves no purpose except to slow down your app. Only use it when you MUST assignbe different objects to one object variable
svatasoiu
Jul 17th, 2002, 07:21 AM
Yes,
I agree that late binding slow everything down, but this is the design. The application must be able to open objects that are added later and we do not know the name (the name is build programatically-this give me flexibility to be able to add new objects without changing the core package)
Are you sure that I can use Dim With Events for late binding?
I remember I run into errors when I tried that.
Thank you,
Sorin
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.