Using OCX compiled with VB6 in VB5 SP3? 
Author Message
 Using OCX compiled with VB6 in VB5 SP3?

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



Wed, 27 Jun 2001 03:00:00 GMT  
 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



Wed, 27 Jun 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Using OCX compiled with VB6 in VB5 SP3?

2. VB5, VB6, VB6 SP3, Thanks

3. VB5, VB6, VB6 SP3, DBGrid looses last Row

4. VB5 EXE compiled with SP3?

5. VB5/SP3 Compile Times Question

6. strange memory usage -VB5 (SP3) - pcode compiled

7. VB5 EXE compiled with SP3?

8. VB5-SP3: Compiled program does not work

9. VB5-SP3: Compiled program does not work

10. OCX problem using VB5 on PC with VB6 installed

11. msinet.ocx (VB5 SP3) doesn't work for FTP

12. VB5/SP3 problem in tabctl32.ocx

 

 
Powered by phpBB® Forum Software