<?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>Splents</title>
	<atom:link href="http://splents.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://splents.com</link>
	<description></description>
	<lastBuildDate>Mon, 12 Sep 2011 14:24:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Training Camp Crackme1 Woodmann</title>
		<link>http://splents.com/2011/training-camp-crackme1-woodmann/</link>
		<comments>http://splents.com/2011/training-camp-crackme1-woodmann/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 14:18:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Reverse Engineering]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[crackme]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[ollydbg]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[woodmann]]></category>

		<guid isPermaLink="false">http://splents.com/?p=67</guid>
		<description><![CDATA[Every so often I try a crackme. I just enjoy the problem solving. I&#8217;m terrible, but somehow I get a kick out of it. crackmes.de is down, so I stumbled across the next best, maybe a better thing. http://www.woodmann.com/RCE-CD-SITES/Quantico/mib/train.htm An amazing collection of scene crackmes; if you ever thought you were good enough to represent [...]]]></description>
			<content:encoded><![CDATA[<p>Every so often I try a crackme. I just enjoy the problem solving. I&#8217;m terrible, but somehow I get a kick out of it.<br />
crackmes.de is down, so I stumbled across the next best, maybe a better thing. <a href="http://www.woodmann.com/RCE-CD-SITES/Quantico/mib/train.htm">http://www.woodmann.com/RCE-CD-SITES/Quantico/mib/train.htm</a></p>
<p>An amazing collection of <a href="http://www.woodmann.com/RCE-CD-SITES/Quantico/crackme%27.htm">scene crackmes</a>; if you ever thought you were good enough to represent &#8211; this is where to start.</p>
<p>Being an infant, I stuck with the tutorials. Even then I struggled. For hours.</p>
<p>My <strong>*working*</strong> solution to CrackMe1 is below. To make it a little more difficult for myself, I thought I would give C++ a spin.<br />
I was <em>bitterly</em> disappointed that my keygen was <strong>larger</strong> than the original crackme.</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;cstdlib&gt;</span>
<span style="color: #339900;">#include &lt;iostream&gt;</span>
&nbsp;
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> argc, <span style="color: #0000ff;">char</span> <span style="color: #000040;">*</span>argv<span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #666666;">//declare local variables</span>
    string _name<span style="color: #008080;">;</span>
    <span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>    
    <span style="color: #0000ff;">int</span> char_sum <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
    <span style="color: #0000ff;">int</span> _first, _second<span style="color: #008080;">;</span>
    <span style="color: #0000ff;">char</span> c, d<span style="color: #008080;">;</span>
&nbsp;
    <span style="color: #666666;">//ask user to input name, store it in local variable</span>
    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;name: &quot;</span><span style="color: #008080;">;</span>
    <span style="color: #0000dd;">cin</span> <span style="color: #000080;">&gt;&gt;</span> _name<span style="color: #008080;">;</span>
&nbsp;
    <span style="color: #666666;">//put the name variable to uppercase</span>
    <span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span>_name<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">&#123;</span>
         c <span style="color: #000080;">=</span> _name<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span> <span style="color: #666666;">//create char from current index on string</span>
         d <span style="color: #000080;">=</span> <span style="color: #0000dd;">toupper</span><span style="color: #008000;">&#40;</span>c<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #666666;">//put char to upper</span>
         char_sum <span style="color: #000080;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span><span style="color: #008000;">&#40;</span>d<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span> <span style="color: #000040;">+</span> char_sum<span style="color: #008080;">;</span> <span style="color: #666666;">//increment the count         </span>
         i<span style="color: #000040;">++</span><span style="color: #008080;">;</span>          
    <span style="color: #008000;">&#125;</span>  
&nbsp;
    <span style="color: #666666;">//http://www.woodmann.com/RCE-CD-SITES/Quantico/mib/crack10.htm</span>
    _first <span style="color: #000080;">=</span> char_sum <span style="color: #000040;">^</span> <span style="color: #0000dd;">22136</span><span style="color: #008080;">;</span>
    _second <span style="color: #000080;">=</span> _first <span style="color: #000040;">^</span> <span style="color: #0000dd;">4660</span><span style="color: #008080;">;</span>    
&nbsp;
    <span style="color: #666666;">//output the serial!</span>
    <span style="color: #0000dd;">cout</span> <span style="color: #000080;">&lt;&lt;</span> <span style="color: #FF0000;">&quot;serial: &quot;</span> <span style="color: #000080;">&lt;&lt;</span> _second <span style="color: #000080;">&lt;&lt;</span> endl<span style="color: #008080;">;</span>
&nbsp;
    <span style="color: #0000dd;">system</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;PAUSE&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
    <span style="color: #0000ff;">return</span> <span style="color: #0000ff;">EXIT_SUCCESS</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/training-camp-crackme1-woodmann/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link Dilution, Google SEO tips</title>
		<link>http://splents.com/2011/link-dilution-google-seo-tips/</link>
		<comments>http://splents.com/2011/link-dilution-google-seo-tips/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 13:18:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[dilution]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[link farming]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://splents.com/?p=65</guid>
		<description><![CDATA[Search engine optimisation is a bit of a black box to most web developers. It is a tough balance between conventional website design with brief, informative information; versus SEO driven text, keywords and search phrases. Competition sites often will employ SEO specialists who receive their money once the site has hit the top results of [...]]]></description>
			<content:encoded><![CDATA[<p>Search engine optimisation is a bit of a black box to most web developers.<br />
It is a tough balance between conventional website design with brief, informative information; versus SEO driven text, keywords and search phrases.</p>
<p>Competition sites often will employ SEO specialists who receive their money once the site has hit the top results of google.</p>
<p>The real secret is building content rich websites, with specific and relevant information.<br />
This is a lot harder to do in practice, but there are some website seo tips that make a bit difference.</p>
<p>One thing I try and do is constantly research techniques, and analyse other websites code.<br />
How did I end up getting on this site? The information is/isn&#8217;t relevant &#8211; what did they do?<br />
Often I will watch fast rising websites to see how long they stay high in the results; if I notice sudden drops, then I dismiss the technique.</p>
<p>One seo technique that has me bemused at the moment is the new style link farming.<br />
Here is how it works:</p>
<p>You buy a website which caters as some kind of service, say, seo-solutions.com.au.<br />
You then setup LOTS of sub-domains; melbourne.seo-solutions.com.au, collingwood.seo-solutions.com.au, easy.seo-solutions.com.au<br />
You then setup webpages on each of these subdomains, addressing specifically what is in the title.</p>
<p>SEO companies are doing this very cheaply &#8211; they buy one domain, then sell hundreds of sub-domains (which cost them nothing) to unwitting service men and women.<br />
How long will it last? I don&#8217;t know. At the moment it has really messed up the Google search results in some industries.</p>
<p>This leads into my concern about this kind of link farming. Apart from being terrible for the integrity of search results, I am also concerned about the impact this kind of web marketing would have on brand value, and dilution.<br />
If a customer can&#8217;t search for anything except you, then after a while, they will hate your brand.<br />
I want Tech guys to flash back to the early days of experts-exchange. SO annoying. (although now its &#8220;free&#8221;, so so handy)</p>
<p>One article I was reading to help consul myself was the <a href="http://answers.google.com/answers/threadview/id/254939.html">link dilution: links and pages</a> on Google Answers.</p>
<p>The poster <a href="http://answers.google.com/answers/ratings/users/1291385197012272952.html"><strong>slawek-ga</strong></a> made an amazing reply (where did he find the time???) Nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/link-dilution-google-seo-tips/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Xcode 4 Please close the following application iTunes</title>
		<link>http://splents.com/2011/xcode-4-please-close-the-following-application-itunes/</link>
		<comments>http://splents.com/2011/xcode-4-please-close-the-following-application-itunes/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 23:23:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[freezes]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://splents.com/?p=64</guid>
		<description><![CDATA[I was updating my Xcode from version 3 to 4. Suddenly the installation freezes with a warning. In order to continue installation, please close the following application: iTunes Literally, the most annoying messagebox I have ever seen. iTunes was definitely not running. What the error should have been was In order to continue installation, please [...]]]></description>
			<content:encoded><![CDATA[<p>I was updating my Xcode from version 3 to 4.<br />
Suddenly the installation freezes with a warning.</p>
<blockquote><p>In order to continue installation, please close the following application:<br />
iTunes</p></blockquote>
<p>Literally, the most annoying messagebox I have ever seen. iTunes was definitely not running.<br />
What the error should have been was<br />
<blockquote>In order to continue installation, please close the following application:<br />
iTunes Helper</p></blockquote>
<p>Thanks to <a href="http://www.macosxtips.co.uk/index_files/fix-xcode-instsaller-please-close-itunes.php">http://www.macosxtips.co.uk/index_files/fix-xcode-instsaller-please-close-itunes.php</a> for the step by step article on getting past this simple problem, made complex by poor error information.</p>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/xcode-4-please-close-the-following-application-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# Class or Object to XML string</title>
		<link>http://splents.com/2011/c-class-or-object-to-xml-string/</link>
		<comments>http://splents.com/2011/c-class-or-object-to-xml-string/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 02:20:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://splents.com/?p=62</guid>
		<description><![CDATA[I had a desire to convert my custom class to XML. When you do this, it will often want you to store it in a file. I want it as a string. Here is one way of doing it. using System.IO; using System.Xml; Using System.Xml.Serialization; &#160; class Product &#123; string pName; &#125; &#160; class doit&#40;&#41; [...]]]></description>
			<content:encoded><![CDATA[<p>I had a desire to convert my custom class to XML. When you do this, it will often want you to store it in a file. I want it as a string.</p>
<p>Here is one way of doing it.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.IO</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Xml</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">Using</span> <span style="color: #008080;">System.Xml.Serialization</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #6666cc; font-weight: bold;">class</span> Product
<span style="color: #008000;">&#123;</span>
<span style="color: #6666cc; font-weight: bold;">string</span> pName<span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #6666cc; font-weight: bold;">class</span> doit<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
List<span style="color: #008000;">&lt;</span>Product<span style="color: #008000;">&gt;</span> p <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> List<span style="color: #008000;">&lt;</span>Product<span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//put in the string</span>
XmlSerializer xms <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> XmlSerializer<span style="color: #008000;">&#40;</span>p<span style="color: #008000;">.</span><span style="color: #0000FF;">GetType</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
StringWriter sw <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> StringWriter<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
xms<span style="color: #008000;">.</span><span style="color: #0000FF;">Serialize</span><span style="color: #008000;">&#40;</span>sw, _aList<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #6666cc; font-weight: bold;">string</span> myString <span style="color: #008000;">=</span> sw<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//read from string back into class</span>
StringReader sr <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> StringReader<span style="color: #008000;">&#40;</span>myString<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
Product List<span style="color: #008000;">&lt;</span>myClass<span style="color: #008000;">&gt;</span> <span style="color: #008000;">=</span> xms<span style="color: #008000;">.</span><span style="color: #0000FF;">Deserialize</span><span style="color: #008000;">&#40;</span>sr<span style="color: #008000;">&#41;</span> <span style="color: #0600FF; font-weight: bold;">as</span> List<span style="color: #008000;">&lt;</span>Product<span style="color: #008000;">&gt;;</span> <span style="color: #008080; font-style: italic;">//there are a lot of ways to cast type, do this however you feel.</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/c-class-or-object-to-xml-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Motorola GP328 Programming Software</title>
		<link>http://splents.com/2011/motorola-gp328-programming-software/</link>
		<comments>http://splents.com/2011/motorola-gp328-programming-software/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 11:13:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Scanning]]></category>
		<category><![CDATA[gp328]]></category>
		<category><![CDATA[motorola]]></category>
		<category><![CDATA[programming software]]></category>

		<guid isPermaLink="false">http://splents.com/?p=60</guid>
		<description><![CDATA[Tutorial coming soon! Motorola GP328 Programming Software. Works a treat, I&#8217;ve only tested it on the GP328. Let me know if you get it working with any other radios.]]></description>
			<content:encoded><![CDATA[<p>Tutorial coming soon!</p>
<p><a href="http://splents.com/mirror/motorola/GP328.rar">Motorola GP328 Programming Software</a>.</p>
<p>Works a treat, I&#8217;ve only tested it on the GP328. Let me know if you get it working with any other radios.</p>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/motorola-gp328-programming-software/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Multi Thread C# Application Sharing Access Database</title>
		<link>http://splents.com/2011/multi-thread-c-application-sharing-access-database/</link>
		<comments>http://splents.com/2011/multi-thread-c-application-sharing-access-database/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 14:03:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[multiuser]]></category>
		<category><![CDATA[sharing]]></category>

		<guid isPermaLink="false">http://splents.com/?p=59</guid>
		<description><![CDATA[In a previous post I discussed my testing of multi user access of MySQL and Microsoft Access database. Its important that you DO NOT share connections. The database is designed to take multiple connections and pool them. Sharing a connection between users is only going to create conflict that will have to be controlled in [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://splents.com/2011/multiple-users-accessing-a-mysql-database-in-c/">previous post</a> I discussed my testing of multi user access of MySQL and Microsoft Access database.</p>
<p>Its important that you DO NOT share connections. The database is designed to take multiple connections and pool them. Sharing a connection between users is only going to create conflict that will have to be controlled in your application with code.</p>
<p>I decided to actually test Microsoft Access and see how it stood up to the same treatment as I gave MySQL.</p>
<p>The function I used is below, you&#8217;ll be able to implement it almost perfectly into the <a href="http://splents.com/2011/multiple-users-accessing-a-mysql-database-in-c/">earlier example</a>.  You&#8217;ll obviously need to duplicate the below function so that both threads have their own unique database function to run.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Collections.Generic</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Linq</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Text</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Data</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Threading</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Data.OleDb</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">class</span> AccessClass
    <span style="color: #008000;">&#123;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> access1<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            OleDbConnection conn <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OleDbConnection<span style="color: #008000;">&#40;</span><span style="color: #666666;">@&quot;Provider=Microsoft.ACE.OLEDB.12.0;Data Source=world.accdb&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            OleDbCommand command <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> OleDbCommand<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;INSERT INTO helloworld (pname) VALUES ('user1')&quot;</span>, conn<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">try</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Connecting to Access Database...&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
                <span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
&nbsp;
                <span style="color: #0600FF; font-weight: bold;">do</span>
                <span style="color: #008000;">&#123;</span>
                    conn<span style="color: #008000;">.</span><span style="color: #0000FF;">Open</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                    command<span style="color: #008000;">.</span><span style="color: #0000FF;">ExecuteNonQuery</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                    conn<span style="color: #008000;">.</span><span style="color: #0000FF;">Close</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                    i<span style="color: #008000;">++;</span>
                <span style="color: #008000;">&#125;</span> <span style="color: #0600FF; font-weight: bold;">while</span> <span style="color: #008000;">&#40;</span>i <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;</span> <span style="color: #FF0000;">100</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
            <span style="color: #0600FF; font-weight: bold;">catch</span> <span style="color: #008000;">&#40;</span>Exception ex<span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span>ex<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
            Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Access1 Routine Done.&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008000;">&#125;</span></pre></div></div>

<p>You&#8217;ll notice the conn.Open and conn.Close are now repeated everytime the loop runs&#8230; That leads me into my conclusion.</p>
<p>Running the connection timing the same as I did in the MySQL example always lead to locking problems. Ultimately, if the database connection attempted were properly managed I would end up with 200 new items in the database each time I run it. The reality is quite a bit more unpredictable than that. So make it throw less errors, I made it close the connection between each iteration. This slowed it down immensely. Still, the results were unpredictable, sometimes 212 new items would be added, other times 218.</p>
<p>Instead of investigating why this happens, for the simplicity of not having to worry about database locking, I&#8217;ll stick to using MySQL for multiuser environments.</p>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/multi-thread-c-application-sharing-access-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Form1 Visible after Form2 Close: Child Form close, Parent Form Visible</title>
		<link>http://splents.com/2011/form1-visible-after-form2-close-child-form-close-parent-form-visible/</link>
		<comments>http://splents.com/2011/form1-visible-after-form2-close-child-form-close-parent-form-visible/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 12:47:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Child Form]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[Form1]]></category>
		<category><![CDATA[Form2]]></category>
		<category><![CDATA[Parent Form]]></category>

		<guid isPermaLink="false">http://splents.com/?p=58</guid>
		<description><![CDATA[Scenario. I want my application to have two forms. When I click a button on Form1, Form1 disappears, Form2 appears. NOW. When I close Form2, I want the original Form1 to become Visible again NOT instantiate a new Form1. After a bit of playing around and googling, I found exactly what I was looking for [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario. I want my application to have two forms. When I click a button on Form1, Form1 disappears, Form2 appears.</p>
<p>NOW.</p>
<p>When I close Form2, I want the original Form1 to become Visible again NOT instantiate a new Form1.<br />
After a bit of playing around and googling, I found exactly what I was looking for at StackOverflow.</p>
<p>The answer on the question <a href="http://stackoverflow.com/questions/3146576/i-would-like-to-control-form1-from-form2/3146601#3146601">i-would-like-to-control-form1-from-form2</a> was exactly the solution I was looking for. Rather than repost it here, I encourage you to frolic over to stack and have a read!</p>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/form1-visible-after-form2-close-child-form-close-parent-form-visible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Users Accessing a MySQL Database in C#</title>
		<link>http://splents.com/2011/multiple-users-accessing-a-mysql-database-in-c/</link>
		<comments>http://splents.com/2011/multiple-users-accessing-a-mysql-database-in-c/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 13:17:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[muliple users]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://splents.com/?p=56</guid>
		<description><![CDATA[I&#8217;m working on a piece of software at the moment that will eventually require multiple users to access the database simultaneously. I&#8217;m a pretty basic coder, and I was wondering whether there was a way I could read/write to the database without using lock-in/lock-out controls. I was dreading have to do t. I wanted the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a piece of software at the moment that will eventually require multiple users to <strong>access the database simultaneously</strong>. I&#8217;m a pretty basic coder, and I was wondering whether there was a way I could read/write to the database without using lock-in/lock-out controls. I was dreading have to do t.</p>
<p>I wanted the program to use a <strong>Microsoft Access 2007 Database</strong>, mostly because it would be very portable, rapid development that would be easy to backup when it went into operation. Performance isn&#8217;t so much an issue, seeing as there will 4 or 5 users maximum.</p>
<p>I had difficulty determining whether or not this could done. I don&#8217;t know why. I guess its obvious to most people.</p>
<p><strong>The simple answer is it can be done. In <del>both Microsoft Access and</del> MySQL</strong>. Before I lept into development, I wanted to see how the database behaved in C#, so I thought I&#8217;d write a quick application to test whether or not I actually can write by multiple users.</p>
<p><a href="http://splents.com/2011/multi-thread-c-application-sharing-access-database/"><span style="text-decoration: underline;"><em>(As it turns out, it can be done in Microsoft Access but I found it very problematic in my testing)</em></span></a></p>
<p>You&#8217;ll want an <strong>SQL database</strong> that is made to look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> helloworld<span style="color: #66cc66;">&#40;</span>
id <span style="color: #993333; font-weight: bold;">INT</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span>
<span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span><span style="color: #66cc66;">&#40;</span>id<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span>
name <span style="color: #993333; font-weight: bold;">VARCHAR</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">30</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>And then compile this short c# program. Don&#8217;t forget to change the various settings that affect you.<br />
You&#8217;ll need the <a href="http://dev.mysql.com/downloads/connector/net/">MySQL .NET Connecter</a>, and include a reference in your project.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Collections.Generic</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Linq</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Text</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//the additional references you'll need</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Data</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">MySql.Data</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">MySql.Data.MySqlClient</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Threading</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">namespace</span> mySQLTest
<span style="color: #008000;">&#123;</span>
    <span style="color: #008080; font-style: italic;">///</span>
<span style="color: #008000;">&lt;</span>summary<span style="color: #008000;">&gt;</span> <span style="color: #008080; font-style: italic;">/// This program is written to prove that multiple threads or users can simulatenously access the MySQL data base and write. /// The MySQL connector handles the lockout or connection attempts automatically. /// &lt;/summary&gt;</span>
&nbsp;
    <span style="color: #6666cc; font-weight: bold;">class</span> Program
    <span style="color: #008000;">&#123;</span>
        <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> Main<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> args<span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #008080; font-style: italic;">//declare two threads to act like users</span>
            Thread thread1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Thread<span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> ThreadStart<span style="color: #008000;">&#40;</span>DatabaseClass<span style="color: #008000;">.</span><span style="color: #0000FF;">doStuff</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Thread thread2 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Thread<span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> ThreadStart<span style="color: #008000;">&#40;</span>DatabaseClass<span style="color: #008000;">.</span><span style="color: #0000FF;">doOtherStuff</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">//start the threads running</span>
            thread1<span style="color: #008000;">.</span><span style="color: #0000FF;">Start</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            thread2<span style="color: #008000;">.</span><span style="color: #0000FF;">Start</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">//the current 'main' thread, should run in a loop until the other two have finished.</span>
            <span style="color: #0600FF; font-weight: bold;">while</span> <span style="color: #008000;">&#40;</span>thread1<span style="color: #008000;">.</span><span style="color: #0000FF;">ThreadState</span> <span style="color: #008000;">!=</span> ThreadState<span style="color: #008000;">.</span><span style="color: #0000FF;">Stopped</span> <span style="color: #008000;">&amp;</span>amp<span style="color: #008000;">;&amp;</span>amp<span style="color: #008000;">;</span> thread2<span style="color: #008000;">.</span><span style="color: #0000FF;">ThreadState</span> <span style="color: #008000;">!=</span> ThreadState<span style="color: #008000;">.</span><span style="color: #0000FF;">Stopped</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                Thread<span style="color: #008000;">.</span><span style="color: #0000FF;">Sleep</span><span style="color: #008000;">&#40;</span><span style="color: #FF0000;">200</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">//once the threads are finished, notify us through the console.</span>
            Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;End&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Console<span style="color: #008000;">.</span><span style="color: #0000FF;">ReadLine</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
&nbsp;
    <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">class</span> DatabaseClass
    <span style="color: #008000;">&#123;</span>
        <span style="color: #008080; font-style: italic;">///</span>
<span style="color: #008000;">&lt;</span>summary<span style="color: #008000;">&gt;</span> <span style="color: #008080; font-style: italic;">/// this function is quite well documented in the MySQL manual, the section that talks about .NET connectors. /// &lt;/summary&gt;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> doStuff<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #6666cc; font-weight: bold;">string</span> connStr <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;server=192.168.3.11;user=root;database=world;port=3306;password=password;&quot;</span><span style="color: #008000;">;</span>
            MySqlConnection conn <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> MySqlConnection<span style="color: #008000;">&#40;</span>connStr<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">try</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Connecting to MySQL...&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                conn<span style="color: #008000;">.</span><span style="color: #0000FF;">Open</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
                <span style="color: #008080; font-style: italic;">//i want to enter a thousand items</span>
                <span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
                <span style="color: #0600FF; font-weight: bold;">do</span>
                <span style="color: #008000;">&#123;</span>
                    <span style="color: #6666cc; font-weight: bold;">string</span> sql <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;INSERT INTO helloworld (name) VALUES ('user1')&quot;</span><span style="color: #008000;">;</span>
                    MySqlCommand cmd <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> MySqlCommand<span style="color: #008000;">&#40;</span>sql, conn<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                    cmd<span style="color: #008000;">.</span><span style="color: #0000FF;">ExecuteNonQuery</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                    i<span style="color: #008000;">++;</span>
                <span style="color: #008000;">&#125;</span> <span style="color: #0600FF; font-weight: bold;">while</span> <span style="color: #008000;">&#40;</span>i <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;</span> <span style="color: #FF0000;">1000</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
            <span style="color: #0600FF; font-weight: bold;">catch</span> <span style="color: #008000;">&#40;</span>Exception ex<span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span>ex<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
            conn<span style="color: #008000;">.</span><span style="color: #0000FF;">Close</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Done.&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> doOtherStuff<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #6666cc; font-weight: bold;">string</span> connStr <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;server=192.168.3.11;user=root;database=world;port=3306;password=password;&quot;</span><span style="color: #008000;">;</span>
            MySqlConnection conn <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> MySqlConnection<span style="color: #008000;">&#40;</span>connStr<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">try</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Connecting to MySQL...&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                conn<span style="color: #008000;">.</span><span style="color: #0000FF;">Open</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
                <span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
                <span style="color: #0600FF; font-weight: bold;">do</span>
                <span style="color: #008000;">&#123;</span>
                    <span style="color: #6666cc; font-weight: bold;">string</span> sql <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;INSERT INTO helloworld (name) VALUES ('user2')&quot;</span><span style="color: #008000;">;</span>
                    MySqlCommand cmd <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> MySqlCommand<span style="color: #008000;">&#40;</span>sql, conn<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                    cmd<span style="color: #008000;">.</span><span style="color: #0000FF;">ExecuteNonQuery</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                    i<span style="color: #008000;">++;</span>
                <span style="color: #008000;">&#125;</span> <span style="color: #0600FF; font-weight: bold;">while</span> <span style="color: #008000;">&#40;</span>i <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;</span> <span style="color: #FF0000;">1000</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
            <span style="color: #0600FF; font-weight: bold;">catch</span> <span style="color: #008000;">&#40;</span>Exception ex<span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span>ex<span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
            conn<span style="color: #008000;">.</span><span style="color: #0000FF;">Close</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Done.&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>If you were to shoot into MySQL Console right now, and ran:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> helloworld;</pre></div></div>

<p>You&#8217;d be delighted (like I was), to find your two users have simultaneously written to the database.</p>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/multiple-users-accessing-a-mysql-database-in-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tree-rrific Tree Service</title>
		<link>http://splents.com/2011/tree-rrific-tree-service/</link>
		<comments>http://splents.com/2011/tree-rrific-tree-service/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 00:19:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[tree lopping mornington]]></category>
		<category><![CDATA[tree pruning]]></category>
		<category><![CDATA[tree removal mount eliza]]></category>

		<guid isPermaLink="false">http://splents.com/?p=54</guid>
		<description><![CDATA[Working on another website at the moment. Tree-rrific Tree Service Tree Lopping Mornington Tree Removal Mount Eliza Tree Removal Mt Eliza Tree Pruning Mount Martha Mornington Peninsula]]></description>
			<content:encoded><![CDATA[<p>Working on another website at the moment. Tree-rrific Tree Service</p>
<ul>
<li><a href="http://www.tree-rrific.com.au/">Tree Lopping Mornington</a></li>
<li><a href="http://www.tree-rrific.com.au/">Tree Removal Mount Eliza</a></li>
<li><a href="http://www.tree-rrific.com.au/">Tree Removal Mt Eliza</a></li>
<li><a href="http://www.tree-rrific.com.au/">Tree Pruning Mount Martha</a></li>
<li><a href="http://www.tree-rrific.com.au/">Mornington Peninsula</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/tree-rrific-tree-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The OLE DB provider &#8220;Microsoft.ACE.OLEDB.12.0&#8243; has not been registered</title>
		<link>http://splents.com/2011/the-ole-db-provider-microsoft-ace-oledb-12-0-has-not-been-registered/</link>
		<comments>http://splents.com/2011/the-ole-db-provider-microsoft-ace-oledb-12-0-has-not-been-registered/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 05:33:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[Microsoft.ACE.OLEDB.12.0]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://splents.com/?p=53</guid>
		<description><![CDATA[The OLE DB provider &#8220;Microsoft.ACE.OLEDB.12.0&#8243; has not been registered. Was the message I recieved from Visual Studio 2008 as I tried to use an Access database with my new application. I protested quietly &#8211; knowing that the OLE DB providor WAS installed and WAS referenced in my project&#8230; I&#8217;d come across the problem before but [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>The OLE DB provider &#8220;Microsoft.ACE.OLEDB.12.0&#8243; has not been registered.</p></blockquote>
<p>Was the message I recieved from Visual Studio 2008 as I tried to use an Access database with my new application.</p>
<p>I protested quietly &#8211; knowing that the OLE DB providor WAS installed and WAS referenced in my project&#8230; I&#8217;d come across the problem before but couldn&#8217;t remember how I fixed it.<br />
<a href="http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/20aafd3d-0219-4706-abb4-e4b35aebb18e/">Getting Error &#8220;The OLE DB provider &#8220;Microsoft.ACE.OLEDB.12.0&#8243; has not been registered&#8221;. when importing excel file.</a> had the answer (a fair way down the page).</p>
<p>The Microsoft.ACE.OLEDB.12.0 is for x86 architecture &#8211; by default Visual Studio was compiling in x64.</p>
<p><strong>Build &gt; Configuration Manager &gt; Platform &gt; &#8220;New&#8230;&#8221; &gt; x86</strong></p>
<p>And it works!</p>
]]></content:encoded>
			<wfw:commentRss>http://splents.com/2011/the-ole-db-provider-microsoft-ace-oledb-12-0-has-not-been-registered/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

