Click here to Skip to main content
15,908,437 members
Home / Discussions / C#
   

C#

 
Questioncan any body help me ? Pin
Boshkash30-Oct-06 4:22
Boshkash30-Oct-06 4:22 
AnswerRe: can any body help me ? Pin
Robert Rohde30-Oct-06 4:29
Robert Rohde30-Oct-06 4:29 
AnswerRe: can any body help me ? Pin
Pete O'Hanlon30-Oct-06 4:40
mvePete O'Hanlon30-Oct-06 4:40 
AnswerRe: can any body help me ? Pin
V.30-Oct-06 4:45
professionalV.30-Oct-06 4:45 
AnswerRe: can any body help me ? Pin
User 665830-Oct-06 6:09
User 665830-Oct-06 6:09 
QuestionHow to using AxAcroPDFLib.AxAcroPDF Pin
jason_mf30-Oct-06 4:18
jason_mf30-Oct-06 4:18 
AnswerRe: How to using AxAcroPDFLib.AxAcroPDF Pin
jason_mf30-Oct-06 15:59
jason_mf30-Oct-06 15:59 
QuestionWhy isn't ComboBox.SelectedIndexChanged fired during form construction. Pin
Dan Neely30-Oct-06 4:01
Dan Neely30-Oct-06 4:01 
AnswerRe: Why isn't ComboBox.SelectedIndexChanged fired during form construction. Pin
ednrgc30-Oct-06 4:44
ednrgc30-Oct-06 4:44 
QuestionStoring/rettrieving windowbounds Pin
Bekjong30-Oct-06 3:21
Bekjong30-Oct-06 3:21 
AnswerRe: Storing/rettrieving windowbounds Pin
Pete O'Hanlon30-Oct-06 4:43
mvePete O'Hanlon30-Oct-06 4:43 
AnswerRe: Storing/rettrieving windowbounds Pin
S. Senthil Kumar30-Oct-06 7:56
S. Senthil Kumar30-Oct-06 7:56 
GeneralRe: Storing/rettrieving windowbounds Pin
Bekjong30-Oct-06 21:49
Bekjong30-Oct-06 21:49 
QuestionHelp and Hints needed / Motion Tracking [modified] Pin
luedfe30-Oct-06 3:06
luedfe30-Oct-06 3:06 
AnswerRe: Help and Hints needed / Motion Tracking Pin
Baconbutty30-Oct-06 3:39
Baconbutty30-Oct-06 3:39 
GeneralRe: Help and Hints needed / Motion Tracking Pin
luedfe30-Oct-06 3:45
luedfe30-Oct-06 3:45 
GeneralRe: Help and Hints needed / Motion Tracking Pin
superwave22-Aug-09 22:05
superwave22-Aug-09 22:05 
QuestionOld values in settings Pin
kct30-Oct-06 2:20
kct30-Oct-06 2:20 
Hello everyone,

I have a problem with my Settings

I want to save my connection string in the Settings.
I initialize a form and fill the textbox:
<br />
Settings.settings = Settings.Default;<br />
tb_ConnectionString.Text = settings.ConnectionString;<br />


I can change the string in the gui:
<br />
settings.ConnectionString = tb_ConnectionString.Text;<br />


Now, everything is fine. For testing I changed the connection string in the gui and this changed string appears in the settings.
I changed the connection string in Visual Studio back to the correct string.
This string appears in the settings, in the Settings.Designer.cs as the default value and of cause in the App.config

Now I start the project again an while initializing:
<br />
Settings.settings = Settings.Default;<br />
tb_ConnectionString.Text = settings.ConnectionString;<br />

setting.ConnectionString is wrong. It is the old/changed string

I removed the setting key, recompiled, added again the connection key to the settings but again the old connection string.

I searched for old string in my project but found nothing.
Restart of Visual Studio...again th old connection string.

How does VS get the old connection string and how can I avoid that?

Thanks for help.
KCT
AnswerRe: Old values in settings Pin
Christian Graus30-Oct-06 2:38
protectorChristian Graus30-Oct-06 2:38 
AnswerRe: Old values in settings Pin
kct30-Oct-06 23:32
kct30-Oct-06 23:32 
QuestionUnselecting Items in a Listbox ?? Pin
imnotso#30-Oct-06 1:40
imnotso#30-Oct-06 1:40 
AnswerRe: Unselecting Items in a Listbox ?? Pin
Robert Rohde30-Oct-06 2:00
Robert Rohde30-Oct-06 2:00 
AnswerRe: Unselecting Items in a Listbox ?? Pin
saqib8230-Oct-06 2:30
saqib8230-Oct-06 2:30 
Questionhow to implement cache memory mechanism in C# Pin
kalaveer30-Oct-06 1:07
kalaveer30-Oct-06 1:07 
AnswerRe: how to implement cache memory mechanism in C# Pin
Pete O'Hanlon30-Oct-06 2:47
mvePete O'Hanlon30-Oct-06 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.