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..?

Re: how to set a fix path to database in vb.net 80 80

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.