<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for DonDraper.com</title>
	<atom:link href="http://www.dondraper.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dondraper.com</link>
	<description>Technology, Faith and other things that enrich our lives</description>
	<lastBuildDate>Thu, 17 May 2012 09:49:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on 500 &#8211; Internal server error from IIS 7.5 on Windows 2008 R2 by Avnesh Sharma</title>
		<link>http://www.dondraper.com/2011/01/500-internal-server-error-from-iis-7-5-on-windows-2008-r2/#comment-100</link>
		<dc:creator>Avnesh Sharma</dc:creator>
		<pubDate>Thu, 17 May 2012 09:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/2011/01/500-internal-server-error-from-iis-7-5-on-windows-2008-r2/#comment-100</guid>
		<description>Sorry to say, I set everything as instructed, but in my case it is not working, I am receiving same error 500...
Thanks to you, but want to say that IIS 7.x is funniest product I ever seen, hell with it....</description>
		<content:encoded><![CDATA[<p>Sorry to say, I set everything as instructed, but in my case it is not working, I am receiving same error 500&#8230;<br />
Thanks to you, but want to say that IIS 7.x is funniest product I ever seen, hell with it&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hike to Panther Creek Falls by Brian Murphy</title>
		<link>http://www.dondraper.com/2011/08/hike-to-panther-creek-falls/#comment-90</link>
		<dc:creator>Brian Murphy</dc:creator>
		<pubDate>Mon, 09 Apr 2012 14:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/?p=199#comment-90</guid>
		<description>Great little synopsis of the hike.  Panther Creek is my favorite hiking/camping spot in the land....I&#039;ll be there in about a week, actually.  Looks like you all had a good time.  Cheers!</description>
		<content:encoded><![CDATA[<p>Great little synopsis of the hike.  Panther Creek is my favorite hiking/camping spot in the land&#8230;.I&#8217;ll be there in about a week, actually.  Looks like you all had a good time.  Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easily Save and Retrieve Application and User Settings in VB.NET or C# Apps by Sentoso</title>
		<link>http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-89</link>
		<dc:creator>Sentoso</dc:creator>
		<pubDate>Thu, 05 Apr 2012 08:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-89</guid>
		<description>Good article for programmer.... It is very helpfull</description>
		<content:encoded><![CDATA[<p>Good article for programmer&#8230;. It is very helpfull</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easily Save and Retrieve Application and User Settings in VB.NET or C# Apps by Don Draper</title>
		<link>http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-88</link>
		<dc:creator>Don Draper</dc:creator>
		<pubDate>Fri, 16 Mar 2012 12:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-88</guid>
		<description>Mike - Reinstalling should not change the method your application uses to retrieve settings or cause the errors you are experiencing. However, I have not tested this before and am very intrigued by your findings. Unfortunately I do not have time at the moment to research your question but would appreciate you posting again should you learn more about this.

To be honest, I often bypass Microsoft&#039;s approach to saving data in config files because most of my apps only need to use application level settings. User settings in a corporate context for me would typically be stored in a database table. So I often revert to simpler, more straightforward techniques such as:

1) Create a datatable to hold the settings, then save as and retrieve as xml since this is built right into the datatable methods. Be sure you save with schema such as ....

  dt.WriteXml(Path.Combine(sAppPath, &quot;myappdatafile.xml&quot;), XmlWriteMode.WriteSchema)

The sAppPath can be obtained with something like ...

   sAppPath = My.Application.Info.DirectoryPath

Datatables are great because you can easily loop through the rows, have as many values per row as needed and even pass single rows to methods as a DataRow.

2) Use the old tried and true INI file approach such as a simple text file with Name=Value pairs on each line. You can retrieve this file into an array of strings with single line such as....

   Dim myappdata() As String = File.ReadAllLines(sDataFilePath)

Then loop through the array and split each line at the = character and store into a hashtable, list or object array. This is so easy to read and write to. Microsoft wanted to create a generic and universal approach to saving data and it does work but can often require much time to learn all the nuances. But if your needs are simple, then designing your own approach that you have complete control over.</description>
		<content:encoded><![CDATA[<p>Mike &#8211; Reinstalling should not change the method your application uses to retrieve settings or cause the errors you are experiencing. However, I have not tested this before and am very intrigued by your findings. Unfortunately I do not have time at the moment to research your question but would appreciate you posting again should you learn more about this.</p>
<p>To be honest, I often bypass Microsoft&#8217;s approach to saving data in config files because most of my apps only need to use application level settings. User settings in a corporate context for me would typically be stored in a database table. So I often revert to simpler, more straightforward techniques such as:</p>
<p>1) Create a datatable to hold the settings, then save as and retrieve as xml since this is built right into the datatable methods. Be sure you save with schema such as &#8230;.</p>
<p>  dt.WriteXml(Path.Combine(sAppPath, &#8220;myappdatafile.xml&#8221;), XmlWriteMode.WriteSchema)</p>
<p>The sAppPath can be obtained with something like &#8230;</p>
<p>   sAppPath = My.Application.Info.DirectoryPath</p>
<p>Datatables are great because you can easily loop through the rows, have as many values per row as needed and even pass single rows to methods as a DataRow.</p>
<p>2) Use the old tried and true INI file approach such as a simple text file with Name=Value pairs on each line. You can retrieve this file into an array of strings with single line such as&#8230;.</p>
<p>   Dim myappdata() As String = File.ReadAllLines(sDataFilePath)</p>
<p>Then loop through the array and split each line at the = character and store into a hashtable, list or object array. This is so easy to read and write to. Microsoft wanted to create a generic and universal approach to saving data and it does work but can often require much time to learn all the nuances. But if your needs are simple, then designing your own approach that you have complete control over.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easily Save and Retrieve Application and User Settings in VB.NET or C# Apps by Mike</title>
		<link>http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-87</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 15 Mar 2012 11:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-87</guid>
		<description>A very nice and clear article indeed. When an .EXE is installed for a second or more time does it read from the user.config or from the App.config/appName.exe. I am asking because at that stage the user.config file already exists. I got this puzzle in this example. I set the of NewInstallation to True. Then after installation, the value is set to False and saved, sothat when the app runs it always detect a False value for NewInstalltion. However, wwhen I install the project it does detect NewInstallation to be True on the fiirst installation. When you remove the app and re-install, it always detect a False value for NewInstallation and therefore crashes. It seems to me that on subsequent installations, the .EXE file no longer reads from the App.config, but from the user.config, which unfortunately has been updated. Please explain this puzzle. If this is the case, one has to delete the user.config file before doing any subsequent installations. If this is the only solution, how then does one delete the user.config file? Thanks for clarifying this for me. Mike</description>
		<content:encoded><![CDATA[<p>A very nice and clear article indeed. When an .EXE is installed for a second or more time does it read from the user.config or from the App.config/appName.exe. I am asking because at that stage the user.config file already exists. I got this puzzle in this example. I set the of NewInstallation to True. Then after installation, the value is set to False and saved, sothat when the app runs it always detect a False value for NewInstalltion. However, wwhen I install the project it does detect NewInstallation to be True on the fiirst installation. When you remove the app and re-install, it always detect a False value for NewInstallation and therefore crashes. It seems to me that on subsequent installations, the .EXE file no longer reads from the App.config, but from the user.config, which unfortunately has been updated. Please explain this puzzle. If this is the case, one has to delete the user.config file before doing any subsequent installations. If this is the only solution, how then does one delete the user.config file? Thanks for clarifying this for me. Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 500 &#8211; Internal server error from IIS 7.5 on Windows 2008 R2 by Randy</title>
		<link>http://www.dondraper.com/2011/01/500-internal-server-error-from-iis-7-5-on-windows-2008-r2/#comment-85</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Wed, 29 Feb 2012 17:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/2011/01/500-internal-server-error-from-iis-7-5-on-windows-2008-r2/#comment-85</guid>
		<description>Thanks for providing this detailed explanation.  It worked and kept me from pulling my hair out and tossing the computer out the window!  I am now able to successfully debug my ancient .asp code.</description>
		<content:encoded><![CDATA[<p>Thanks for providing this detailed explanation.  It worked and kept me from pulling my hair out and tossing the computer out the window!  I am now able to successfully debug my ancient .asp code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Do not use AlternatingItemTemplate Just to Change Row Color by Greg Abernethy</title>
		<link>http://www.dondraper.com/2010/01/done28099t-use-alternatingitemtemplate-just-to-change-row-color/#comment-84</link>
		<dc:creator>Greg Abernethy</dc:creator>
		<pubDate>Fri, 10 Feb 2012 05:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dondraper.com/2010/01/done28099t-use-alternatingitemtemplate-just-to-change-row-color/#comment-84</guid>
		<description>Thanks Don, it really solved my alternating item issue, Cheers!!</description>
		<content:encoded><![CDATA[<p>Thanks Don, it really solved my alternating item issue, Cheers!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Custom Laptop Cooler for Docked Laptop by Don Draper</title>
		<link>http://www.dondraper.com/2011/12/a-custom-laptop-cooler-for-docked-laptop/#comment-83</link>
		<dc:creator>Don Draper</dc:creator>
		<pubDate>Tue, 07 Feb 2012 13:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/?p=270#comment-83</guid>
		<description>Please share photos of your solution once completed. Thanks!</description>
		<content:encoded><![CDATA[<p>Please share photos of your solution once completed. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Custom Laptop Cooler for Docked Laptop by Daniel Ng</title>
		<link>http://www.dondraper.com/2011/12/a-custom-laptop-cooler-for-docked-laptop/#comment-82</link>
		<dc:creator>Daniel Ng</dc:creator>
		<pubDate>Tue, 07 Feb 2012 08:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/?p=270#comment-82</guid>
		<description>I&#039;m a Precision user as well., this is my 3rd workstation, been searching high and low for this.

I did a custom myself as well. Thiking the base must be alumniium and 3x 80mm fans to blow cold air in from the base.

Then additional fans at the rear to help extract air out from the two vents.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a Precision user as well., this is my 3rd workstation, been searching high and low for this.</p>
<p>I did a custom myself as well. Thiking the base must be alumniium and 3x 80mm fans to blow cold air in from the base.</p>
<p>Then additional fans at the rear to help extract air out from the two vents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easily Save and Retrieve Application and User Settings in VB.NET or C# Apps by Mark Raishbrook</title>
		<link>http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-81</link>
		<dc:creator>Mark Raishbrook</dc:creator>
		<pubDate>Sat, 28 Jan 2012 20:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.dondraper.com/2011/01/easily-save-and-retrieve-application-and-user-settings-in-vb-net-or-c-apps/#comment-81</guid>
		<description>Adam raises a very good point: when you release any minor update, all the user&#039;s settings are lost. This strikes me as a huge oversight on the part of Microsoft.</description>
		<content:encoded><![CDATA[<p>Adam raises a very good point: when you release any minor update, all the user&#8217;s settings are lost. This strikes me as a huge oversight on the part of Microsoft.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

