Results 1 to 5 of 5

Thread: VB6 does not jump to error

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    760

    Question VB6 does not jump to error

    Hello!

    Something is very wrong with my VB6 project. I had to replace some ocx which results in many "Invalid procedure call or argument" errors.
    While at first, it would something jump to the location of the error (yes, the error message is valid!), it is now not doing that anymore.
    Instead, when I press Play in the IDE, it just shows this error, but does not jump to the error.
    When I try to compile it, VB6 crashes.

    My biggest problem is that VB6 does not jump to the location of the error.

    Does anybody know any secret to make VB6 jump to the line of the error again?

    Thank you!

    Edit: I have removed the compilation arguments which in turn results in some code parts not being left out anymore, and now it works again: VB6 jumps to that location.
    Last edited by tmighty2; Aug 28th, 2024 at 05:20 PM.

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945

    Re: VB6 does not jump to error

    Without any specific code to look at I can only guess at what might be wrong... Perhaps you could upload the relevant code and tell more about these ocx files?

  3. #3
    Fanatic Member
    Join Date
    Mar 2019
    Posts
    515

    Re: VB6 does not jump to error

    When you say "jump to the line of the error" I am not sure what you mean

    Take a look at:

    tools
    options
    General
    Error trapping

  4. #4
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,167

    Re: VB6 does not jump to error

    > Edit: I have removed the compilation arguments which in turn results in some code parts not being left out anymore, and now it works again: VB6 jumps to that location.

    The beauty of a 25 yo compiler with no chance of getting any fixes for 1/4 of a century.

  5. #5
    Fanatic Member
    Join Date
    Mar 2019
    Posts
    515

    Re: VB6 does not jump to error

    Sorry did not see that.

    Also a 25 year old compiler does not get new bugs!

Tags for this Thread

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