When I create data report use VB6 Enterprise, when I add Data Source to that form,
I'm get error message "UNHANDLED EXCEPTION AT 0X89067542 IN VB6.EXE : 0XC0000005 :
ACCESS VIOLATION READING LOCATION 0X89067542" and VB6.EXE close

What happen ???
any body can help me, thanks for advanced

Regards,
FX Eko

Your database was saved in a different folder than you application installed folder (normally the case). Your app is trying to read from the database or the reposrts that is saved in a folder that you do not have permission to write or read from...

Make sure that the database is in the same folder, then use the App.Path code to connect to the database/reports in your code...

Also, if running on windows vista, 7 or 8, open the application as administartor.

AndreRet thanks for your answer, I have been check ODBC connection and that is the problem
Thanks for your advanced

Only a pleasure. 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.