I have a Database It created in Ms accsses

how can i set a fix path to connct the database when i install the setup
in another computer?

plz help..?

Many questions have to be answered first.

Is the database local or on a server?
If local, you will just copy the database into the project.
If on server, you will have to connect to the server.

If so, is the server using dns or an ip?
Using the link above, you can write a connection string with an ip or the dns name.

If ip, is it static?
If the server's ip is not static, when the lease is not renewed - the application will break.

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.