hi ..
I use visual basic 6, I opened a new project, when I create a data report using Crystal Report 8.5 which already include the current Visual Basic will add a new report by way of Add -> Crystal report 8.5, the error message "Visual Basic has stopped working ", if continued for an additional debug error message" an unhandled win32 exception occured in Vb6.EXE [4784], an unhandled exception at 0x89067542 in VB6.EXE: 0x0000005: Access violation reading location 0x89067542 "

I've checked the ODBC connection is no problem, please help.

thanks in advance

Recommended Answers

All 6 Replies

2 things come to mind, corrupt hard drive or corrupt RAM.

Ithink the part of creating a new report from CR is looking for files/want to save to files where you do not have access to.

Which windows OS are you using? Do you have admin rights on that pc?

@tinstaaf - Mr Tinstaaf, some time ago I had to replace the RAM,
I have also tried to uninstall and reinstall VB6 and I also have to try
to replace the hard drive but the result is still the same,
but I will try to change to another new hard drive.
I thank you in advance for your attention

@AndreRet - Mr. Andre I logged in as administrator,
also I have tried to right click and run as administrator VB6 run time,
but the result remains the same, also i have tried to repair my hard drive
but still the same hard drive regenerator feared VB6.EXE stored on bad sectors,
thanks you for your close attention next time maybe you have another solution
I wait for the answer.

best regards

Also if you're using an OS newer than XP that may be your problem. Try running it in XP compatibility mode.

@tinstaafl - It's work, thanks for your help
best regards

Please mark as solved, thanx.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.