Click here to Skip to main content
15,123,509 members
Home / Discussions / C#
   

C#

 
AnswerRe: Selecting desktop icon Pin
Richard MacCutchan18-Apr-12 6:13
mveRichard MacCutchan18-Apr-12 6:13 
QuestionHow to update in settings.settings file Pin
NarVish18-Apr-12 3:29
MemberNarVish18-Apr-12 3:29 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen18-Apr-12 6:03
professionalEddy Vluggen18-Apr-12 6:03 
GeneralRe: How to update in settings.settings file Pin
NarVish18-Apr-12 21:15
MemberNarVish18-Apr-12 21:15 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen19-Apr-12 1:23
professionalEddy Vluggen19-Apr-12 1:23 
GeneralRe: How to update in settings.settings file Pin
NarVish19-Apr-12 1:37
MemberNarVish19-Apr-12 1:37 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen19-Apr-12 1:53
professionalEddy Vluggen19-Apr-12 1:53 
GeneralRe: How to update in settings.settings file Pin
NarVish19-Apr-12 2:15
MemberNarVish19-Apr-12 2:15 
My app.config contains the below settings.
<applicationSettings>
  <LibClient.Properties.Settings>
    <setting name="LibClient_WebReference_CRService" serializeAs="String">
       <value>http://localhost:8888/TestService/services/TestService.TestServiceHttpSoap11Endpoint/</value>
    </setting>
  </LibClient.Properties.Settings>
</applicationSettings>

I changed the port value in given url. like http://localhost:8080/TestService/services/TestService.TestServiceHttpSoap11Endpoint

When I run the code it is using old port value 8888 not 8080.
Because settings file was not updated with the new value 8080
Hope you understood the issue. I just have to update the settings whenever the config file gets changed. I tried with the below code in my class constructor as suggested by you. Still its not updating.
Properties.Settings.Default.Save();
Properties.Settings.Default.Reload();
GeneralRe: How to update in settings.settings file Pin
Eddy Vluggen19-Apr-12 8:03
professionalEddy Vluggen19-Apr-12 8:03 
Generaladd service Pin
Jimmy Darji18-Apr-12 2:00
professionalJimmy Darji18-Apr-12 2:00 
GeneralRe: add service Pin
RobCroll18-Apr-12 2:34
MemberRobCroll18-Apr-12 2:34 
GeneralRe: add service Pin
fjdiewornncalwe18-Apr-12 4:56
professionalfjdiewornncalwe18-Apr-12 4:56 
AnswerRe: add service Pin
Vipin_Arora18-Apr-12 20:19
MemberVipin_Arora18-Apr-12 20:19 
Questiondisplay the list of tables in a mysql database Pin
MemberDotNetting18-Apr-12 0:22
MemberMemberDotNetting18-Apr-12 0:22 
AnswerRe: display the list of tables in a mysql database Pin
egenis18-Apr-12 0:51
Memberegenis18-Apr-12 0:51 
AnswerRe: display the list of tables in a mysql database Pin
Wayne Gaylard18-Apr-12 0:54
professionalWayne Gaylard18-Apr-12 0:54 
AnswerRe: display the list of tables in a mysql database Pin
Luc Pattyn18-Apr-12 2:08
sitebuilderLuc Pattyn18-Apr-12 2:08 
GeneralRe: display the list of tables in a mysql database Pin
MemberDotNetting18-Apr-12 3:48
MemberMemberDotNetting18-Apr-12 3:48 
GeneralRe: display the list of tables in a mysql database Pin
PIEBALDconsult18-Apr-12 4:09
professionalPIEBALDconsult18-Apr-12 4:09 
GeneralRe: display the list of tables in a mysql database Pin
TenmanS1418-Apr-12 4:16
MemberTenmanS1418-Apr-12 4:16 
GeneralRe: display the list of tables in a mysql database Pin
MemberDotNetting18-Apr-12 4:25
MemberMemberDotNetting18-Apr-12 4:25 
AnswerRe: display the list of tables in a mysql database Pin
Luc Pattyn18-Apr-12 4:39
sitebuilderLuc Pattyn18-Apr-12 4:39 
GeneralRe: display the list of tables in a mysql database Pin
PIEBALDconsult18-Apr-12 15:41
professionalPIEBALDconsult18-Apr-12 15:41 
GeneralRe: display the list of tables in a mysql database Pin
MemberDotNetting19-Apr-12 11:55
MemberMemberDotNetting19-Apr-12 11:55 
QuestionSend HTML EMail using SimpleMapi? Pin
Irgi17-Apr-12 22:42
MemberIrgi17-Apr-12 22:42 

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.