Results 1 to 2 of 2

Thread: [resolved] ocx-debugging [not realy]

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    27

    Resolved [resolved] ocx-debugging [not realy]

    Hi ,

    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

    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
    Last edited by Mr Mint; Mar 26th, 2007 at 06:32 AM.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    27

    Re: ocx-debugging

    Hmm, put messageboxes @ each function. Not very professional but helped

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width