473,614 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 getPrivateProfi leString, 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 5080

"Barry Erick" <be****@epix.ne twrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>I guess the express edition does not have this configuration file. I had
been using a ini file with getPrivateProfi leString, 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
Configuratio n 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.Configur ation namespace that contains the ConfigurationMa nager that
allows you to read, update, delete, and write to/from the appname.exe.con fig
file.

The CM will be working with appname.exe.con fig 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.con fig.

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.c omwrote in message
news:u0******** ******@TK2MSFTN GP05.phx.gbl...
>
"Barry Erick" <be****@epix.ne twrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>>I guess the express edition does not have this configuration file. I had
been using a ini file with getPrivateProfi leString, 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
Configurati on 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.Configur ation namespace that contains the ConfigurationMa nager that
allows you to read, update, delete, and write to/from the
appname.exe.con fig file.

The CM will be working with appname.exe.con fig 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.con fig.

Aug 5 '07 #3

"Billy" <bi***@gates.or dwrote in message
news:A0******** ***********@new s1.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
2583
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: OSTDLL, Configuration: Debug Win32 ------ Compiling... StdAfx.cpp
1
1795
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 using the release configuration the build has no problem. Setting "Disable Language Extensions" flag to "No" I have no problem in both debug/release configurations.
5
20428
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 to the test server it won't work at all. Looks like aspnet_wp is trying to compile it for five seconds, then it stops working what so ever. The system event log gets the following entry: Application popup: aspnet_wp.exe - Application Error : The...
8
1579
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 ASP.NET 2.0. Where can I see what was change and how I can migrate? Thank you Shimon.
9
2764
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 wizards. But, I have found that trying to do something "outside the norm" adds a rather large level of complexity and/or data replication. Background I have been commissioned to create a web-based application for a client. It has a formsaunthentication...
6
2091
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 ? -- Michael Tissington http://www.oaklodge.com
0
3581
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 containing a WebBrowser object. This all works fine and I'm happy with my app so I want to 'publish' to a setup file so that others can install it, but when I publish it a get the following errors:
6
1570
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 Books Online, Visual Studio's online help, and searched through newsgroups, forums, and anything else I could think of without any avail. The problem is as follows: If I use SQL Server Authentication (i.e., username/password) to log into the...
4
1409
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. Pages which do not use database work, pages which communicate with the database do not work. I'm just starting to learn programming and have not enough knowledge to realize what's wrong. I just suspect that I have to change ConnectionString in...
0
8197
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8589
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8287
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5548
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4136
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2573
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1438
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.