Greetings...

From this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;317881
article I've knew how to create access 2000 databases. But what with
2007?

Best regards...

Re: Programmatically create Access 2007 database by Jeff

Jeff
Thu Jan 31 03:52:45 CST 2008

On 31/01/2008 in message
<62fb1def-4a41-4be3-871a-bc6e81e9ba92@e10g2000prf.googlegroups.com>
68756E746572@gmail.com wrote:

>Greetings...
>
>From this:
>http://support.microsoft.com/default.aspx?scid=kb;en-us;317881
>article I've knew how to create access 2000 databases. But what with
>2007?
>
>Best regards...

You will be delighted to hear it's exactly the same except for the
connection string, a snippet from my createDB function (which is called
with filePath set up)

if (access12)
connString = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=";
else
connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=";

connString += filePath;
connString += ";";
catNewDB.Create(connString);

--
Jeff Gaines