Hello,
I'm developing a Vista gadget. The gadget is working with local .mdb database, OLEDB used. The code is following:
var cs = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + getDbFilePath() + ";Persist Security Info=False;";
var connection = new ActiveXObject("ADODB.Connection");
connection.ConnectionString = cs;
It works under Vista 32, but fails under x64 with message: Provider cannot be found. It may not be properly installed.
When I'm running the javascript file from command line, no errors occurs. getDbFilePath() return correct path, database exists etc.
How to fix it? Maybe, there a sense to use other database provider?
Thank you