T
Tony Seiscons
Is late binding possible with the VBIDE. For example I'd like to be able
to:
Dim MyObj as Object
and then
Set MyObj as New CreateObject("VBIDE.VBComponent")
rather than Dim MyObj as New VBIDE.VBComponent
but I get Run time error '429', ActiveX component can't create object, even
if I have a reverence set to Microsoft Visual Basic for Applications
Extensibility 5.3.
I can do this with the Scripting.FileSystemObject. Why not with this?
Does this mean that I will either have to instruct a user to add the
reference or use an installer to do it via the registry if I want to use
these functions on distributed software.
I found a discussion from 2002-12-09 which Chip Peterson and Rob Bovey
describe how late and early binding work however it doesn't explain the
above.
Tony
to:
Dim MyObj as Object
and then
Set MyObj as New CreateObject("VBIDE.VBComponent")
rather than Dim MyObj as New VBIDE.VBComponent
but I get Run time error '429', ActiveX component can't create object, even
if I have a reverence set to Microsoft Visual Basic for Applications
Extensibility 5.3.
I can do this with the Scripting.FileSystemObject. Why not with this?
Does this mean that I will either have to instruct a user to add the
reference or use an installer to do it via the registry if I want to use
these functions on distributed software.
I found a discussion from 2002-12-09 which Chip Peterson and Rob Bovey
describe how late and early binding work however it doesn't explain the
above.
Tony