Click here to Skip to main content
15,896,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Updating an Access Database Pin
RichFeldman30-Jul-07 6:13
RichFeldman30-Jul-07 6:13 
QuestionWhat is object reference not set to an instance of an object? Pin
sweehin1826-Jul-07 4:45
sweehin1826-Jul-07 4:45 
AnswerRe: What is object reference not set to an instance of an object? Pin
Tom Deketelaere26-Jul-07 5:02
professionalTom Deketelaere26-Jul-07 5:02 
GeneralRe: What is object reference not set to an instance of an object? Pin
sweehin1826-Jul-07 5:19
sweehin1826-Jul-07 5:19 
GeneralRe: What is object reference not set to an instance of an object? Pin
Tom Deketelaere26-Jul-07 5:31
professionalTom Deketelaere26-Jul-07 5:31 
AnswerRe: What is object reference not set to an instance of an object? Pin
TwoFaced26-Jul-07 7:53
TwoFaced26-Jul-07 7:53 
Questionediting exe.cofig file Pin
halder_rajib26-Jul-07 3:35
halder_rajib26-Jul-07 3:35 
AnswerRe: editing exe.cofig file Pin
Dave Kreskowiak26-Jul-07 3:51
mveDave Kreskowiak26-Jul-07 3:51 
So, you chose to ignore the reply to your previous post, of the exact same question, you put up 3 hours ago?? Any particular reason??

Like the other reply said, you have to modify the connection string you saved in the app.config file. You can either do some simple string manipulation at runtime to replace the database path, username and password, ...

Or, you can modify the string in the app.config file with a configuration tool you build into your app or you build into a custom action in your app's installer. This method requires that you load the app.config as an XML document, make the changes, then rewrite the XML document back out to the app.config file.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


JokeRe: editing exe.cofig file Pin
Paul Conrad26-Jul-07 6:06
professionalPaul Conrad26-Jul-07 6:06 
QuestionWriting text in next line Pin
Archana New to Dotnet26-Jul-07 3:12
Archana New to Dotnet26-Jul-07 3:12 
AnswerRe: Writing text in next line Pin
Tom Deketelaere26-Jul-07 3:16
professionalTom Deketelaere26-Jul-07 3:16 
GeneralRe: Writing text in next line Pin
Archana New to Dotnet26-Jul-07 19:19
Archana New to Dotnet26-Jul-07 19:19 
AnswerRe: Writing text in next line Pin
Rupesh Kumar Swami27-Jul-07 0:00
Rupesh Kumar Swami27-Jul-07 0:00 
QuestionBatch file problem Pin
The Mighty Atom26-Jul-07 3:07
The Mighty Atom26-Jul-07 3:07 
AnswerRe: Batch file problem Pin
kubben26-Jul-07 3:11
kubben26-Jul-07 3:11 
AnswerRe: Batch file problem Pin
Dave Herren26-Jul-07 3:21
Dave Herren26-Jul-07 3:21 
AnswerRe: Batch file problem Pin
Luc Pattyn26-Jul-07 3:30
sitebuilderLuc Pattyn26-Jul-07 3:30 
AnswerRe: Batch file problem Pin
Dave Kreskowiak26-Jul-07 3:44
mveDave Kreskowiak26-Jul-07 3:44 
GeneralRe: Batch file problem Pin
The Mighty Atom26-Jul-07 3:50
The Mighty Atom26-Jul-07 3:50 
QuestionEnabling the MenuItem in Menu Pin
kalyan_vb26-Jul-07 2:46
kalyan_vb26-Jul-07 2:46 
AnswerRe: Enabling the MenuItem in Menu Pin
Tom Deketelaere26-Jul-07 3:11
professionalTom Deketelaere26-Jul-07 3:11 
AnswerRe: Enabling the MenuItem in Menu Pin
Luc Pattyn26-Jul-07 3:33
sitebuilderLuc Pattyn26-Jul-07 3:33 
QuestionMigrate Vb4.0 to the later version vb5.0 or vb6.0 Pin
meetkamals26-Jul-07 1:08
meetkamals26-Jul-07 1:08 
AnswerRe: Migrate Vb4.0 to the later version vb5.0 or vb6.0 Pin
Dave Kreskowiak26-Jul-07 3:31
mveDave Kreskowiak26-Jul-07 3:31 
GeneralRe: Migrate Vb4.0 to the later version vb5.0 or vb6.0 Pin
meetkamals26-Jul-07 21:28
meetkamals26-Jul-07 21:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.