Re: Trying again: app.config's don't work for me...project attached
- From: "Keith" <keith@xxxxxxx>
- Date: Fri, 6 Oct 2006 08:45:04 -0700
So,
No one is willing to take a look and offer some suggestions?
Keith
"Keith" <keith@xxxxxxx> wrote in message
news:%23F73D4n5GHA.3920@xxxxxxxxxxxxxxxxxxxxxxx
OK,
Since I can't seem to get app.config's to work for me, and there seems to
be a fair amount of confusion about what I'm actually asking, I've decided
to attach a simple project that should clear things up. The project is a
basic Windows Forms app that has one label that is bound to a setting in
app.config, and a series of MessageBoxes that display the same setting as
the label, but each time retrieved using a different method.
Most methods fail, and I'm trying to find out why.
I'm using the designer to add settings to the Settings.settings file, the
(properly named) app.config file gets placed in the output directory when
the project is built. The bound label properly shows the correct value
and the correct value is also retrieved if the
Properties.Settings.<settingname> syntax is used, even if the app.config
is hand-edited to change the setting's value.
All other methods fail.
I'd really appreciate it if someone could take a look at the project and
tell me what I'm doing wrong.
Thanks!
Keith
P.S. I'm using VS2005 and C# on WinXP SP2, totally current.
.
- Prev by Date: Re: Why convert a VB6 desktop ap to Dot Net?
- Next by Date: Re: Why convert a VB6 desktop ap to Dot Net?
- Previous by thread: Why convert a VB6 desktop ap to Dot Net?
- Next by thread: DataGridView Column Header text with Checkbox.
- Index(es):
Relevant Pages
|