D
Dan Hinsley
I'm converting an app over to VS 2005, and am trying to get rid of all
the external references possible. I use JET to create a database.
Before I used the ADOX.Catalog function to do this. I assume that
there's got to be a way to do this with ADOX, but I haven't been able
to get there.
I have to have a connection to issue the CREATE DATABASE command, but
if I use Data Source=foo, where foo is the name I want the file to be,
connect fails with file not found. If I leave Data Source off the
connection I get a DB_SEC_E_AUTH_FAILED. Is there an equivalent to
Data Source=(local) for JET? Or how can I completely create a
database without resorting to ADOX?
Thanks,
Dan
the external references possible. I use JET to create a database.
Before I used the ADOX.Catalog function to do this. I assume that
there's got to be a way to do this with ADOX, but I haven't been able
to get there.
I have to have a connection to issue the CREATE DATABASE command, but
if I use Data Source=foo, where foo is the name I want the file to be,
connect fails with file not found. If I leave Data Source off the
connection I get a DB_SEC_E_AUTH_FAILED. Is there an equivalent to
Data Source=(local) for JET? Or how can I completely create a
database without resorting to ADOX?
Thanks,
Dan