PC Review


Reply
Thread Tools Rate Thread

create main configuration file for solution.

 
 
Mr. X.
Guest
Posts: n/a
 
      1st Apr 2010
Hello.
How can I create main configuration file for my solution (Win-Form : VS
2008. VB.NET), like a general ini-file.

Thanks

 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      1st Apr 2010


"Mr. X." wrote:

> Hello.
> How can I create main configuration file for my solution (Win-Form : VS
> 2008. VB.NET), like a general ini-file.
>


It's called an app.config. There is a name space you can use to mainulupate
the app.config from a program.

 
Reply With Quote
 
Mr. X.
Guest
Posts: n/a
 
      2nd Apr 2010
I see it on the project source directory (not for solution).
I cannot see it on the release directory.

Is there any convention to read / write from app.config :
I want to use it for main application (connectionString for mySql).
When calling another exe file from the main application - should I pass the
connectionString as a parameter,
or it is preferred that each project has it's own app.config, and not pass
parameter trough?

Thanks

"Mr. Arnold" <(E-Mail Removed)> wrote in message
news:0D718AD9-9E62-4C5D-86FE-(E-Mail Removed)...
>
>
> "Mr. X." wrote:
>
>> Hello.
>> How can I create main configuration file for my solution (Win-Form : VS
>> 2008. VB.NET), like a general ini-file.
>>

>
> It's called an app.config. There is a name space you can use to
> mainulupate
> the app.config from a program.
>

 
Reply With Quote
 
Mr. X.
Guest
Posts: n/a
 
      3rd Apr 2010
Can I decrypt the app.config somehow ?

Thanks
 
Reply With Quote
 
Mr. X.
Guest
Posts: n/a
 
      3rd Apr 2010
I meant : encrypt.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you create a solution file using Web Developer Express 2008 Fendi Baba Microsoft ASP .NET 1 19th Feb 2008 03:24 PM
How to Create Main Macro File Amol Microsoft Excel Programming 11 7th Aug 2007 02:56 PM
Solution to: Can't create file:.xls. Right click folder you want to create the file in and then click properties on the shortcut menu to check your permissions on this folder Ky_fanatic Microsoft Outlook Discussion 1 8th Dec 2006 06:15 PM
Create a XML configuration file with a real time watching aure_bobo@yahoo.fr Microsoft C# .NET 0 29th Sep 2005 04:48 PM
Create a configuration file (XML or INI) =?Utf-8?B?TWFpbGVlbg==?= Microsoft VB .NET 5 25th Oct 2004 12:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:31 AM.