-
Vegas C# script connecting to database in W7 64-bit
I have a small C# script which uses an MS-Access database to fill comments into the Project Media tab. It’s basically a script from John Rofrano that I found somewhere and tweaked it for my own use. Worked great in Vegas 9 on XP 32-bit. Now I’m finding out that Windows 7 64-bit does not have the drivers to access Jet databases, so the following line in Vegas 9 64-bit:
string source = “Provider=Microsoft.JET.OLEDB.4.0; Data Source=C:\Users\dwm\My Documents\dwm\capture\tapelog.mdb”;
produces the following error:
“The ‘Microsoft.JET.OLEDB.4.0’ provider is not registered on the local machine.”
The same thing happens if I use the ACE provider which is documented on the web as an alternative. It boils down to the lack of a 64-bit driver to access “Access.” Just another addition to the list of “What I don’t like about Windows 7.”
I’m just starting to look a SQL Server Express, but know absolutely nothing about it. I should be able to export my Access database into anything since it’s just one table at this point. But I want to stay in the Microsoft area since I have another program (not Vegas-related) that I’ll have to port from VB6 to VB.net to work with Windows 7 (just when you figure out how to use something effectively, they change it on you.)
So which direction should I look to use a database in C# script in Vegas?