Click here to Skip to main content
15,880,364 members
Home / Discussions / C#
   

C#

 
AnswerRe: Selecting desktop icon Pin
Richard MacCutchan18-Apr-12 5:13
mveRichard MacCutchan18-Apr-12 5:13 
QuestionHow to update in settings.settings file Pin
NarVish18-Apr-12 2:29
NarVish18-Apr-12 2:29 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen18-Apr-12 5:03
professionalEddy Vluggen18-Apr-12 5:03 
GeneralRe: How to update in settings.settings file Pin
NarVish18-Apr-12 20:15
NarVish18-Apr-12 20:15 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen19-Apr-12 0:23
professionalEddy Vluggen19-Apr-12 0:23 
GeneralRe: How to update in settings.settings file Pin
NarVish19-Apr-12 0:37
NarVish19-Apr-12 0:37 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen19-Apr-12 0:53
professionalEddy Vluggen19-Apr-12 0:53 
GeneralRe: How to update in settings.settings file Pin
NarVish19-Apr-12 1:15
NarVish19-Apr-12 1: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 7:03
professionalEddy Vluggen19-Apr-12 7:03 
Generaladd service Pin
Jimmy Darji18-Apr-12 1:00
professionalJimmy Darji18-Apr-12 1:00 
GeneralRe: add service Pin
RobCroll18-Apr-12 1:34
RobCroll18-Apr-12 1:34 
GeneralRe: add service Pin
fjdiewornncalwe18-Apr-12 3:56
professionalfjdiewornncalwe18-Apr-12 3:56 
AnswerRe: add service Pin
Vipin_Arora18-Apr-12 19:19
Vipin_Arora18-Apr-12 19:19 
Questiondisplay the list of tables in a mysql database Pin
MemberDotNetting17-Apr-12 23:22
MemberDotNetting17-Apr-12 23:22 
AnswerRe: display the list of tables in a mysql database Pin
egenis17-Apr-12 23:51
egenis17-Apr-12 23:51 
AnswerRe: display the list of tables in a mysql database Pin
Wayne Gaylard17-Apr-12 23:54
professionalWayne Gaylard17-Apr-12 23:54 
AnswerRe: display the list of tables in a mysql database Pin
Luc Pattyn18-Apr-12 1:08
sitebuilderLuc Pattyn18-Apr-12 1:08 
GeneralRe: display the list of tables in a mysql database Pin
MemberDotNetting18-Apr-12 2:48
MemberDotNetting18-Apr-12 2:48 
GeneralRe: display the list of tables in a mysql database Pin
PIEBALDconsult18-Apr-12 3:09
mvePIEBALDconsult18-Apr-12 3:09 
GeneralRe: display the list of tables in a mysql database Pin
TenmanS1418-Apr-12 3:16
TenmanS1418-Apr-12 3:16 
GeneralRe: display the list of tables in a mysql database Pin
MemberDotNetting18-Apr-12 3:25
MemberDotNetting18-Apr-12 3:25 
AnswerRe: display the list of tables in a mysql database Pin
Luc Pattyn18-Apr-12 3:39
sitebuilderLuc Pattyn18-Apr-12 3:39 
GeneralRe: display the list of tables in a mysql database Pin
PIEBALDconsult18-Apr-12 14:41
mvePIEBALDconsult18-Apr-12 14:41 
GeneralRe: display the list of tables in a mysql database Pin
MemberDotNetting19-Apr-12 10:55
MemberDotNetting19-Apr-12 10:55 
QuestionSend HTML EMail using SimpleMapi? Pin
Irgi17-Apr-12 21:42
Irgi17-Apr-12 21: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.