I set a key in the registry with a name as Database, the Value consists of a Database name "PBC_DB.mdb"
My hopes are to use the key in my program (I am using vb6) to find the database; in the connection string rather than having it read ex:
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Database\PBC_DB.mdb;Jet OLEDB:Database Password=ecscards"
(bolded part is what I want to replace)
instead of it looking at a specific path I need it to read from the registry...Any ideas??