<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Mircea&#039;s Space</title>
	<atom:link href="http://walkinghumble.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://walkinghumble.wordpress.com</link>
	<description>Just another programmer&#039;s site.</description>
	<lastBuildDate>Wed, 13 Feb 2013 23:01:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Windows 2008 R2 DNS fails to use another non Microsoft DNS as a forwarder by http://google.com</title>
		<link>http://walkinghumble.wordpress.com/2010/03/11/windows-2008-r2-dns-fails-to-use-another-non-microsoft-dns-as-a-forwarder/#comment-88</link>
		<dc:creator><![CDATA[http://google.com]]></dc:creator>
		<pubDate>Wed, 13 Feb 2013 23:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://walkinghumble.wordpress.com/2010/03/11/windows-2008-r2-dns-fails-to-use-another-non-microsoft-dns-as-a-forwarder#comment-88</guid>
		<description><![CDATA[]]></description>
		<content:encoded><![CDATA[<p>â€śWindows 2008 R2 DNS fails to use another non Microsoft DNS as a forwarder « Mircea&#8217;s Spaceâ€ť was in fact a perfect post. However, if it had even more photographs this could be even more beneficial. Regards -Micki</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Exe, Dll assemblies and their config file applicationSettings group section. by mirceaion</title>
		<link>http://walkinghumble.wordpress.com/2012/04/13/exe-dll-assemblies-and-their-config-file-applicationsettings-group-section/#comment-86</link>
		<dc:creator><![CDATA[mirceaion]]></dc:creator>
		<pubDate>Wed, 17 Oct 2012 15:29:26 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/?p=160#comment-86</guid>
		<description><![CDATA[Hm, you cannot access dll&#039;s settings from Main and Main&#039;s settings from the dll. The purpose of merging the dll setings into the main.exe.config is only to make the settings available to external modification and further to the dll at runtime, otherwise the dll will use the setting values stored inside the dll at compile time.

What you want to do you&#039;ll have to do it in a different way:
1. Either find a way to pass arround those values you are interested between code executing in Main and code executing in the dll. Aggregate them in an object and pass them around as a parameter.
2. Create your own settings file. Xml format is not a bad choice. With LINQ to XML it&#039;s a pleasure to work with XML filed. Ini file is good too though there&#039;s no support in .NET (though, you can find .Net wrappers for the Win32 API methods do do it). You&#039;ll be able to access that file as you please from any code.

Cheers.]]></description>
		<content:encoded><![CDATA[<p>Hm, you cannot access dll&#8217;s settings from Main and Main&#8217;s settings from the dll. The purpose of merging the dll setings into the main.exe.config is only to make the settings available to external modification and further to the dll at runtime, otherwise the dll will use the setting values stored inside the dll at compile time.</p>
<p>What you want to do you&#8217;ll have to do it in a different way:<br />
1. Either find a way to pass arround those values you are interested between code executing in Main and code executing in the dll. Aggregate them in an object and pass them around as a parameter.<br />
2. Create your own settings file. Xml format is not a bad choice. With LINQ to XML it&#8217;s a pleasure to work with XML filed. Ini file is good too though there&#8217;s no support in .NET (though, you can find .Net wrappers for the Win32 API methods do do it). You&#8217;ll be able to access that file as you please from any code.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Exe, Dll assemblies and their config file applicationSettings group section. by Martin</title>
		<link>http://walkinghumble.wordpress.com/2012/04/13/exe-dll-assemblies-and-their-config-file-applicationsettings-group-section/#comment-85</link>
		<dc:creator><![CDATA[Martin]]></dc:creator>
		<pubDate>Wed, 17 Oct 2012 09:21:27 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/?p=160#comment-85</guid>
		<description><![CDATA[Thanks very much for your reply. What I&#039;m trying to accomplish is this: 
step 1: my .exe writes some values to the app.config (the project is actually called &quot;Main&quot;). I checked this and it works and I can retrieve them as long as I try to do it in a code-file somewhere within my Main-project. (BTW I choose the User scope, good to know that it was the right choice)
step 2: In one of my dll&#039;s I have to retrieve those values, however there&#039;s no way I can reach them, the code: &quot;Global::Main.My.Settings.someVariable&quot;  works in my Main-project (actually just &quot;My.Settings&quot; will do) but not in any of my dll-projects. If I type &quot;Global.&quot; then the code completion shows me all of the dll-projects and other dll&#039;s I have references to but nothing that&#039;s in my Main-project (and obvious;y I cannot set a reference to the Main-project).

Unfortunately it is not possible to reverse the sequence (i.e. let the dll write those values to the config-file and retrieve them in my Main-project)

Thanks again for your very quick reply!]]></description>
		<content:encoded><![CDATA[<p>Thanks very much for your reply. What I&#8217;m trying to accomplish is this:<br />
step 1: my .exe writes some values to the app.config (the project is actually called &#8220;Main&#8221;). I checked this and it works and I can retrieve them as long as I try to do it in a code-file somewhere within my Main-project. (BTW I choose the User scope, good to know that it was the right choice)<br />
step 2: In one of my dll&#8217;s I have to retrieve those values, however there&#8217;s no way I can reach them, the code: &#8220;Global::Main.My.Settings.someVariable&#8221;  works in my Main-project (actually just &#8220;My.Settings&#8221; will do) but not in any of my dll-projects. If I type &#8220;Global.&#8221; then the code completion shows me all of the dll-projects and other dll&#8217;s I have references to but nothing that&#8217;s in my Main-project (and obvious;y I cannot set a reference to the Main-project).</p>
<p>Unfortunately it is not possible to reverse the sequence (i.e. let the dll write those values to the config-file and retrieve them in my Main-project)</p>
<p>Thanks again for your very quick reply!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Exe, Dll assemblies and their config file applicationSettings group section. by mirceaion</title>
		<link>http://walkinghumble.wordpress.com/2012/04/13/exe-dll-assemblies-and-their-config-file-applicationsettings-group-section/#comment-84</link>
		<dc:creator><![CDATA[mirceaion]]></dc:creator>
		<pubDate>Tue, 16 Oct 2012 18:06:25 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/?p=160#comment-84</guid>
		<description><![CDATA[I don&#039;t exactly understand what you want to do but I&#039;ll answer to what I think you meant.

Application settings (and I mean settings of scope Application ) are read-only so you cannot modify them on disk.
If you want settings which you can read, modify and then write back so you can read back the latest value at a later time then you have to use User settings. In the same Settings tab of the project properties you will have to select the User scope for you settings.
The mechanism of moving those user settings from the dll&#039;s app.config to the executable that will use the dll is exactly the same as for Application settings.
you read from
&lt;code&gt;someVariable = global::Main.Properties.Settings.Default.yoursetting1&lt;/code&gt;
you write back to it
&lt;code&gt;global::Main.Properties.Settings.Default.yoursetting1 = someVariable&lt;/code&gt;
and then save
&lt;code&gt;Main.Properties.Settings.Default.Save()&lt;/code&gt;

If it is not what you wanted try to be more specific in what you try to accomplish and I&#039;ll do my best to answer.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t exactly understand what you want to do but I&#8217;ll answer to what I think you meant.</p>
<p>Application settings (and I mean settings of scope Application ) are read-only so you cannot modify them on disk.<br />
If you want settings which you can read, modify and then write back so you can read back the latest value at a later time then you have to use User settings. In the same Settings tab of the project properties you will have to select the User scope for you settings.<br />
The mechanism of moving those user settings from the dll&#8217;s app.config to the executable that will use the dll is exactly the same as for Application settings.<br />
you read from<br />
<code>someVariable = global::Main.Properties.Settings.Default.yoursetting1</code><br />
you write back to it<br />
<code>global::Main.Properties.Settings.Default.yoursetting1 = someVariable</code><br />
and then save<br />
<code>Main.Properties.Settings.Default.Save()</code></p>
<p>If it is not what you wanted try to be more specific in what you try to accomplish and I&#8217;ll do my best to answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Exe, Dll assemblies and their config file applicationSettings group section. by Martin</title>
		<link>http://walkinghumble.wordpress.com/2012/04/13/exe-dll-assemblies-and-their-config-file-applicationsettings-group-section/#comment-83</link>
		<dc:creator><![CDATA[Martin]]></dc:creator>
		<pubDate>Tue, 16 Oct 2012 15:51:14 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/?p=160#comment-83</guid>
		<description><![CDATA[I hope this is not an obvious question, but I want to accomplish exactly the oppposite: writing some values in my main project (the winform.exe project in my solution) and then retrieving them if and when necessary in a class library (i.e. a dll-project in my solution) .

How do I accomplish that? I suppose it will not work if I just copy the whole  &quot;Main&quot; is the name of my .exe-project into the config file of the dll-project because: how will I write the correct values to it?

Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>I hope this is not an obvious question, but I want to accomplish exactly the oppposite: writing some values in my main project (the winform.exe project in my solution) and then retrieving them if and when necessary in a class library (i.e. a dll-project in my solution) .</p>
<p>How do I accomplish that? I suppose it will not work if I just copy the whole  &#8220;Main&#8221; is the name of my .exe-project into the config file of the dll-project because: how will I write the correct values to it?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Exe, Dll assemblies and their config file applicationSettings group section. by Virginia</title>
		<link>http://walkinghumble.wordpress.com/2012/04/13/exe-dll-assemblies-and-their-config-file-applicationsettings-group-section/#comment-76</link>
		<dc:creator><![CDATA[Virginia]]></dc:creator>
		<pubDate>Thu, 31 May 2012 10:30:27 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/?p=160#comment-76</guid>
		<description><![CDATA[You have been the solution to my problems, I found the hidden treasure]]></description>
		<content:encoded><![CDATA[<p>You have been the solution to my problems, I found the hidden treasure</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to become a sysadmin on a SQLEXPRESS 2008 installation when you are not the original installer, SQL authentication is not enabled but you are a Windows administrator. by Suvidha</title>
		<link>http://walkinghumble.wordpress.com/2011/04/13/how-to-become-a-sysadmin-on-a-sqlexpress-2008-installation-when-you-are-not-the-original-installer-sql-authentication-is-not-enabled-but-you-are-a-windows-administrator/#comment-75</link>
		<dc:creator><![CDATA[Suvidha]]></dc:creator>
		<pubDate>Fri, 11 May 2012 20:37:24 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/2011/04/13/how-to-become-a-sysadmin-on-a-sqlexpress-2008-installation-when-you-are-not-the-original-installer-sql-authentication-is-not-enabled-but-you-are-a-windows-administrator/#comment-75</guid>
		<description><![CDATA[Thank you so so so soooo much!!! tried many other links online.. but urs worked :)]]></description>
		<content:encoded><![CDATA[<p>Thank you so so so soooo much!!! tried many other links online.. but urs worked <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to become a sysadmin on a SQLEXPRESS 2008 installation when you are not the original installer, SQL authentication is not enabled but you are a Windows administrator. by mirceaion</title>
		<link>http://walkinghumble.wordpress.com/2011/04/13/how-to-become-a-sysadmin-on-a-sqlexpress-2008-installation-when-you-are-not-the-original-installer-sql-authentication-is-not-enabled-but-you-are-a-windows-administrator/#comment-69</link>
		<dc:creator><![CDATA[mirceaion]]></dc:creator>
		<pubDate>Fri, 28 Oct 2011 16:33:16 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/2011/04/13/how-to-become-a-sysadmin-on-a-sqlexpress-2008-installation-when-you-are-not-the-original-installer-sql-authentication-is-not-enabled-but-you-are-a-windows-administrator/#comment-69</guid>
		<description><![CDATA[I thought it was implied, but your observation is correct.

I missed it because as soon as I can I set my pinned taskbar icons to launch many of my apps especially administration consoles in Administrator Mode.]]></description>
		<content:encoded><![CDATA[<p>I thought it was implied, but your observation is correct.</p>
<p>I missed it because as soon as I can I set my pinned taskbar icons to launch many of my apps especially administration consoles in Administrator Mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to become a sysadmin on a SQLEXPRESS 2008 installation when you are not the original installer, SQL authentication is not enabled but you are a Windows administrator. by wigharas</title>
		<link>http://walkinghumble.wordpress.com/2011/04/13/how-to-become-a-sysadmin-on-a-sqlexpress-2008-installation-when-you-are-not-the-original-installer-sql-authentication-is-not-enabled-but-you-are-a-windows-administrator/#comment-68</link>
		<dc:creator><![CDATA[wigharas]]></dc:creator>
		<pubDate>Fri, 28 Oct 2011 16:13:16 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/2011/04/13/how-to-become-a-sysadmin-on-a-sqlexpress-2008-installation-when-you-are-not-the-original-installer-sql-authentication-is-not-enabled-but-you-are-a-windows-administrator/#comment-68</guid>
		<description><![CDATA[There is one issue in this step: 
Launch the SQL Server Management Studio and do whatever you want because you are now a sysadmin; basically you would like to add your Windows account as a SQL login; add the sysadmin server role to this login;

Launching of SQL Server Management Studio needs to run as Administrator mode or you will get an error: Login failed for user.. Reason: Server is in single user mode. Only one administrator can connect at this time.]]></description>
		<content:encoded><![CDATA[<p>There is one issue in this step:<br />
Launch the SQL Server Management Studio and do whatever you want because you are now a sysadmin; basically you would like to add your Windows account as a SQL login; add the sysadmin server role to this login;</p>
<p>Launching of SQL Server Management Studio needs to run as Administrator mode or you will get an error: Login failed for user.. Reason: Server is in single user mode. Only one administrator can connect at this time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on System.Data.ConstraintException: Failed to enable constraints. by some guy with the same error</title>
		<link>http://walkinghumble.wordpress.com/2010/10/11/system-data-constraintexception-failed-to-enable-constraints/#comment-67</link>
		<dc:creator><![CDATA[some guy with the same error]]></dc:creator>
		<pubDate>Tue, 11 Oct 2011 07:41:31 +0000</pubDate>
		<guid isPermaLink="false">https://walkinghumble.wordpress.com/2010/10/11/system-data-constraintexception-failed-to-enable-constraints/#comment-67</guid>
		<description><![CDATA[Very helpful, saved my ass.]]></description>
		<content:encoded><![CDATA[<p>Very helpful, saved my ass.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
