Erkel,
<<
Just wondering is it possible to use Late Binding with New
O=New "ClassName".
I Guess NOT so you have to use:
VB6.CreateObject("ClassName")
Is this way to go when u want to use late binding?
Late binding has nothing to do with how a class is instantiated.
e.g.
Dim O As Object = New Foo
generates a late-bound reference to an instance of Foo via the variable O.
It is the variable that determines early vs. late binding, not the
instantiation method.
e.g.
Dim O As Foo = CType(CreateObject("MyFoo", ""), Foo)
generates an early bound reference (via O) to an object whose ProgID is
"MyFoo".
Malcolm Stewart
Microsoft Beta Technical Support