
Using OCX compiled with VB6 in VB5 SP3?
That's because there were alot of changes in the basic controls that come
with VB6 that were also in VB5. Compile it with VB5 and I bet it will work
with both.
Dave Erickson
Quote:
>Hi!
>I wrote and compiled an ocx in VB6. It doesn't include any VB6 specific
>controls only 2 pictureboxes and some scrollbars, but of course a lot of
>code. It runs perfectly on my own PC in both design- and runtime.
>A costumer using VB5 SP3 is not able to place my control on a form. He gets
>the "Invalid procedure call" error msg. There is in fact a lot of code in
>the Usercontrol_initialize event but my question is: could it be the
>different VB versions that is the problem or is the problem in my code? I
>have of course supplied all the needed runtimes in the setup.
>Thank you in advance.
>Thomas