|
-
Jul 10th, 2006, 02:26 AM
#1
Thread Starter
Member
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...
-
Jul 10th, 2006, 02:36 AM
#2
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.
-
Jul 10th, 2006, 02:36 AM
#3
Hyperactive Member
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.
-
Jul 10th, 2006, 02:42 AM
#4
Thread Starter
Member
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.
-
Jul 10th, 2006, 02:45 AM
#5
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.
-
Jul 10th, 2006, 03:36 AM
#6
Thread Starter
Member
Re: Visual basic 6.0 Runtime error
Hi,
when i want to save the VB application. then iam getting this problu.
Regards,
Ourspt
-
Jul 10th, 2006, 05:20 PM
#7
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|