<?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>Custom Software and Web Development - Madison WI - Two Miles Solutions, LLC &#187; Microsoft Access</title>
	<atom:link href="http://www.twomilessolutions.com/tag/microsoft-access/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.twomilessolutions.com</link>
	<description>Software Solutions That Go the Extra Mile!</description>
	<lastBuildDate>Sun, 01 Aug 2010 05:22:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>.NET: One line could save your 64-bit bacon!</title>
		<link>http://www.twomilessolutions.com/2009/11/05/net-one-line-could-save-your-64-bit-bacon/</link>
		<comments>http://www.twomilessolutions.com/2009/11/05/net-one-line-could-save-your-64-bit-bacon/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 05:44:13 +0000</pubDate>
		<dc:creator>Jeff Miles</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[64-bit]]></category>
		<category><![CDATA[C# .NET]]></category>
		<category><![CDATA[Microsoft Access]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.twomilessolutions.com/?p=286</guid>
		<description><![CDATA[I have a customer that recently had to purchase a new computer due to her previous computer finally biting the dust.  Knowing what programs she was running on her computer, I advised her that she should purchase a 32-bit version of Vista (then upgrade to the 32-bit version of Windows 7 when it came out). [...]


Related posts:<ol><li><a href='http://www.twomilessolutions.com/2009/10/28/whats-the-big-deal-about-windows-7/' rel='bookmark' title='Permanent Link: What&#8217;s the big deal about Windows 7'>What&#8217;s the big deal about Windows 7</a></li>
<li><a href='http://www.twomilessolutions.com/2009/09/30/madison-business-connection-robson-computer-technologies/' rel='bookmark' title='Permanent Link: Madison Business Connection: Robson Computer Technologies'>Madison Business Connection: Robson Computer Technologies</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have a customer that recently had to purchase a new computer due to her previous computer finally biting the dust.  Knowing what programs she was running on her computer, I advised her that she should purchase a 32-bit version of Vista (then upgrade to the 32-bit version of <a title="Amazon.com: Windows 7 Home Premium Upgrade" href="http://www.amazon.com/gp/product/B002DHLUWK?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHLUWK" target="_blank">Windows 7</a> when it came out).</p>
<p>She bought a 32-bit machine that was running Vista and everything seemed fine except the OS was corrupt.  So she took the computer back in to have it replaced and they gave her a shiny new <a title="Amazon.com: Windows 7 Home Premium Upgrade" href="http://www.amazon.com/gp/product/B002DHLUWK?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHLUWK" target="_blank">Windows 7</a> machine (she was only days away from the release of <a title="Amazon.com: Windows 7 Home Premium Upgrade" href="http://www.amazon.com/gp/product/B002DHLUWK?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHLUWK" target="_blank">Windows 7</a>) .  She asked them to give her the same computer, but they gave her a 64-bit version of <a title="Amazon.com: Windows 7 Home Premium Upgrade" href="http://www.amazon.com/gp/product/B002DHLUWK?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHLUWK" target="_blank">Windows 7</a> so when she went to install her programs she ran into a ton of problems because the programs were not written for the 64-bit versions of the operating system (a lot of legacy applications are not written for 64-bit operating systems, this isn&#8217;t Microsoft&#8217;s fault, this is a fault of the application programmers).</p>
<p>I have a <a title="UPurMEMORY - Memorization Software" href="http://www.twomilessolutions.com/upurmemory" target="_blank">small application that I wrote</a> that for ease of use and not having to install any other programs, I chose to use Microsoft Access as the database for the application (say what you will, it was a side project that turned into something I could sell), but there is no 64-bit JET driver for reading Access databases so for 64-bit operating systems, I was hosed, until I found out that one line could change everything.</p>
<p>In the csproj file of your C# .NET application, in the first property group, add this line:</p>
<pre>&lt;PlatformTarget&gt;x86&lt;/PlatformTarget&gt;</pre>
<p>So your property group should look something like this:</p>
<pre>&lt;PropertyGroup&gt;
&lt;PlatformTarget&gt;x86&lt;/PlatformTarget&gt;
&lt;Configuration Condition=" '$(Configuration)' == '' "&gt;Debug&lt;/Configuration&gt;
&lt;Platform Condition=" '$(Platform)' == '' "&gt;AnyCPU&lt;/Platform&gt;
&lt;ProductVersion&gt;8.0.50727&lt;/ProductVersion&gt;
&lt;SchemaVersion&gt;2.0&lt;/SchemaVersion&gt;
&lt;ProjectGuid&gt;{A16625F1-A4BA-46FA-BD05-737257A18EBD}&lt;/ProjectGuid&gt;
&lt;OutputType&gt;WinExe&lt;/OutputType&gt;
&lt;AppDesignerFolder&gt;Properties&lt;/AppDesignerFolder&gt;
&lt;RootNamespace&gt;UPurMEMORY&lt;/RootNamespace&gt;
&lt;AssemblyName&gt;UPurMEMORY&lt;/AssemblyName&gt;
&lt;ApplicationIcon&gt;UPurMEMORY.48.ico&lt;/ApplicationIcon&gt;
&lt;FileUpgradeFlags&gt;&lt;/FileUpgradeFlags&gt;
&lt;UpgradeBackupLocation&gt;&lt;/UpgradeBackupLocation&gt;
&lt;OldToolsVersion&gt;2.0&lt;/OldToolsVersion&gt;
&lt;/PropertyGroup&gt;</pre>
<p>That one little line saved my bacon and allows me to <a title="UPurMEMORY - Memorization Tool" href="http://www.twomilessolutions.com/upurmemory" target="_blank">sell that piece of software for $10</a> to anyone who runs a 64-bit operating system.  I&#8217;m not saying this will solve all of your problems, but it helped me.</p>
<p><strong>Related Links:</strong></p>
<p><strong>- </strong><a title="UPurMEMORY - Memorization Tool" href="http://www.twomilessolutions.com/upurmemory" target="_blank">UPurMEMORY</a> &#8211; memorization utility ($10.00 USD)<br />
- <a title="Amazon.com - Windows 7 Home Premium" href="http://www.amazon.com/gp/product/B002DHGMK0?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHGMK0" target="_blank">Windows 7 Home Premium</a> (<a title="Amazon.com - Windows 7 Home Premium Upgrade" href="http://www.amazon.com/gp/product/B002DHLUWK?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHLUWK" target="_blank">upgrade</a>)<br />
- <a title="Amazon.com - Windows 7 Professional" href="http://www.amazon.com/gp/product/B002DHLVII?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHLVII" target="_blank">Windows 7 Professional</a> (<a title="Amazon.com - Windows 7 Professional Upgrade" href="http://www.amazon.com/gp/product/B002DHGM50?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHGM50" target="_blank">upgrade</a>)<br />
- <a title="Amazon.com - Windows 7 Ultimate" href="http://www.amazon.com/gp/product/B002DHGMVY?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHGMVY" target="_blank">Windows 7 Ultimate</a> (<a title="Amazon.com - Windows 7 Ultimate Upgrade" href="http://www.amazon.com/gp/product/B002DHLV8S?ie=UTF8&amp;tag=milestogofrom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002DHLV8S" target="_blank">upgrade</a>)</p>
<p><strong>Related Posts:</strong></p>
<p><strong>- </strong><a title="TMS Blog - What's the big deal about Windows 7?" href="http://www.twomilessolutions.com/2009/10/28/whats-the-big-deal-about-windows-7/" target="_blank">What&#8217;s the big deal about Windows 7?</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.twomilessolutions.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.twomilessolutions.com/2009/10/28/whats-the-big-deal-about-windows-7/' rel='bookmark' title='Permanent Link: What&#8217;s the big deal about Windows 7'>What&#8217;s the big deal about Windows 7</a></li>
<li><a href='http://www.twomilessolutions.com/2009/09/30/madison-business-connection-robson-computer-technologies/' rel='bookmark' title='Permanent Link: Madison Business Connection: Robson Computer Technologies'>Madison Business Connection: Robson Computer Technologies</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.twomilessolutions.com/2009/11/05/net-one-line-could-save-your-64-bit-bacon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
