hello everyone,
i have just finished developing my first program that includes a database. i have used instalsheild to make it a file so i can instal it on other PC's. but when i run the program on another computer i get an error, i cant remember what it said but i know that it was still trying to find the access database on my computer that i made the program with.
what do i have to do in the code to make it so it finds the database that has been installed on the computer not the one on my computer.

please help, this is quite urgent

thanks in advance.

You make your db part of your project, so it gets to ride along and create your connection string, relative to your app's directory.
I'm guessing that your problem is a hardcoded connectionstring, so start with that and then verify that you've got the db in the PC you've installed your program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.