Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET
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
joshrduncan2012 at 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 at 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
0 Peter Leow 295
1 Mika Wendelius 275
2 CHill60 190
3 TheRealSteveJudge 180
4 Rob Philpott 130
0 Sergey Alexandrovich Kryukov 8,613
1 OriginalGriff 6,581
2 Peter Leow 3,962
3 Zoltán Zörgő 3,480
4 Richard MacCutchan 2,502

Advertise | Privacy | Mobile
Web01 | 2.8.150123.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2015
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