G
Gary Paris
I am working on a project which I have on my desktop. The project and data
reside on the D: drive
Sometimes I copy the project over to the laptop which is on the C: drive.
Each time I have to edit the following code to put the proper Drive letter
in.
g_DataLocation = "D:\Test\Test.mdb"
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
g_DataLocation
Is there a way that I can have the project go to the correct drive without
having to physically change the D: to C: ?
I saw a application.config file but if I copy everything, that gets replaced
also.
Thanks,
Gary
reside on the D: drive
Sometimes I copy the project over to the laptop which is on the C: drive.
Each time I have to edit the following code to put the proper Drive letter
in.
g_DataLocation = "D:\Test\Test.mdb"
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
g_DataLocation
Is there a way that I can have the project go to the correct drive without
having to physically change the D: to C: ?
I saw a application.config file but if I copy everything, that gets replaced
also.
Thanks,
Gary