<?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>Oldstone Place &#187; Programming</title>
	<atom:link href="http://www.dmortell.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dmortell.com</link>
	<description>Web, Mobile and Desktop Software Development</description>
	<lastBuildDate>Mon, 17 May 2010 03:20:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using MySQL with Aptana</title>
		<link>http://www.dmortell.com/20091228/aptana-mysql-connection/</link>
		<comments>http://www.dmortell.com/20091228/aptana-mysql-connection/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 20:37:00 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/20091228/aptana-mysql-connection/</guid>
		<description><![CDATA[Aptana 2.0 no longer ships with Aptana PHP or the Database tools included by default. You need to install the PDT plugin for PHP development, and the Quantum Database plugin for managing database connections.
To install the Quantum Database Utilities, in Aptana open Help &#62; Install Additional Features. Under Featured Plugins, select Quantum Database Utility and [...]]]></description>
			<content:encoded><![CDATA[<p>Aptana 2.0 no longer ships with Aptana PHP or the Database tools included by default. You need to install the PDT plugin for PHP development, and the Quantum Database plugin for managing database connections.</p>
<p>To install the Quantum Database Utilities, in Aptana open Help &gt; Install Additional Features. Under Featured Plugins, select Quantum Database Utility and click Install. Select the features and click Next. Click Next again, accept the license agreement and click Finish. When installation finishes, restart Aptana.</p>
<p>Use the same process to install the PHP Development Tools (PDT) and the PHP Debugger Binaries. I also installed jQuery Support.</p>
<p>To add a database bookmark, open the Quantum DB Perspective. If you don&#8217;t have the icon for this perspective already, click Window &gt; Open Perspective &gt; Other and select Quantum DB. Right-click on the (Internal) Derby bookmark or click the Add Bookmark icon in the Database Bookmarks pane.</p>
<p>If you haven&#8217;t already, add the MySQL JDBC driver by clicking Add Driver. Click Add External Jar and locate your jdbc jar file, you shoud have saved it in /Library/Java/Extensions. Click Browse and select com.mysql.jdbc.Driver then click Ok then Finish.</p>
<p><img style="max-width: 800px;" src="http://www.dmortell.com/wp-content/uploads/2009/12/Picture-3.png" /></p>
<p>Back at the New Bookmark dialog, select the MySQL JDBC driver and click Next. Enter your MySQL username and password. Leave the hostname and port as is, then enter the name of the database. When you click Finish you should be able to browse your database tables.</p>
<p>The functionality of Quantum DB Utilities is disappointing. Apart from browsing tables and manually enter SQL statements, the only editing functionality is table data. phpMyAdmin is more useful.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=db3d5923-a7a6-8f6c-8b0e-f14c7800cc99" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20091228/aptana-mysql-connection/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install the MySql JDBC Adaptor on a Mac</title>
		<link>http://www.dmortell.com/20091228/mac-web-development/</link>
		<comments>http://www.dmortell.com/20091228/mac-web-development/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 19:55:22 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/20091228/mac-web-development/</guid>
		<description><![CDATA[It is fairly easy to install the JDBC adaptor on a Mac, you just need to know where to copy the jar file.
Go to MySQL Downloads and download the ZIP archive of the latest stable release of MySQL Connector/J. At time of this writing this is version 5.1.
Assuming this file was downloaded in a folder [...]]]></description>
			<content:encoded><![CDATA[<p>It is fairly easy to install the JDBC adaptor on a Mac, you just need to know where to copy the jar file.</p>
<p>Go to <a href="http://dev.mysql.com/downloads/">MySQL Downloads</a> and download the ZIP archive of the latest stable release of MySQL Connector/J. At time of this writing this is version 5.1.</p>
<p>Assuming this file was downloaded in a folder named /Users/Shared/Downloads/ then you will follow the following instructions.</p>
<p>Expand the zip file (if not already done by your browser). Inside this file there are other files and folders including the .jar file which in this case is named &#8220;mysql-connector-java-5.1.10-bin.jar&#8221;.</p>
<p>Now open Finder and navigate to Macintosh HD &gt; Library &gt; Java &gt; Extensions. Then drag the .jar file from the zip folder to the Extensions folder.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=368c0b44-00ce-80d3-853e-0754be2cb8d6" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20091228/mac-web-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Programming</title>
		<link>http://www.dmortell.com/20091226/mac-development/</link>
		<comments>http://www.dmortell.com/20091226/mac-development/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 02:12:57 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/20091226/mac-development/</guid>
		<description><![CDATA[RealBASIC is a cross-platform (Mac, Windows, Linux) development tool available in a trial version. Price ranges from ¥9,900 for the Personal Edition, to ¥118,000 for Real Studio.
FBtoC creates Mac OS X universal applications (Mach-O executables) from FutureBasic projects. FutureBasic is freeware.
Chipmunk Basic is an old-fashioned freeware Basic interpreter which runs on almost all Apple Macintosh [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.realsoftware.com/realbasic/">RealBASIC</a> is a cross-platform (Mac, Windows, Linux) development tool available in a trial version. Price ranges from ¥9,900 for the Personal Edition, to ¥118,000 for Real Studio.</p>
<p>FBtoC creates Mac OS X universal applications (Mach-O executables) from <a href="http://4toc.com/fb/index.htm">FutureBasic</a> projects. FutureBasic is freeware.</p>
<p><a href="http://www.nicholson.com/rhn/basic/">Chipmunk Basic</a> is an old-fashioned freeware Basic interpreter which runs on almost all Apple Macintosh computers. It uses a traditional command-line console.&nbsp; Supported features on Mac OS X include color graphics, sprites, sound (including Quicktime MIDI sounds and morse code), speech synthesis, matrix ops, AppleScript, network sockets, pipes, serial I/O, and even some rudimentary OOP (object oriented programming) capabilities. Versions are available for System 6.0.7 thru Mac OS X 10.6, for systems from very old Mac 512Ke&#8217;s, up thru the latest Apple iMacs &amp; MacBook Pros.</p>
<p><a href="http://mono-project.com/Main_Page">Mono</a> is a software platform designed to allow developers to easily create cross platform applications. Sponsored by Novell, Mono is an open source implementation of Microsoft&#8217;s .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for development of Linux applications.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=3a5a5460-f1c4-888f-bb1d-65a98c5767cb" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20091226/mac-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Palm Project Ares</title>
		<link>http://www.dmortell.com/20091224/pam/</link>
		<comments>http://www.dmortell.com/20091224/pam/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 17:34:29 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/20091224/pam/</guid>
		<description><![CDATA[Palm has launched a public beta of their IDE for writing Mojo apps for WebOS. The whole thing is browser based — it works in Safari, Chrome, and Firefox — and looks pretty slick.
Project Ares is the first mobile development environment hosted entirely in a browser, lowering the barriers for web developers to jump into [...]]]></description>
			<content:encoded><![CDATA[<p>Palm has <a href="http://pdnblog.palm.com/2009/12/project-ares-open-beta/">launched a public beta</a> of their IDE for writing Mojo apps for WebOS. The whole thing is browser based — it works in Safari, Chrome, and Firefox — and looks pretty slick.<br />
<blockquote>Project Ares is the first mobile development environment hosted entirely in a browser, lowering the barriers for web developers to jump into mobile development.</p></blockquote>
<p>
<p><a href="http://ares.palm.com/Ares/docstemp/images/ares_full.png"><img src="http://ares.palm.com/Ares/docstemp/images/ares_thumb.png" alt="Ares Screenshot" height="420" width="638" /></a></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=ab991a05-daed-8a75-9bed-a0efd9234f8b" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20091224/pam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Started with Android</title>
		<link>http://www.dmortell.com/20080106/getting-started-with-android/</link>
		<comments>http://www.dmortell.com/20080106/getting-started-with-android/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 14:04:18 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=159</guid>
		<description><![CDATA[Android is an Operating System and application suite for mobile devices. It is being developed by the Open Alliance Project, with Google being a major partner so its is developing a lot of interest. The fact that Google has launched the Android Developer Challenge, which will provide $10 million in awards for mobile apps built [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://code.google.com/android/index.html" title="Android"><img vspace="4" align="right" width="101" src="http://mortell.blogdns.com/wp-content/uploads/2008/01/image-37.jpg" hspace="4" alt="Image" height="84" /></a><a target="_blank" href="http://code.google.com/android/index.html" title="Android">Android</a> is an Operating System and application suite for mobile devices. It is being developed by the Open Alliance Project, with Google being a major partner so its is developing a lot of interest. The fact that Google has launched the <a href="http://code.google.com/android/adc.html">Android Developer Challenge</a>, which will provide <strong>$10 million in awards</strong> for mobile apps built on the Android platform probably has something to do with the amount of interest. </p>
<p>I decided to give it a go. Installing it and getting a simple application running on the emulator was a breeze. The installation instructions on the Android site were relatively straightforward, and the videos helped getting the application to work.<br />
<span id="more-159"></span>
<ol>
<li>Install the Android SDK
<ol>
<li>Download the <a target="_blank" href="http://code.google.com/android/download.html" title="Android SDK">Android SDK</a> and unpack it to a suitable installation folder (eg. C:\Program Files\Android SDK)</li>
<li>Optionally, you can add the path to the SDK tools directory to your path.
<ol>
<li>On Windows, right click on My Computer, and select Properties.</li>
<li>Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path under System Variables.</li>
<li>Add the full path to the tools/ directory to the path.</li>
</ol>
</li>
</ol>
</li>
<li>Download and install <a target="_blank" href="http://java.sun.com/javase/downloads/index.jsp" title="Java SE Downloads">JDK 6 Update 3</a> from Sun. Updating the PATH variable is optional.</li>
<li>Install Eclipse
<ol>
<li>If you dont have <a target="_blank" href="http://www.eclipse.org/downloads/" title="Eclipse Downloads">Eclipse</a> yet, download the Eclipse IDE for Java Developers package and simply uncompress the Eclipse folder to where you want it installed (eg C:\Program Files\Eclipse).</li>
<li>Make a shortcut to Eclipse.exe on your Desktop, in your All Programs, or in your QuickLaunch.</li>
<li>Run Eclipse and select a folder to store your Workspaces.</li>
</ol>
</li>
<li>Install the Android SDK plugin in Eclipse
<ol>
<li>Start Eclipse, then select Help &gt; Software Updates &gt; Find and Install.</li>
<li>In the dialog that appears, select Search for new features to install and press Next.</li>
<li>Press New Remote Site.</li>
<li>In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL:<br />
<a href="https://dl-ssl.google.com/android/eclipse/">https://dl-ssl.google.com/android/eclipse/</a><br />
Press OK.</li>
<li>You should now see the new site added to the search list (and checked). Press Finish.</li>
<li>In the subsequent Search Results dialog box, select the checkbox for Android Plugin &gt; Eclipse Integration &gt; Android Development Tools and press Next.</li>
<li>Read the license agreement and then select Accept terms of the license agreement, if appropriate. Press Next.</li>
<li>Press Finish.</li>
<li>The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.</li>
<li>Restart Eclipse.</li>
<li>After restart, update your Eclipse preferences to point to the SDK directory:
<ol>
<li>Select Window &gt; Preferences to open the Preferences panel.</li>
<li>Select Android from the left panel.</li>
<li>For the SDK Location in the main panel, press Browse and locate the SDK directory (eg C:\Program Files\Android SDK).</li>
<li>Press Apply, then OK.</li>
</ol>
</li>
</ol>
</li>
<li>Create an Android Project
<ol>
<li>Select File &gt; New &gt; Project</li>
<li>Select Android &gt; Android Project, and press Next</li>
<li>Select the contents for the project:
<ol>
<li>Select Create new project in workspace to start a project for new code.<br />
Enter the project name, the base package name, the name of a single Activity class to create as a stub .java file, and a name to use for your application.<br />
The base package name should be in the format com.yourdomain.android.yourpackagename (for example com.google.android.hello)</li>
<li>Select Create project from existing source to start a project from existing code. Use this option if you want to build and run any of the sample applications included with the SDK. The sample applications are located in the samples/ directory in the SDK.<br />
Browse to the directory containing the existing source code and click OK. If the directory contains a valid Android manifest file, the ADT plugin fills in the package, activity, and application names for you.</li>
</ol>
</li>
<li>Press Finish.</li>
</ol>
</li>
<li>Create a Launch Configuration<br />
Before you can run and debug your application in Eclipse, you must create a launch configuration for it. A launch configuration specifies the project to launch, the Activity to start, the emulator options to use, and so on. To create a launch configuration for the application, follow these steps:</p>
<ol>
<li>Select Run &gt; Open Run Dialog or Run &gt; Open Debug Dialog as appropriate.</li>
<li>In the project type list on the left, right-click Android Application and select New.</li>
<li>Enter a name for your configuration.</li>
<li>On the Android tab, browse for the project and Activity to start.</li>
<li>On the Emulator tab, set the desired screen and network properties, as well as any other emulator startup options.</li>
<li>You can set additional options on the Common tab as desired.</li>
<li>Press Apply to save the launch configuration, or press Run or Debug (as appropriate).</li>
</ol>
</li>
<li>When you launch your application, the first time you will be asked if you agree to send usage statistics to Google.<br /><img vspace="4" width="450" src="http://mortell.blogdns.com/wp-content/uploads/2008/01/image-34.jpg" hspace="4" alt="Image" height="244" /></li>
<li>Then your application should start in the emulator. Or at least in my case, it displayed an error <img src="http://mortell.blogdns.com/wp-includes/images/smilies/icon_sad.gif" alt=":(" class="wp-smiley" /> (I fixed it by adding a new contact name and number)</li>
<li>The emulator is very cool. Clicking on the Home key lets you select from a couple of preinstalled applications such as a Browser, Contacts, and Google Maps</li>
</ol>
<p><a href="http://mortell.blogdns.com/wp-content/uploads/2008/01/image-35.jpg"><img vspace="4" width="225" src="http://mortell.blogdns.com/wp-content/uploads/2008/01/image-35-small.jpg" hspace="4" alt="Image" height="449" /></a> <a href="http://mortell.blogdns.com/wp-content/uploads/2008/01/image-36.jpg"><img vspace="4" width="225" src="http://mortell.blogdns.com/wp-content/uploads/2008/01/image-36-small.jpg" hspace="4" alt="Image" height="441" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20080106/getting-started-with-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reinstalling the .NET Framework</title>
		<link>http://www.dmortell.com/20080104/reinstalling-the-net-framework/</link>
		<comments>http://www.dmortell.com/20080104/reinstalling-the-net-framework/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 03:16:17 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=160</guid>
		<description><![CDATA[Having trouble with your .NET framework? I had a difficult time getting Windows Update to install Hotfix KB928366 on my computer. No matter what I did, I couldn&#8217;t uninstall or fix the .NET Framework. After a lot of Googling and trying different suggestions, here is what worked for me.
How to re-install the .NET Framework 1.1

Remove [...]]]></description>
			<content:encoded><![CDATA[<p>Having trouble with your .NET framework? I had a difficult time getting Windows Update to install Hotfix KB928366 on my computer. No matter what I did, I couldn&#8217;t uninstall or fix the .NET Framework. After a lot of Googling and trying different suggestions, here is what worked for me.</p>
<p><strong>How to re-install the .NET Framework 1.1</strong></p>
<ol>
<li>Remove the .NET Framework 1.1
<ol>
<li>Download the Microsoft Windows <a title="Windows Installer Cleanup" href="http://download.microsoft.com/download/E/9/D/E9D80355-7AB4-45B8-80E8-983A48D5E1BD/msicuu2.exe">Installer Cleanup Utility</a> and install it.  </li>
<li>Run it from Start &gt; All Programs &gt; Windows Installer Clean Up  </li>
<li>Select .NET Framework 1.1 from the list and click Remove </li>
</ol>
</li>
<li>Download and install the <a title=".NET Framework 1.1 Redistributable" href="http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe">.NET Framework 1.1 Redistributable</a>  </li>
<li>Download and install <a title=".NET Framework 1.1 Service Pack 1" href="http://download.microsoft.com/download/8/b/4/8b4addd8-e957-4dea-bdb8-c4e00af5b94b/NDP1.1sp1-KB867460-X86.exe">.NET Framework 1.1 Service Pack 1</a>. Ignore the message saying it is already installed, go ahead and reinstall it.  </li>
<li>Download and install <a title="Security Update for .NET 1.1 SP1" href="http://download.microsoft.com/download/6/d/0/6d0e5797-91eb-401a-a61f-58b369302018/NDP1.1sp1-KB928366-X86.exe">.NET Framework 1.1 SP1 Security Update</a> (KB928366). Reboot when asked to. </li>
</ol>
<p>If this doesn&#8217;t work for you, here are additional instructions for repairing .NET version 1.1, 2.0 and 3.0.</p>
<p><span id="more-160"></span></p>
<p><strong>Repair .NET Framework 1.1 (method 2)</strong></p>
<ul>
<li>Try the knowledgebase article How to troubleshoot Microsoft .NET Framework 1.1 installation issues <a href="http://support.microsoft.com/kb/824643">http://support.microsoft.com/kb/824643</a>  </li>
<li>The msizap.exe utility in step 4 of the article is included in the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C2B1E300-F358-4523-B479-F53D234CDCCF&amp;displaylang=en">Windows Installer Software Development Kit</a> for XP and Vista. During installation, select not to install the documentation and samples to avoid downloading 1GB of unnecessary files. (I selected only Visual C++ Compilers and Win32 and .NET Development Tools which came to 32MB)  </li>
<li>Unregister and then reregister Windows Installer (See article)  </li>
<li>Download/install/use:<br /><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=7A4EFC33-0343-4EE4-B0C4-97BD16967A09&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=7A4EFC33-0343-4EE4-B0C4-97BD16967A09&amp;displaylang=en</a>  </li>
<li>Manually remove and then reinstall the .NET Framework 1.1 (See Article)<br />For the articles below, follow the &#8220;IT professionals&#8221; link and find the download for your OS.<br />- Download/Install <a href="http://support.microsoft.com/kb/867460/">http://support.microsoft.com/kb/867460/</a><br />- Download/Install <a href="http://support.microsoft.com/kb/886903/">http://support.microsoft.com/kb/886903/</a><br />- Download/Install <a href="http://support.microsoft.com/kb/928366/">http://support.microsoft.com/kb/928366/</a>  </li>
<li>Reboot as needed and at the end.</li>
</ul>
<p><strong>Repair .NET Framework 2.0</strong></p>
<ul>
<li>How to troubleshoot Microsoft .NET Framework 2.0 installation issues<br /><a href="http://support.microsoft.com/kb/908077/">http://support.microsoft.com/kb/908077/</a>  </li>
<li>Unregister and then reregister Windows Installer (See article)  </li>
<li>Manually remove and then reinstall the .NET Framework 2.0 (See Article)<br />For the articles below, follow the &#8220;IT professionals&#8221; link and find the download for your OS.<br />- Download/Install <a href="http://support.microsoft.com/kb/917283/">http://support.microsoft.com/kb/917283/</a><br />- Download/Install <a href="http://support.microsoft.com/kb/922770/">http://support.microsoft.com/kb/922770/</a><br />- Download/Install <a href="http://support.microsoft.com/kb/928365/">http://support.microsoft.com/kb/928365/</a>  </li>
<li>Reboot as needed and at the end.</li>
</ul>
<p><strong>Repair .NET Framework 3.0</strong></p>
<ul>
<li>Unfortunately there does not appear to be any particular article pertaining to .NET Framework 3.0. I have not had issues with this version, however just going into the Control Panel &gt; Add or Remove Programs and locating and removing it and its patches should be enough to get rid of it. I suggest you do the same and then reboot&#8230;  </li>
<li>Download and re-install using this distributable package:<br /><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&amp;displaylang=en</a>  </li>
<li>Reboot as needed.</li>
</ul>
<p><strong>Cleanup your updates system&#8230;</strong></p>
<ul>
<li>Get Dial-a-Fix from <a href="http://wiki.djlizard.net/Dial-a-fix">http://wiki.djlizard.net/Dial-a-fix</a>  </li>
<li>Use its options to fix:<br />- Windows Installer<br />- Windows Update<br />- All the Registration Center options  </li>
<li>Turn off the &#8220;Empty System32\Catroot 2&#8243;<br />Do NOT do &#8220;Flush SoftwareDistribution&#8221;.  </li>
<li>Then click &#8220;GO&#8221;&#8230; May take a while.  </li>
<li>Reboot when it is done&#8230;</li>
</ul>
<p><strong>Install Updates</strong></p>
<ul>
<li>Visit <a href="http://windowsupdate.microsoft.com/">http://windowsupdate.microsoft.com/</a> and scan for updates.  </li>
<li>Choose the critical updates you need and install them. Do not bother getting hardware updates (unless you happen to have some Microsoft hardware installed) and &#8220;Optional Updates&#8221; are *usually* just what the name infers &#8211; but feel free to see if you want any of the &#8220;Optional&#8221; ones.  </li>
<li>Come back here and let us know how you came out&#8230;</li>
</ul>
<p>&nbsp;</p>
</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d699cb86-a548-4901-9bff-8f473fed5609" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/repair" rel="tag">repair</a>, <a href="http://technorati.com/tags/.net%20framework" rel="tag">.net framework</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20080104/reinstalling-the-net-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using MS-Access with MySQL</title>
		<link>http://www.dmortell.com/20070325/using-ms-access-with-mysql/</link>
		<comments>http://www.dmortell.com/20070325/using-ms-access-with-mysql/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 19:40:05 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=149</guid>
		<description><![CDATA[In a project I was working on recently, I moved the backend database from Microsoft Access to MySQL. It worked for the most part, but every so often I would get Write Conflict errors on certain rows of a table.
write conflict
This record has been changed by another user since you started editing it. If you [...]]]></description>
			<content:encoded><![CDATA[<p>In a project I was working on recently, I moved the backend database from Microsoft Access to MySQL. It worked for the most part, but every so often I would get Write Conflict errors on certain rows of a table.</p>
<blockquote><p>write conflict<br />
This record has been changed by another user since you started editing it. If you save the record, you will overwrite the changes the other user made.<br />
Copying the changes to the clipboard will let you look at the values the other user entered, and then paste your changes back in if you decide to make changes.</p></blockquote>
<p>After checking various web pages for a cure, I came up with a list of things to remember when migrating MSAccess to MySQL:<br />
<span id="more-149"></span></p>
<ul>
<li>If you are using Access 2000, you should get and install the newest (version 2.6 or higher) Microsoft MDAC (<code>Microsoft Data Access Components</code>) from <a href="http://www.microsoft.com/data/">http://www.microsoft.com/data/</a>. This fixes a bug in Access that when you export data to MySQL, the table and column names aren&#8217;t specified. Another way to work around this bug is to upgrade to MyODBC 2.50.33 and MySQL 3.23.x, which together provide a workaround for the problem. You should also get and apply the Microsoft Jet 4.0 Service Pack 5 (SP5) which can be found at <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;q239114">http://support.microsoft.com/default.aspx?scid=kb;EN-US;q239114</a>.<br />
This fixes some cases where columns are marked as <code>#DELETED#</code> in Access.<br />
Note: If you are using MySQL 3.22, you must to apply the MDAC patch and use MyODBC 2.50.32 or 2.50.34 and up to work around this problem.
</li>
<li>For all versions of Access, you should enable the MyODBC <code>Return matching rows</code> option. For Access 2.0, you should additionally enable the <code>Simulate ODBC 1.0</code> option.
</li>
<li>You should have a timestamp in all tables that you want to be able to update. For maximum portability, don&#8217;t use a length specification in the column declaration. That is, use <code>TIMESTAMP</code>, not <code>TIMESTAMP(<var>n</var>)</code>, <var>n</var> &lt; 14.
</li>
<li>You should have a primary key in the table. If not, new or updated rows may show up as <code>#DELETED#</code>.
</li>
<li>Use only <code>DOUBLE</code> float fields. Access fails when comparing with single floats. The symptom usually is that new or updated rows may show up as <code>#DELETED#</code> or that you can&#8217;t find or update rows.
</li>
<li>If you are using MyODBC to link to a table that has a <code>BIGINT</code> column, the results are displayed as <code>#DELETED</code>. The work around solution is:
<ul>
<li>Have one more dummy column with <code>TIMESTAMP</code> as the data type.
</li>
<li>Select the <code>Change BIGINT columns to INT</code> option in the connection dialog in ODBC DSN Administrator.
</li>
<li>Delete the table link from Access and re-create it. </li>
</ul>
<p>Old records still display as <code>#DELETED#</code>, but newly added/updated records are displayed properly.
</li>
<li>If you still get the error <code>Another user has changed your data</code> after adding a <code>TIMESTAMP</code> column, the following trick may help you:<br />
Don&#8217;t use a <code>table</code> data sheet view. Instead, create a form with the fields you want, and use that <code>form</code> data sheet view. You should set the <code>DefaultValue</code> property for the <code>TIMESTAMP</code> column to <code>NOW()</code>. It may be a good idea to hide the <code>TIMESTAMP</code> column from view so your users are not confused.
</li>
<li>In some cases, Access may generate illegal SQL statements that MySQL can&#8217;t understand. You can fix this by selecting <code>"Query|SQLSpecific|Pass-Through"</code> from the Access menu.
</li>
<li>On NT, Access reports <code>BLOB</code> columns as <code>OLE OBJECTS</code>.<br />
If you want to have <code>MEMO</code> columns instead, you should change <code>BLOB</code> columns to <code>TEXT</code> with <code>ALTER TABLE</code>.
</li>
<li>Access can&#8217;t always handle <code>DATE</code> columns properly. If you have a problem with these, change the columns to <code>DATETIME</code>.
</li>
<li>If you have in Access a column defined as <code>BYTE</code>, Access tries to export this as <code>TINYINT</code> instead of <code>TINYINT UNSIGNED</code>.<br />
This gives you problems if you have values larger than 127 in the column. </li>
</ul>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20070325/using-ms-access-with-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Palm Programming</title>
		<link>http://www.dmortell.com/20061115/palm-programming/</link>
		<comments>http://www.dmortell.com/20061115/palm-programming/#comments</comments>
		<pubDate>Tue, 14 Nov 2006 15:16:18 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=161</guid>
		<description><![CDATA[Heres a list of resources for programming for the Palm.
OnboardC is a complete C programming environment for your Palm. The source editor, resource editor and compiler all run on your Palm so you can develop on the move.
Handheld Basic++ (HB++) from Peter Holmes Consulting is a complete and very well designed visual basic development environment.

The [...]]]></description>
			<content:encoded><![CDATA[<p>Heres a list of resources for programming for the Palm.</p>
<p><a href="http://onboardc.sourceforge.net/">OnboardC</a> is a complete C programming environment for your Palm. The source editor, resource editor and compiler all run on your Palm so you can develop on the move.</p>
<p><a href="http://www.handheld-basic.com/">Handheld Basic++</a> (HB++) from Peter Holmes Consulting is a complete and very well designed visual basic development environment.</p>
<p><span id="more-161"></span><br />
The <a href="http://onboardc.sourceforge.net/cookbook.html">Palm Programmers Cookbook</a> describes the basics of programming for Palm and contains examples for creating various user interface objects like forms, buttons, menus, and tables.</p>
<p>The <a href="http://goanna.cs.rmit.edu.au/~winikoff/palm/dev.html">Palm Alternatives to C</a> page describes options for different languages that can be used for programming the Palm. It also benchmarks the resulting code. OnboardC is in a respectable 5th place beind CodeWarrior, HB++, PP and High Speed Pascal.</p>
<p>The <a href="http://flippinbits.com/twiki/bin/view/FAQ/WebHome">Palm OS Development FAQ</a> Wiki is still a bit sparse but with help it could turn into a very useful repository of development information.</p>
<p>The <a href="http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/ReferenceTOC.html">Palm OS API Reference</a> describes in detail every function built into the Palm.</p>
<p><a href="http://www.radiks.net/~rhuebner/mathlib.html">Mathlib</a><br />To use trigonometry functions like sqrt(), sin(0 and cos() in your C programs you will need a library called Mathlib. Use the following steps to use it with OnboardC</p>
<ul>
<li>Download the Mathlib.src.zip file.  </li>
<li>Uncompress the file and take a look at the documentation.  </li>
<li>Install MathLib.prc on your handheld.  </li>
<li>You&#8217;ll also need to get the source files MathLib.c and MathLib.h on to your Palm. Use a DOC file converter such as <a href="http://www.geocities.com/mpicker0/DocReader/DocReader.htm">DocReader</a> or <a href="http://www.atlantisdo.com/software/pigydoc/index.html">PigyDoc</a> to create a PRC file for each of the source files and install these on you Palm.  </li>
<li>Delete the line
<p><code>#include
<palmos.h></code></p>
<p>from the top of MathLib.c  </li>
<li>Add
<p><code>#include "MathLib.h"</code></p>
<p>to the start of your application source file.  </li>
<li>Add the following code to your startApp() function</li>
</ul>
<p>[code=C]<br />
static void startApp(){<br />
  Err error;<br />
  error=SysLibFind(MathLibName,&#038;MathLibRef);<br />
  if (error)<br />
    error=SysLibLoad(LibType,MathLibCreator,&#038;MathLibRef);<br />
  if (error) FrmCustomAlert(DebugAlert,"Can't find MathLib.","","");<br />
  error=MathLibOpen(MathLibRef,MathLibVersion);<br />
  if (error) FrmCustomAlert(DebugAlert,"Can't open MathLib.","","");<br />
  return;<br />
}<br />
[/code]</p>
<ul>
<li>Add the following to your stopApp() function
</li>
</ul>
<p>[code=C]<br />
static void stopApp() {<br />
  Err error;<br />
  UInt16 usecount;<br />
  error=MathLibClose(MathLibRef,&#038;usecount);<br />
  if (error) FrmCustomAlert(DebugAlert,"Can't close MathLib.","","");<br />
  if (usecount==0) SysLibRemove(MathLibRef);<br />
  return;<br />
}<br />
[/code]</p>
<p>Forums</p>
<ul>
<li><a href="http://www.1src.com/forums/index.php?">1src</a> has a lot of useful forums related to programming on various handheld devices including the Clie</li>
<li><a href="http://www.palmopensource.com/phpBB/viewforum.php?f=2">PalmOpenSource</a> may also have some useful information</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20061115/palm-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Development Tools</title>
		<link>http://www.dmortell.com/20051031/software-development-tools-2/</link>
		<comments>http://www.dmortell.com/20051031/software-development-tools-2/#comments</comments>
		<pubDate>Sun, 30 Oct 2005 15:29:35 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=163</guid>
		<description><![CDATA[Some interesting new development tools and platforms are available these days.
Microsoft is providing beta versions of its Visual Studio 2005
Mono is an open source IDE for developing .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. from http://www.mono-project.com/
Grasshopper is a Visual Studio .NET plug-in which enables you to use C# [...]]]></description>
			<content:encoded><![CDATA[<p>Some interesting new development tools and platforms are available these days.<br />
Microsoft is providing beta versions of its Visual Studio 2005<br />
Mono is an open source IDE for developing .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. from <a href="http://www.mono-project.com/">http://www.mono-project.com/</a></p>
<p>Grasshopper is a Visual Studio .NET plug-in which enables you to use C# or Visual Basic .NET to develop, debug and deploy Web applications and Web services that run on Windows, Linux and any Java-enabled platform. The Developer version is available free from <a href="http://dev.mainsoft.com/Default.aspx?tabid=130">http://dev.mainsoft.com/Default.aspx?tabid=130</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20051031/software-development-tools-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Internet Explorer from MS-Access</title>
		<link>http://www.dmortell.com/20051015/164/</link>
		<comments>http://www.dmortell.com/20051015/164/#comments</comments>
		<pubDate>Fri, 14 Oct 2005 15:29:32 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=164</guid>
		<description><![CDATA[Database Journal shows how to open a web page from inside MSAccess.
Public Function UpdateOrderInfoWebSite() As Long
On Error Resume NextDim objDoc As SHDocVw.InternetExplorer
Dim sURL As String
Dim lOrderID As LonglOrderID = Forms!frmOrder!txtOrderIDConst cURL As String ="http://localhost/Orders/Process.asp"
sURL = cURL &#38; "?ID=" &#38; lOrderID
sURL = sURL &#38; "&#38;SDate =" &#38; Forms!frmOrder!txtStatusDate
sURL = sURL &#38; "&#38;SID =" &#38; Forms!frmOrder!cboStatusID
sURL = [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.databasejournal.com/features/msaccess/article.php/10895_3505836_2Public">Database Journal</a> shows how to open a web page from inside MSAccess.</p>
<p><code>Public Function UpdateOrderInfoWebSite() As Long<br />
On Error Resume NextDim objDoc As SHDocVw.InternetExplorer<br />
Dim sURL As String<br />
Dim lOrderID As Long</code><code>lOrderID = Forms!frmOrder!txtOrderID</code><code>Const cURL As String ="http://localhost/Orders/Process.asp"<br />
sURL = cURL &amp; "?ID=" &amp; lOrderID<br />
sURL = sURL &amp; "&amp;SDate =" &amp; Forms!frmOrder!txtStatusDate<br />
sURL = sURL &amp; "&amp;SID =" &amp; Forms!frmOrder!cboStatusID<br />
sURL = sURL &amp; "&amp;PONum =" &amp; Forms!frmOrder!txtPONumber<br />
sURL = sURL &amp; "&amp;CID =" &amp; Forms!frmOrder!cboCustomerID</p>
<p>Set objDoc = New SHDocVw.InternetExplorer objDoc.Navigate sURL, , , True</p>
<p>' Need something to pause execution while URL is hit.<br />
Dim i As Integer, j As Integer<br />
For i = 0 To 1000<br />
 j = DCount("*", "MsysObjects")<br />
Next</p>
<p>UpdateOrderInfoWebSite = Err.Number</p>
<p>End Function<br />
</code><br />
Notice that objDoc was declared as type SHDocVw.InternetExplorer. This declaration will fail to compile unless you set a reference to the Microsoft Internet Controls. Open any module and select References from the Tools menu. Scroll down the list until you find the Internet Controls reference and select it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20051015/164/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
