<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>beta.blog</title>
	<atom:link href="http://www.betamaster.us/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.betamaster.us/blog</link>
	<description>imagine. create. innovate.</description>
	<lastBuildDate>Sat, 05 May 2012 21:57:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Unable to generate a request. Please contact technical support.</title>
		<link>http://www.betamaster.us/blog/?p=1091</link>
		<comments>http://www.betamaster.us/blog/?p=1091#comments</comments>
		<pubDate>Sat, 05 May 2012 21:57:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random()]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1091</guid>
		<description><![CDATA[&#8220;Unable to generate a request. Please contact technical support.&#8221; &#8211; this is the error message I currently get when trying to add funds to my WebMoney purse (WME). I noticed the server at top-up.webmoney.ru was down for several hours as well and now as it&#8217;s finally back online I get this error message. Seems to [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Unable to generate a request. Please contact technical support.&#8221; &#8211; this is the error message I currently get when trying to add funds to my WebMoney purse (WME). I noticed the server at <strong>top-up.webmoney.ru</strong> was down for several hours as well and now as it&#8217;s finally back online I get this error message.</p>
<p>Seems to be a temporary error message, I&#8217;m gonna retry tomorrow I guess.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1091</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF: Application.DoEvents()</title>
		<link>http://www.betamaster.us/blog/?p=1088</link>
		<comments>http://www.betamaster.us/blog/?p=1088#comments</comments>
		<pubDate>Thu, 19 Apr 2012 14:11:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1088</guid>
		<description><![CDATA[This is a small hack allowing you to use something such as Application.DoEvents() in your WPF application:]]></description>
			<content:encoded><![CDATA[<p>This is a small hack allowing you to use something such as <strong>Application.DoEvents()</strong> in your WPF application:</p>
<pre class="brush: csharp; title: ; notranslate">if (Application.Current != null)
  Application.Current.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Background, new ThreadStart(delegate { }));</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1088</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7: Kill a process by name from CMD</title>
		<link>http://www.betamaster.us/blog/?p=1085</link>
		<comments>http://www.betamaster.us/blog/?p=1085#comments</comments>
		<pubDate>Tue, 17 Apr 2012 12:02:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random()]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1085</guid>
		<description><![CDATA[The shell command to kill processes is taskkill. In order to kill a process by it&#8217;s image name (also known as the name of the executable, e.g. notepad.exe) you&#8217;d have to type a command such as this one: That&#8217;s basically it.]]></description>
			<content:encoded><![CDATA[<p>The shell command to kill processes is <strong>taskkill</strong>. In order to kill a process by it&#8217;s image name (also known as the name of the executable, e.g. notepad.exe) you&#8217;d have to type a command such as this one:</p>
<pre class="brush: plain; title: ; notranslate">taskkill /im notepad.exe</pre>
<p>That&#8217;s basically it. <img src='http://www.betamaster.us/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1085</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7: What is Testmode Windows 7 Build 7601 and how to disable it?</title>
		<link>http://www.betamaster.us/blog/?p=1078</link>
		<comments>http://www.betamaster.us/blog/?p=1078#comments</comments>
		<pubDate>Fri, 06 Apr 2012 11:53:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random()]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1078</guid>
		<description><![CDATA[The Windows 7 Testmode is a special operating system mode in which it will allow the usage of unsigned drivers. Usually device manufacturers have to sign their drivers via Microsoft. In order to test those drivers there is a test certificate which allows the driver developers to test their drivers. Since I felt annoyed by [...]]]></description>
			<content:encoded><![CDATA[<p>The Windows 7 Testmode is a special operating system mode in which it will allow the usage of unsigned drivers. Usually device manufacturers have to sign their drivers via Microsoft.</p>
<p>In order to test those drivers there is a test certificate which allows the driver developers to test their drivers.</p>
<p>Since I felt annoyed by this test mode watermark on my desktop I decided to get rid of it.</p>
<h2>How to disable the test mode?</h2>
<p><span style="color: #ff9900;">1</span>. Enter a command prompt: <strong>cmd.exe</strong><br />
<span style="color: #ff9900;">2</span>. Type the following command: <strong>bcdedit -set TESTSIGNING OFF</strong><br />
<span style="color: #ff9900;">3</span>. Reboot.</p>
<h2>How to enable it again?</h2>
<p><span style="color: #ff9900;">1</span>. Enter a command prompt: <strong>cmd.exe</strong><br />
<span style="color: #ff9900;">2</span>. Type the following command: <strong>bcdedit -set TESTSIGNING ON</strong><br />
<span style="color: #ff9900;">3</span>. Reboot.</p>
<h2>How do I check if it&#8217;s enabled or not?</h2>
<p><span style="color: #ff9900;">1</span>. Enter a command prompt: <strong>cmd.exe</strong><br />
<span style="color: #ff9900;">2</span>. Type the following command: <strong>bcdedit</strong></p>
<p><a href="http://www.betamaster.us/blog/wp-content/uploads/2012/04/IC535025.png" class="gallery_colorbox"><img src="http://www.betamaster.us/blog/wp-content/uploads/2012/04/IC535025.png"  alt="" title="IC535025" width="576" height="373" class="alignleft size-full wp-image-1082" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1078</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF: Disable Maximize Button of a Window</title>
		<link>http://www.betamaster.us/blog/?p=1072</link>
		<comments>http://www.betamaster.us/blog/?p=1072#comments</comments>
		<pubDate>Thu, 01 Mar 2012 09:02:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1072</guid>
		<description><![CDATA[If you want to disable the Maximize button only: • Set the window property ResizeMode to CanMinimize If you want to disable the Maximize as well as the Minimize button: • Set the window property ResizeMode to NoResize]]></description>
			<content:encoded><![CDATA[<p>If you want to disable the Maximize button <span style="text-decoration: underline;">only</span>:</p>
<p>• Set the window property <strong>ResizeMode</strong> to <em>CanMinimize</em></p>
<p>If you want to disable the Maximize as well as the Minimize button:</p>
<p>• Set the window property <strong>ResizeMode</strong> to <em>NoResize</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1072</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# &#8211; Get FileName of Current Executable</title>
		<link>http://www.betamaster.us/blog/?p=1066</link>
		<comments>http://www.betamaster.us/blog/?p=1066#comments</comments>
		<pubDate>Wed, 29 Feb 2012 12:12:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1066</guid>
		<description><![CDATA[This is how to get the filename of your executable-file in C-Sharp: It&#8217;s a String and you can print it like this:]]></description>
			<content:encoded><![CDATA[<p>This is how to get the filename of your executable-file in C-Sharp:</p>
<pre class="brush: csharp; title: ; notranslate">System.AppDomain.CurrentDomain.FriendlyName</pre>
<p>It&#8217;s a String and you can print it like this:</p>
<pre class="brush: csharp; title: ; notranslate">Console.WriteLine(System.AppDomain.CurrentDomain.FriendlyName);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1066</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# &#8211; Copy Folder Recursively</title>
		<link>http://www.betamaster.us/blog/?p=1063</link>
		<comments>http://www.betamaster.us/blog/?p=1063#comments</comments>
		<pubDate>Tue, 28 Feb 2012 15:04:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1063</guid>
		<description><![CDATA[I recently faced the problem of being unable to copy a directory recursively in C-Sharp. I therefore searched around the internet and found a pretty neat solution on the web. In order to copy a directory recursively, all you have to do is write a recursive function copying all files inside the folder which calls [...]]]></description>
			<content:encoded><![CDATA[<p>I recently faced the problem of being unable to copy a directory recursively in C-Sharp. I therefore searched around the internet and found a pretty neat solution on the web. In order to copy a directory recursively, all you have to do is write a recursive function copying all files inside the folder which calls itself whenever a sub-directory is about to be copied. The following example code demonstrates how to copy a directory recursively.</p>
<pre class="brush: csharp; title: ; notranslate">
private void CopyFolderRecursively(string sourceFolder, string destFolder)
{
    if (!System.IO.Directory.Exists(destFolder))
        System.IO.Directory.CreateDirectory(destFolder);
    string[] files = System.IO.Directory.GetFiles(sourceFolder);
    foreach (string file in files)
    {
        string name = System.IO.Path.GetFileName(file);
        string dest = System.IO.Path.Combine(destFolder, name);
        System.IO.File.Copy(file, dest);
    }
    string[] folders = System.IO.Directory.GetDirectories(sourceFolder);
    foreach (string folder in folders)
    {
        string name = System.IO.Path.GetFileName(folder);
        string dest = System.IO.Path.Combine(destFolder, name);
        CopyFolderRecursively(folder, dest);
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1063</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare Workstation 8: Windows cannot read the  setting from the unattend answer file</title>
		<link>http://www.betamaster.us/blog/?p=1032</link>
		<comments>http://www.betamaster.us/blog/?p=1032#comments</comments>
		<pubDate>Mon, 20 Feb 2012 13:23:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random()]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1032</guid>
		<description><![CDATA[Here is my solution for the following error message I received in VMWare Workstations 8 when attempting to install Windows 8: 1. Power off your VM. 2. Edit the Virtual Machine&#8217;s settings 3. Remove the virtual Floppy device This small change will allow you to install Windows 8:]]></description>
			<content:encoded><![CDATA[<p>Here is my solution for the following error message I received in <span style="text-decoration: underline;"><strong>VMWare Workstations 8</strong></span> when attempting to install <span style="text-decoration: underline;"><strong>Windows 8</strong></span>:</p>
<p>1. Power off your VM.<br />
2. Edit the Virtual Machine&#8217;s settings<br />
3. Remove the virtual <strong>Floppy</strong> device</p>
<table>
<tr>
<td>
<a href="http://www.betamaster.us/blog/wp-content/uploads/2012/02/vmware_workstation_8_windows_8_solution.png" class="gallery_colorbox"><img class="alignleft size-medium wp-image-1033" title="vmware_workstation_8_windows_8_solution" src="http://www.betamaster.us/blog/wp-content/uploads/2012/02/vmware_workstation_8_windows_8_solution-300x260.png"  alt="" width="300" height="260" /></a>
</td>
</tr>
</table>
<p>This small change will allow you to install Windows 8:</p>
<table>
<tr>
<td>
<a href="http://www.betamaster.us/blog/wp-content/uploads/2012/02/windows_8_vm.png" class="gallery_colorbox"><img src="http://www.betamaster.us/blog/wp-content/uploads/2012/02/windows_8_vm-300x168.png"  alt="" title="windows_8_vm" width="300" height="168" class="alignleft size-medium wp-image-1034" /></a>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1032</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF &#8211; Set the Text of a ComboBox</title>
		<link>http://www.betamaster.us/blog/?p=1021</link>
		<comments>http://www.betamaster.us/blog/?p=1021#comments</comments>
		<pubDate>Mon, 20 Feb 2012 11:28:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1021</guid>
		<description><![CDATA[I have got a ComboBox in one of my WPF projects. The relevant XAML-Code looks like this: When executing the program the ComboBox initially doesn&#8217;t have a selection. I am therefore changing its text like this: Changing the text to an item from my list: Changing the text to something which is NOT in my [...]]]></description>
			<content:encoded><![CDATA[<p>I have got a ComboBox in one of my WPF projects. The relevant XAML-Code looks like this:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;ComboBox Height=&quot;23&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;141,100,0,0&quot; Name=&quot;cbx_Subsequent&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;156&quot;&gt;
    &lt;ComboBoxItem&gt;Take no action&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Restart service&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Reboot computer&lt;/ComboBoxItem&gt;
&lt;/ComboBox&gt;
</pre>
<p>When executing the program the ComboBox initially doesn&#8217;t have a selection. I am therefore changing its text like this:</p>
<p><span style="text-decoration: underline;"><strong>Changing the text to an item from my list:</strong></span></p>
<pre class="brush: csharp; title: ; notranslate">
this.cbx_Subsequent.Text = &quot;Take no action&quot;;
</pre>
<p><span style="text-decoration: underline;"><strong>Changing the text to something which is NOT in my list:</strong></span></p>
<pre class="brush: csharp; title: ; notranslate">
this.cbx_Subsequent.IsEditable = true;
this.cbx_Subsequent.Text = &quot;Take no action&quot;;
</pre>
<p>As you can see it is necessary to set <strong>IsEditable</strong> to <strong>true</strong> if you plan to set the text to something that is not in your list. Executing this code now changes the text of the Combo Box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1021</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# &#8211; Get Startup Type of a Service (Windows)</title>
		<link>http://www.betamaster.us/blog/?p=1017</link>
		<comments>http://www.betamaster.us/blog/?p=1017#comments</comments>
		<pubDate>Thu, 16 Feb 2012 13:51:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.betamaster.us/blog/?p=1017</guid>
		<description><![CDATA[The following example code demonstrates how to determine the StartMode of a Windows Service. You need to add a reference to System.Management.dll and]]></description>
			<content:encoded><![CDATA[<p>The following example code demonstrates how to determine the StartMode of a Windows Service. You need to add a reference to <strong>System.Management.dll</strong> and </p>
<pre class="brush: csharp; title: ; notranslate">
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;

class ServiceController
{
    public static string GetServiceStartMode(string serviceName)
    {
        uint success = 1;

        string filter = String.Format(&quot;SELECT * FROM Win32_Service WHERE Name = '{0}'&quot;, serviceName);

        ManagementObjectSearcher query = new ManagementObjectSearcher(filter);

        // No match = failed condition
        if (query == null) return &quot;&lt;null&gt;&quot;;

        try
        {
            ManagementObjectCollection services = query.Get();

            foreach (ManagementObject service in services)
            {
                return service.GetPropertyValue(&quot;StartMode&quot;).ToString() == &quot;Auto&quot; ? &quot;Automatic&quot; : &quot;Manual&quot;;
            }
        }
        catch (Exception ex)
        {
            return &quot;&lt;null&gt;&quot;;
        }

        return &quot;&lt;null&gt;&quot;;
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.betamaster.us/blog/?feed=rss2&#038;p=1017</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

