VBGamer |
|
RE: VB DLL - question!! Jack Hoxley (0 replies, 0 views) (2000-May-29) sorry - no way around this at all.
I tried for ages, including every method under the sun to get that working - but the ActiveX DLL isn't designed to be used like you/I wanted......
The only way I found that worked was to use ActiveX Controls - and dynamically add them at run time (therefore not version dependent). This is fairly tricky sometimes. Look through the VB/MSDN help on dynamically adding controls.
Hint: Use CallByName (VB6 only) to call extra procedures that you create within the control - such as "redraw" or "init".....
If you're looking to call procedures, create them in the .ctl file inside the activeX project - NOT in a seperate module.....
Hope that helps,
Jack. |