Results 1 to 7 of 7

Thread: Visual basic 6.0 Runtime error

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    43

    Question Visual basic 6.0 Runtime error

    Hi All,

    In my VB 6.0 application when i want to save the changes then suddenly iam getting below error.

    "The instruction at "0x00000000" referenced memory at "0x00000000", the memory could not be read" error (See the attachment name-"VB error"). "Click on OK to terminate the program" message is displaying after clicking on the OK button it is displaying one more message (See the attachment name-"VB problem")and Click on ok means then application is crashing.

    Check the attachments.
    Please give me the urgent replay because our project is in production phase.

    Thanks&Regards,
    Amar...
    Attached Images Attached Images   

  2. #2
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: Visual basic 6.0 Runtime error

    These sort of errors are difficult to diagnose. Has anything in your app changed since the last successful save? ie added a new OCX or DLL to the project?

    One thing I would try is to start a new VB6 project and manually add each existing form, module, class module etc from your original project and then try and save it as a new project.
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  3. #3
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Sydney Australia
    Posts
    476

    Re: Visual basic 6.0 Runtime error

    Hi OurSpt

    You are going to have to zero in on the exact line of code that is causing the error.
    To find the line of code if would usually set VB to Break on all errors. This may give you the offending line.

    If you are using dlls or ocxs then it may tell you the component giving you the trouble. If that's the case then you are going to need to create a project group that includes the code for the offending comnent.

  4. #4

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    43

    Re: Visual basic 6.0 Runtime error

    Hi,

    Thanks for the fast response.

    In my project that error is coming when i select on check box and trying to save the application. in other cases that problem is not coming.

    May be what could be the reason.

    Any Ideas.

    Thanks,
    Ourspt.

  5. #5
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: Visual basic 6.0 Runtime error

    Do you mean save your VB project or save some data within your app?
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  6. #6

    Thread Starter
    Member
    Join Date
    Dec 2004
    Posts
    43

    Re: Visual basic 6.0 Runtime error

    Hi,

    when i want to save the VB application. then iam getting this problu.

    Regards,
    Ourspt

  7. #7
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: Visual basic 6.0 Runtime error

    Try what I suggested in post #2. Do you have problems with other VB apps or just this one?
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

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