Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Pro Visual Basic 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Visual Basic 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 22nd, 2005, 09:09 PM
Registered User
 
Join Date: Dec 2005
Location: Portland, ME, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to myserenity101
Default Debugging in Windows.Forms 2.0

Is there a way that I can have a key/value in a config file scope set so that one gets used over the other depending on if I'm debugging the application or not?

For Example:

<appSettings>
    <add key="Key1" Value="SomeLocalVariable" /> <-- Use Debug
    <add key="Key1" value="SomeRemoteVariable" /> <-- Use Production
</appSettings>

Thanks, db

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows forms lakshmiR .NET Framework 1.x 1 August 31st, 2007 08:32 PM
Debugging ASP using Windows Script Debugger Sameer Kulkarni Classic ASP Professional 0 February 23rd, 2006 12:28 AM
debugging windows service project sasidhar79 Pro VB.NET 2002/2003 0 August 17th, 2005 04:34 PM
Windows forms eyan C# 1 July 1st, 2004 04:10 PM
Remote debugging of a windows service jaucourt Pro VB.NET 2002/2003 2 June 17th, 2004 02:49 AM



All times are GMT -4. The time now is 03:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.