473,382 Members | 1,247 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,382 software developers and data experts.

Faulty AppSettings will cause Winforms beeing lost

Hello,

If you change your </AppSettings> ending tag with </Appsettings>
(without uppercase 'S'), you get an 'invalid' App.config.

Now if you close your winforms and open them again, you loose their
content.

Have anyone noticed this ?

Regards,
Cybertof.
Jul 21 '05 #1
3 1417
Of course you will.

XML is case-sensitive.

"Cybertof" <cy****************@gmx.net> wrote in message
news:MP************************@msnews.microsoft.c om...
Hello,

If you change your </AppSettings> ending tag with </Appsettings>
(without uppercase 'S'), you get an 'invalid' App.config.

Now if you close your winforms and open them again, you loose their
content.

Have anyone noticed this ?

Regards,
Cybertof.

Jul 21 '05 #2
Yes, but if you have a big project, just a case-sensitive error in
"AppSettings" spellings makes all your WinForms beeing lost ?

I think this is a very bad issue.

In article <#U**************@TK2MSFTNGP12.phx.gbl>, localuser@localhost
says...
Of course you will.

XML is case-sensitive.

Jul 21 '05 #3
Cybertof <cy****************@gmx.net> wrote in
news:MP************************@msnews.microsoft.c om:

Does changing it back to "AppSettings" with upper case restore the forms?

Chris
Yes, but if you have a big project, just a case-sensitive error in
"AppSettings" spellings makes all your WinForms beeing lost ?

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Cybertof | last post by:
Hello, How to start 2 winforms at the same time (in 2 threads ?) ? Application.Run(new frmForm1()); Application.Run(new frmForm2()); Here frmForm2 waits frmForm1 to be closed before beeing...
5
by: Dan Smith | last post by:
Right now the only way to use a WinForms control in MFC is to enable COM Interop for the control and use it in MFC as you would any ActiveX control. While this works, COM Interop is a pain, and an...
20
by: Martin Rosén-Lidholm | last post by:
Although an impossible question to answer, I fell urged to raise it anyhow. Given a fairly complex ERP application scenario, what's your estimation for the X-ratio dev. time for...
2
by: Fuehner | last post by:
Everyone-- I installed the .NET 2.0 framework on a server that also has version 1.1 installed. A few of my applications override the "appSettings" section in the web.config with a custom config...
3
by: Cybertof | last post by:
Hello, If you change your </AppSettings> ending tag with </Appsettings> (without uppercase 'S'), you get an 'invalid' App.config. Now if you close your winforms and open them again, you loose...
0
by: netflex | last post by:
Working on a handed off C# project and pretty much my third time dipping into C#. In my solution file, I have a collection of .resx files in their own folder, several .cs files, and my winforms .cs...
5
by: Simon Hart | last post by:
Hi, I want to use the ConfigurationSettings.AppSettings from within a .NET class library that gets called. If using the above class, what would the name of the config file be? would this be the...
2
by: Peter Kirk | last post by:
Hi there is there any way to tell what .config file the property System.Configuration.ConfigurationManager.AppSettings is trying to access? I have a class which uses this property but no...
3
by: Mark Rae | last post by:
Hi, Apologies if this is a stupid question, but it's late... I have a C# 2 WinForms project called RTES, and I'm trying to add new key/value pairs to the appSettings section of its config...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.