D
Damien
Hi guys,
I just found a reference somewhere to the fact that the CLR is usable
from COM, and hence should be usable from VB6. Although I've got no
need to do anything with this yet, I thought I'd have a play with it to
see how it works. So I've created a new VB6 app and added a reference
to mscorlib.tlb in the appropriate framework directory. So I've got a
reference. Woopee. Problem is, I can't figure out what to do with it
now.
For starters, I'd like to load an assembly, instantiate a type and call
a method. But I can't for the life of me see where to start - But where
do I start? What object do I create first?
I am reasonably interested in this since two of our largest systems are
VB classic, and this may be a different migration path to the ones
considered so far (first being to chuck the whole thing at the VB
upgrade wizard, second being to reimplement some functionality into new
DLLs and make them COM callable themselves)
So, anyone done this? Google doesn't seem to be my friend in this case.
Damien
I just found a reference somewhere to the fact that the CLR is usable
from COM, and hence should be usable from VB6. Although I've got no
need to do anything with this yet, I thought I'd have a play with it to
see how it works. So I've created a new VB6 app and added a reference
to mscorlib.tlb in the appropriate framework directory. So I've got a
reference. Woopee. Problem is, I can't figure out what to do with it
now.
For starters, I'd like to load an assembly, instantiate a type and call
a method. But I can't for the life of me see where to start - But where
do I start? What object do I create first?
I am reasonably interested in this since two of our largest systems are
VB classic, and this may be a different migration path to the ones
considered so far (first being to chuck the whole thing at the VB
upgrade wizard, second being to reimplement some functionality into new
DLLs and make them COM callable themselves)
So, anyone done this? Google doesn't seem to be my friend in this case.
Damien