A
Amy
Hi there,
I can using ADO .NET in visual C++ to access an MSDE database. My
connection string looks like this:
"Data Source=(local);Initial Catalog=MyDB;Integrated Security=SSPI"
This goes and gets the database from C:\Program files\Microsoft SQL
Server\MSSQL\Data.
However, my application needs to be able to access databases stored in
other directories. I know you can set the data dir for MSDE at
installation and I'm guessing you can change it through the registry
after that, but is it possible to specify the data location in the
connection string?
Thanks,
Amy
I can using ADO .NET in visual C++ to access an MSDE database. My
connection string looks like this:
"Data Source=(local);Initial Catalog=MyDB;Integrated Security=SSPI"
This goes and gets the database from C:\Program files\Microsoft SQL
Server\MSSQL\Data.
However, my application needs to be able to access databases stored in
other directories. I know you can set the data dir for MSDE at
installation and I'm guessing you can change it through the registry
after that, but is it possible to specify the data location in the
connection string?
Thanks,
Amy