I am making a visual basic project and using MS Sql database as datasource. Now my problem is if I will use the project's .exe file on any other machine which has MS Sql already installed, then will the application will start using the database on its own or do I need to do something else while making the .exe file.

will the application will start using the database on its own

Only if the server name, user, password and database are identical to the one you used. Usually, you will have a config setting which contains all this information (ConnectionString).

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.