B
Beski
I have created a vb.net program that incorporates a SQL Sever Database.
In my program I have the line:
con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source =
database.mdb"
So I used the vb.net publish project tool and made an installation
package, but everytime that I install it on another PC I will get an
error that says it could not find the database. I looked into the
folder where it installed everything and found that it installed the
database in a different folder. When I copy the database to the proper
folder, it will work.
How do i set up the installation package to put the database in the
right folder? Or how can I change my code that it will work on other
computers after it had been installed, and the database is in a
different folder?
Thanks for the help
Beski
In my program I have the line:
con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source =
database.mdb"
So I used the vb.net publish project tool and made an installation
package, but everytime that I install it on another PC I will get an
error that says it could not find the database. I looked into the
folder where it installed everything and found that it installed the
database in a different folder. When I copy the database to the proper
folder, it will work.
How do i set up the installation package to put the database in the
right folder? Or how can I change my code that it will work on other
computers after it had been installed, and the database is in a
different folder?
Thanks for the help
Beski