Click here to Skip to main content
12,634,107 members (23,433 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
Hello

I have VB.NET System ;
I wanna to make setup (.exe) for the program.
The Program depend on SQL Server Database.
How I can make it exe file with the database, and to install all the configuration on any PC.
What I shall do according to the connection string ; since the server name will change?
I don't have background in that ; any helpful articles or information ?
Posted 21-Nov-12 4:36am
Lotus90317
Comments
joshrduncan2012 21-Nov-12 9:42am
   
How are you deploying your .exe file? Visual Studio ClickOnce or InstallShield? If you have a database, you'll need to do something like this:

Data Source=|DataDirectory|\\db.sdf
almounkez 26-Nov-12 16:37pm
   
for connection string you have to change it by code
my.application.setting.myconnectionstring = "new connection string"

you can also use installaware to install your application with sql server on the client machine

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100