By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,200 Members | 1,629 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,200 IT Pros & Developers. It's quick & easy.

Application Configuration File Template for vb 2005 express

P: n/a
I guess the express edition does not have this configuration file. I had
been using a ini file with getPrivateProfileString, but have not found an
example that works in VB 2005 ee , so I looked for the xml way and the
example at microsoft is for the full and not express edition. It says to
right-click on the project and select Add New then select Application
Configuration File Template, but non is there.
What's the work-around in VB2005ex for this? The old Dos way to read a text
file and parse it's contents?
Aug 4 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Barry Erick" <be****@epix.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>I guess the express edition does not have this configuration file. I had
been using a ini file with getPrivateProfileString, but have not found an
example that works in VB 2005 ee , so I looked for the xml way and the
example at microsoft is for the full and not express edition. It says to
right-click on the project and select Add New then select Application
Configuration File Template, but non is there.
What's the work-around in VB2005ex for this? The old Dos way to read a
text file and parse it's contents?
What are you talking about? The app.config setup in there on VB 2005 Express
all day long. You go to project Properties when you right-click the project,
and then you select the Settings tab. I am not going to explain how to use
it look it up use Google.

You might also want to try to find examples on how to use
System.Configuration namespace that contains the ConfigurationManager that
allows you to read, update, delete, and write to/from the appname.exe.config
file.

The CM will be working with appname.exe.config and not app.config, because
the app.config for the project is only a template for the project that you
have set initially or you need to add a new element to the existing
app.config, that will be picked up by appname.exe.config.

Aug 5 '07 #2

P: n/a
I've right clicked on two mahchines and do not have that template. Other
templates show up. And your answer is very rude, Mr. Arnold.


"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:u0**************@TK2MSFTNGP05.phx.gbl...
>
"Barry Erick" <be****@epix.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>I guess the express edition does not have this configuration file. I had
been using a ini file with getPrivateProfileString, but have not found an
example that works in VB 2005 ee , so I looked for the xml way and the
example at microsoft is for the full and not express edition. It says to
right-click on the project and select Add New then select Application
Configuration File Template, but non is there.
What's the work-around in VB2005ex for this? The old Dos way to read a
text file and parse it's contents?

What are you talking about? The app.config setup in there on VB 2005
Express all day long. You go to project Properties when you right-click
the project, and then you select the Settings tab. I am not going to
explain how to use it look it up use Google.

You might also want to try to find examples on how to use
System.Configuration namespace that contains the ConfigurationManager that
allows you to read, update, delete, and write to/from the
appname.exe.config file.

The CM will be working with appname.exe.config and not app.config, because
the app.config for the project is only a template for the project that you
have set initially or you need to add a new element to the existing
app.config, that will be picked up by appname.exe.config.

Aug 5 '07 #3

P: n/a

"Billy" <bi***@gates.ordwrote in message
news:A0*******************@news1.epix.net...
I've right clicked on two mahchines and do not have that template. Other
templates show up.
>And your answer is very rude, Mr. Arnold.
Really? What do you want me to do cry about it?

And the template is not there in the same place or manner like it is for
..Net 2003 VB or C# 2005, where you add the app.config by adding a New Item
to the project. I am not going to hold your hand, but it's there, use Google
look it up. It doesn't take a rocket scientist to figure it out.

Aug 5 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.