Please help me Connect Access 2007 (1 Viewer)

hoatranh

New member
Local time
Today, 05:27
Joined
Mar 5, 2008
Messages
9
Please help me fix error, I don't why it can't run.
 

Attachments

  • Earthquake.zip
    1.3 MB · Views: 231

Estuardo

Registered User.
Local time
Today, 12:27
Joined
May 27, 2003
Messages
134
G'd evening!
I see that this is an old post with no reply. I guess this happens because the project was built with 3rd party controls, and may be people willing to help could't even open the project.
For the eventual readers, the problem in fact was the connection string:

"Provider =Microsoft.Ace.OLEDB.12.0;Data Source=" & Application.StartupPath & "\..\..\Du_lieu\01Earthquake.accdb;Persist Security Info=False"

This will never work. It has the wrong path The exe file opens inside the bin/debug folder and the db is outside those folders and inside some other.

Like i said, the connection string is wrong. For those who wants to know how to build the connection string here is a good place to start
 

Users who are viewing this thread

Top Bottom