Mr Mint
Mar 22nd, 2007, 12:01 PM
Hi :wave: ,
I have a problem with my created (or better said modified) VB-ocx.
I added additional features to this user-control using DX8 to get primitives textured ( my first stepps in DX). In order to debug I copied and modified the code so that it runs in a standard-exe within a form (my first stepps in VB), made my modifications, error-corrections and copied the altered code back into the ocx-project and compiled it.
But now, using this ocx in a cobol-written program I get the error 91 all the time a function from the ocx is called (should be something like "object-variable or with-blockvariable not defined" ( I use the german IDE)). This error does not occur in the test-project. So I want to debug the ocx and I think itīs possible.
The best solution aunt google gave me was to start the user-control in the vb-ide, start the program and then I can use the debugger.
http://www.xtremevbtalk.com (http://www.xtremevbtalk.com/showthread.php?t=279747)
As you can see I posted my question also there, but most of my questions I posted before havenīt been answered yet.
Did it like advised I get the error "Error creating Activex control". As I mentioned there, the error came up whenever a function from the control is called.
Well, now what went wrong?
Thx in advance
I have a problem with my created (or better said modified) VB-ocx.
I added additional features to this user-control using DX8 to get primitives textured ( my first stepps in DX). In order to debug I copied and modified the code so that it runs in a standard-exe within a form (my first stepps in VB), made my modifications, error-corrections and copied the altered code back into the ocx-project and compiled it.
But now, using this ocx in a cobol-written program I get the error 91 all the time a function from the ocx is called (should be something like "object-variable or with-blockvariable not defined" ( I use the german IDE)). This error does not occur in the test-project. So I want to debug the ocx and I think itīs possible.
The best solution aunt google gave me was to start the user-control in the vb-ide, start the program and then I can use the debugger.
http://www.xtremevbtalk.com (http://www.xtremevbtalk.com/showthread.php?t=279747)
As you can see I posted my question also there, but most of my questions I posted before havenīt been answered yet.
Did it like advised I get the error "Error creating Activex control". As I mentioned there, the error came up whenever a function from the control is called.
Well, now what went wrong?
Thx in advance