473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Application Configuration File Template for vb 2005 express

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
3 5054

"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
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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
1
by: marco_segurini | last post by:
Hi, At the moment I am using Visual Studio 2005 beta 1. The following program does not compile using the debug configuration setting the "Disable Language Extensions" flag to "Yes(/Za)" while...
5
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied...
8
by: Shimon Sim | last post by:
Hi I converted my existing ASP.NET project to VS.NET 2005. Build gives me some warnings about config file. I have custom section definition in web.config. Were there any changes in this for...
9
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and...
6
by: Michael Tissington | last post by:
I'm trying to add some extensions to IIS on the properties, home directory, config screen. I must be missing something because the OK button is always disabled ... Any ideas please ? --...
0
by: Mart | last post by:
Hi, I have just written (my first) VB.net app using MS Visual Basic 2005 Express Edition Beta. It is fairly simple, it reads some configuration data from an XML file then opens a new window...
6
by: Matt | last post by:
I have been searching around for quite a while now, trying to figure out how to securely connect a Windows Forms application to an instance of SQL Server 2005. I have looked through SQL Server...
4
by: esha | last post by:
I have ASP.NET 2 hosting. I created my first simple WEB application from Personal WEB Starter Kit template. Everything works fine on my local machine. I uploaded all files to the hosting server....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.