How do I rearrange the Settings variables in VB.Net 2010 to be near the ones they are related to?
I edited the app.config file to rearrange them, but when VB loaded again they were still
shown in the old order.
Rearrange Settings in VB.Net 2010
Page 1 of 12 Replies - 435 Views - Last Post: 03 February 2012 - 09:18 AM
Topic Sponsor:
Replies To: Rearrange Settings in VB.Net 2010
#2
Re: Rearrange Settings in VB.Net 2010
Posted 02 February 2012 - 10:33 PM
Why should it matter what order the Settings variables are in? When you use them in code you are/should be using My.Settings.{PropertyName} not an indexed way. I believe you could by why make it so much harder on yourself?
#3
Re: Rearrange Settings in VB.Net 2010
Posted 03 February 2012 - 09:18 AM
I am using My.Settings.{PropertyName}.
First, when I look at them, I would like to see them in an organized way, not just in the order I thought of them and added them. It turns out that I can get them in alphabetic order by clicking on the "Name" header.
Second, I create an .msi and send it to the systems people, who install it on a workstation dedicated for User Acceptance Testing (UAT). I set it to the Production database when I create the .msi, so it is ready to go to Production after UAT as tested. The systems people edit the .config file to point to the UAT database for testing. It would be good for them if the variable they change were the very first one.
Thanks for your interest.
First, when I look at them, I would like to see them in an organized way, not just in the order I thought of them and added them. It turns out that I can get them in alphabetic order by clicking on the "Name" header.
Second, I create an .msi and send it to the systems people, who install it on a workstation dedicated for User Acceptance Testing (UAT). I set it to the Production database when I create the .msi, so it is ready to go to Production after UAT as tested. The systems people edit the .config file to point to the UAT database for testing. It would be good for them if the variable they change were the very first one.
Thanks for your interest.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|