<?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>Stephen&#039;s Personal Blog &#187; Programming</title>
	<atom:link href="http://stephensite.net/WordPressSS/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://stephensite.net/WordPressSS</link>
	<description>Everything&#039;s Programming</description>
	<lastBuildDate>Fri, 14 Oct 2011 01:41:26 +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>Why is Business Objects Code So Slow?</title>
		<link>http://stephensite.net/WordPressSS/2009/08/27/why-is-business-objects-code-so-slow/</link>
		<comments>http://stephensite.net/WordPressSS/2009/08/27/why-is-business-objects-code-so-slow/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 21:49:18 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[My Story]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rambling]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=1586</guid>
		<description><![CDATA[It is damn frustrating to use the code below to get to the label name of a specific Universe object.  It just loops over and over again looking for a specific object id in a specific class.  The object id is unique across all classes.  So, the class part is redundant.  [...]]]></description>
			<content:encoded><![CDATA[<p>It is damn frustrating to use the code below to get to the label name of a specific Universe object.  It just loops over and over again looking for a specific object id in a specific class.  The object id is unique across all classes.  So, the class part is redundant.  There is inexplicably no function to obtain the object by giving the unique id.  So, we loop and hope the desired object id is near the top.</p>
<blockquote><p>Set oDesignerClass = m_oUniverse.Classes.FindClass(sClassName)<br />
For nIndex = 1 To oDesignerClass.Objects.Count<br />
	Set oDesignerObject = oDesignerClass.Objects(nIndex)<br />
	If oDesignerObject.id = nBIObjectID Then<br />
		sLabel = m_oUniverse.Classes.FindClass(sClassName).Objects.Item(nIndex).Name<br />
		Exit For<br />
	End If<br />
Next</p></blockquote>
<p>When we know everything about the object that we want and could just get it with one line of code that doesn&#8217;t need to execute uselessly and repeatedly.</p>
<blockquote><p>m_oUniverse.Classes.FindClass(sClassName).Objects.(Name).Name = sLabel</p></blockquote>
<p>Or better yet, by ObjectID (SHOCK!!! I know) </p>
<blockquote><p>m_oUniverse.(nBIObjectID).Name = sLabel</p></blockquote>
<p>If someone knows who the idiots are that thought this was a good idea let me know their address.  I would have no problems sending the team a book from Amazon on the binary search algorithm were learned in Computer Science 101.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2009/08/27/why-is-business-objects-code-so-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Google Map Links</title>
		<link>http://stephensite.net/WordPressSS/2009/02/19/more-google-map-links/</link>
		<comments>http://stephensite.net/WordPressSS/2009/02/19/more-google-map-links/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:41:23 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=1304</guid>
		<description><![CDATA[Plot Multiple Points from a Google Spreadsheet
	Ex. http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm
Creating a Blog from withing Google Maps
	Ex. http://ouseful.open.ac.uk/blogarchive/012936.html
Google Calender on a Google Map
	Ex. http://blog.wired.com/monkeybites/2008/01/killer-mashup-p.html
Data Scraping Wikipedia with Google Spreadsheets
	Ex. http://ouseful.wordpress.com/2008/10/14/data-scraping-wikipedia-with-google-spreadsheets/
Interactive Election Map
	Ex. http://mapmash.googlepages.com/election_map.html
Video in the Google Map pop up
	Ex. http://5tvs.com//internet-tv-maps/news/
BBC News Stories by map
	Ex. http://dev.benedictoneill.com/bbc/
Doctor Who Locations
	Ex. http://www.doctorwholocations.org.uk/
Flat World Map view
	Earthquakes This Week
	Ex. http://earthquakes.tafoni.net/
EPA Pollution Data
	Ex. http://findpollution.org/
Complex Info [...]]]></description>
			<content:encoded><![CDATA[<p>Plot Multiple Points from a Google Spreadsheet<br />
	Ex. http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm<br />
Creating a Blog from withing Google Maps<br />
	Ex. http://ouseful.open.ac.uk/blogarchive/012936.html<br />
Google Calender on a Google Map<br />
	Ex. http://blog.wired.com/monkeybites/2008/01/killer-mashup-p.html<br />
Data Scraping Wikipedia with Google Spreadsheets<br />
	Ex. http://ouseful.wordpress.com/2008/10/14/data-scraping-wikipedia-with-google-spreadsheets/<br />
Interactive Election Map<br />
	Ex. http://mapmash.googlepages.com/election_map.html<br />
Video in the Google Map pop up<br />
	Ex. http://5tvs.com//internet-tv-maps/news/<br />
BBC News Stories by map<br />
	Ex. http://dev.benedictoneill.com/bbc/<br />
Doctor Who Locations<br />
	Ex. http://www.doctorwholocations.org.uk/<br />
Flat World Map view<br />
	Earthquakes This Week<br />
	Ex. http://earthquakes.tafoni.net/<br />
EPA Pollution Data<br />
	Ex. http://findpollution.org/<br />
Complex Info Pop Up<br />
	World Bank + Google Map Mashup<br />
	Ex. http://geo.worldbank.org/</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2009/02/19/more-google-map-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_GET[&#039;cat&#039;] Doesn&#8217;t Work With Permalinks</title>
		<link>http://stephensite.net/WordPressSS/2009/01/03/_getcat-doesnt-work-with-permalinks/</link>
		<comments>http://stephensite.net/WordPressSS/2009/01/03/_getcat-doesnt-work-with-permalinks/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 17:54:23 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Site Admin]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=1178</guid>
		<description><![CDATA[My sidebar shows different content based upon the category that you are viewing at the time.  There are so many links that I want access to that I had to break out the big categories like bicycle and garden into their own subpages.
The other day I switched to using permalinks for the URL.  [...]]]></description>
			<content:encoded><![CDATA[<p>My sidebar shows different content based upon the category that you are viewing at the time.  There are so many links that I want access to that I had to break out the big categories like bicycle and garden into their own subpages.</p>
<p>The other day I switched to using permalinks for the URL.  This replaces the URLs like this:<br />
WordPressSS/?post_id=763<br />
With URLs that look like this:<br />
WordPressSS/2008/12/22/penny-stove/</p>
<p>This caused a big problem with showing different sidebar content based on the category.  The category used to be passed in through the query string and you get it with _GET['cat'].  Permalinks don&#8217;t use query strings.</p>
<p>To restore functionality, you need to replace &#8220;current_cat = $_GET['cat'];&#8221; with<br />
$category = get_the_category();<br />
$current_cat = $category[0]->cat_ID;</p>
<p>It would seem the permalinks can handle multiple categories, because get_the_category() returns an array.  This might be useful for some feature I can&#8217;t image.  Perhaps a sidebar for a tab to show Programming+Computers+Technology content.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2009/01/03/_getcat-doesnt-work-with-permalinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes to the Bike Log</title>
		<link>http://stephensite.net/WordPressSS/2008/12/31/changes-to-the-bike-log/</link>
		<comments>http://stephensite.net/WordPressSS/2008/12/31/changes-to-the-bike-log/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 19:06:25 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Bicycle]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Site Admin]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=1134</guid>
		<description><![CDATA[Years ago when I was on the Atkins diet and exercising every day I had a little log book.  This is a surprisingly simple and cheap motivation.  It sucks to look back and see missing entries, I don&#8217;t feel guilty at the time, and I like recording big numbers.  So, when I [...]]]></description>
			<content:encoded><![CDATA[<p>Years ago when I was on the Atkins diet and exercising every day I had a little log book.  This is a surprisingly simple and cheap motivation.  It sucks to look back and see missing entries, I don&#8217;t feel guilty at the time, and I like recording big numbers.  So, when I started training last summer I did the same thing on the blog.  Later, this turned into an exercise log.</p>
<p>Keeping this on the blog is pretty kludgy.  I have to copy and paste the last line then edit it.  Changes to the table structure like adding new columns or colorization takes a massive amount of effort.  It&#8217;s good for one thing, adding one line at a time.</p>
<p>I hoped to fix this with some WordPress plugins like WP_Tables, but these are almost as kludgy and are not easy to add one new row.  If there&#8217;s one thing WordPress does exceptionally bad it&#8217;s table data.  You can&#8217;t just paste in cells from an Excel spreadsheet or quickly mock up a 3 X 4 simple table.  This is really too bad as spreadsheets are one of the little known foundations of the digital age.</p>
<p>The Recent Book list is nearly as bad.  It&#8217;s not a table, but has many common elements and new books are added the same way as the Bike Log.  A while ago I added book covers to the mouse hover event.  This took a couple of hours.</p>
<p>For some reason, I got the idea on Sunday of writing a Windows app to manage the data and spit out a formatted HTML table that I could just paste into the blog.  It took about 6 hours to put together a basic app that would read existing data, write it to a new file format, and spit out an HTML table for the blog.  Editing, adding, and removing entries were still done by editing the text file, but that was about the same as the blog anyway.  The table got an immediate improvement in appearance that was worth the trouble.  Over the past few days I&#8217;ve added other basic features along with a few more columns.</p>
<p>I would like to add a bit of analyzation too; things like weekly, monthly, yearly mileage, comparison to past performance in events, and fancier HTML.  And to address the other annoyance of the Book List.  It would be nice if this were in WordPress as a plugin.  My interest can wane overnight and it&#8217;s better to have a process that works at the end of each improvement session.  PHP, MySQL, WordPress development on a remote box would take too long.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2008/12/31/changes-to-the-bike-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On DOS Age Game Interfaces</title>
		<link>http://stephensite.net/WordPressSS/2008/12/21/on-dos-age-garme-interfaces/</link>
		<comments>http://stephensite.net/WordPressSS/2008/12/21/on-dos-age-garme-interfaces/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 16:36:28 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rambling]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=1099</guid>
		<description><![CDATA[Lately, I&#8217;ve been exploring the crusty old world of DOS gaming.  This weekend I got enthralled by one of my favorites; Master of Orion (MOO) and Master of Orion 2 (MOO2).  Especially, MOO2 is just as good then as today.  There was a MOO3 in 2003, but somehow it wasn&#8217;t very good. [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve been exploring the crusty old world of DOS gaming.  This weekend I got enthralled by one of my favorites; Master of Orion (MOO) and Master of Orion 2 (MOO2).  Especially, MOO2 is just as good then as today.  There was a MOO3 in 2003, but somehow it wasn&#8217;t very good.  Not nearly as interesting as MOO2.</p>
<p>MOO was released for DOS in 1993.  You start with a planet whose control has been reduced down to how much $$ to spend on Production (Ships), Defense, Industry(Growth), Environment, and Technology.  There is one planet or less per Sun and the goal is to colonize the galaxy.  Technology improvements help population growth, ship speed, weapons, etc.  Each race has unique qualities such as cyborg, silicon, high tech, militaristic, etc.  There are a limited number of ship designs, but they are completely customizable and the combat portion is playable, as opposed to a roll of the dice.  As with most games of the time, given the limited graphics and CPU power available, everything is turn based.</p>
<p>MOO2 was released for DOS and Windows 95 in 1996.  It is drastically improved in all aspects.  The engine is more complex.  Graphics are twice as detailed.  There is much more control over planets, ships, and races.  The core of the original game is there.  It just has more of everything.  They added a limited number of hero characters, which was the style of the time as in Master of Magic (MOM).  Suns have multiple planets of more types.  More types of ships with more kinds of weapons.  The combat engine, in some ways the heart of the game, is much improved.  Also, a high tech enemy was added, the Antareans, which comes and wipes out the colonies of all those with inferior defense tech.</p>
<p>As I played, I began to notice certain oddnesses.  Little things that I realized I had accepted as normal at the time.  It comes down to the interface.  Windows has won and we all use the mouse, no matter what program, basically like we are in Windows.  Drag and Drop for various activities based off the programs and files, Right Click for a Context Menu, Single Click to select an item, plus Shift or Ctrl to select a list of items, Double Click to fire off the default action, Enter acts like a Double Click, Cancel with the Escape key, Print Screen takes a screenshot, etc.  </p>
<p>In 1993, Windows was not quite a competitive Graphical User Interface (GUI).  And later in 1996 as Windows 95 it was not the winner and most games still ran in DOS mode for performance reasons.  DOS was a command line interface for running other programs.  Many of these did use the mouse.  DOS did not and there was no one standard program everyone used.  WordPerfect and Word were still fighting it out.  Windows existed, but not everyone could or did run it and it had competition from OS2 and Apple.  In this Wild West of GUIs the mouse could be used anyway that seemed best for the particular program.</p>
<p>That&#8217;s exactly what these games show.  This is how most things work.  Single click performs an action, there is no double click, drag an drop works on certain icons, right click pops up a set of help messages for all the displays and buttons, and Enter is just a keyboard key.  Scroll wheels hadn&#8217;t been invented so to zoom in on the map you click a button, which highlights a box the size of the new map window and you drag that box over the part of the map you want to see and right click again.  Lists don&#8217;t respond to the scroll wheel, which feels really weird.</p>
<p>Except for the scroll wheel and lists I like this interface better than most.  It&#8217;s simple, relatively flat, and most information is quickly available.  Right clicking to get context menus and selecting an action is a horrible crutch.  This is the kind of game that would work pretty well with the single button Mac mouse.  It feels solid.  Not like you could accidentally click the wrong things or drag a game piece over something to create a disaster.</p>
<p>Looking back one thing that has hurt games that try to replicate the success and feel of MOO2 is the use of 3D space.  MOO and MOO2 are flat 2D games.  It&#8217;s easy on a 2D monitor to move game pieces around the board.  To jump to 3D you have to constantly fiddle with the map to shift around the Z angle.  Since Real Time Strategy (RTS) has apparently one the style of combat in games you have two actions to perform; stop the clock and move the camera.  This just gets in the way. </p>
<p>These games are fun and quite innovative without being the enormous and addictive time sinks that current games are.  I&#8217;ve been playing MOO2 for a couple of months now and a I can walk up and play for a few hours without and then leave it for a week without thinking about it once.  This is rare for me.  So, this slids right into a sweet spot.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2008/12/21/on-dos-age-garme-interfaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Creed of a Programmerâ€</title>
		<link>http://stephensite.net/WordPressSS/2008/12/21/the-creed-of-a-programmer%e2%80%8f/</link>
		<comments>http://stephensite.net/WordPressSS/2008/12/21/the-creed-of-a-programmer%e2%80%8f/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 16:26:29 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=1095</guid>
		<description><![CDATA[This is my debugger. There are many like it, but this one is mine.
My debugger is my best friend. It is my life. I must master it as I must master my life.
My debugger, without me, is useless. Without my debugger, I am useless. I must fire my debugger true. I must shoot straighter than [...]]]></description>
			<content:encoded><![CDATA[<p>This is my debugger. There are many like it, but this one is mine.</p>
<p>My debugger is my best friend. It is my life. I must master it as I must master my life.</p>
<p>My debugger, without me, is useless. Without my debugger, I am useless. I must fire my debugger true. I must shoot straighter than my defect who is trying to kill me. I must shoot him before he shoots me. I WILL&#8230;</p>
<p>My debugger and myself know that what counts in this war is not the defects we resolve, the noise of our bug bashes, nor the smoke we make. We know that it is the hits that count. WE WILL HIT&#8230;</p>
<p>My debugger is human, even as I, because it is my life. Thus, I will learn it as a brother. I will learn its weaknesses, its strength, its parts, its accessories, its watches and its breakpoints. I will ever guard it against the ravages of patches and upgrades as I will ever guard my legs, my arms, my eyes and my heart against damage. I will keep my debugger clean and ready. We will become part of each other. WE WILL&#8230;</p>
<p>Before God, I swear this creed. My debugger and myself are the defenders of my country. We are the masters of our enemy. WE ARE THE SAVIORS OF MY LIFE.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2008/12/21/the-creed-of-a-programmer%e2%80%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Business Objects QaaS Utility Part 1</title>
		<link>http://stephensite.net/WordPressSS/2008/10/19/business-objects-qaas-utility-part-1/</link>
		<comments>http://stephensite.net/WordPressSS/2008/10/19/business-objects-qaas-utility-part-1/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 18:49:29 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[My Story]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=991</guid>
		<description><![CDATA[Recently, I got the chance to break some new ground.  Very exciting since I used to do this weekly and now it&#8217;s more like annually.  Business Objects has the ability to provide web services to report data.  With Xcelcius to create the pretty bar graphs and pie charts this results in simple [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I got the chance to break some new ground.  Very exciting since I used to do this weekly and now it&#8217;s more like annually.  Business Objects has the ability to provide web services to report data.  With Xcelcius to create the pretty bar graphs and pie charts this results in simple dashboard like summary of data that just about anyone can understand.  Data like what are the most likely body parts injured, how much do those injuries costs, and what are the most expensive claims on those injuries.</p>
<p>The design flaw in Business Objects toolset for making these web services is flexibility in copy a query from one database, called a Universe (someone&#8217;s got a big head), to another database.  Each customer is in their own database.  So, we want to copy a standard set of queries from the Demo database to the Client&#8217;s database.  The Business Objects tool makes you rewrite the web service when you move it from between databases.</p>
<p>This can be a time consuming process.  Let&#8217;s say you have a dozen queries for a client.  It takes 5 minutes for each query.  And you sign up 50 clients.  12 X 50 X 5 = 60 hours.  This is Development&#8217;s time and excludes errors, which would take hours more.  So, nice feature, but not production ready.</p>
<p>Let&#8217;s say you could copy a query from one database to another in 5 seconds and use a tool that anyone can manipulate.  Now, it takes 60 minutes of a Business Admin&#8217;s, Project Management&#8217;s, Customer Service implementor&#8217;s,.. time.</p>
<p>That&#8217;s the tool.  How to copy a Business Objects Web Service query from one Universe to another.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2008/10/19/business-objects-qaas-utility-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stack Overflow</title>
		<link>http://stephensite.net/WordPressSS/2008/09/19/stack-overflow/</link>
		<comments>http://stephensite.net/WordPressSS/2008/09/19/stack-overflow/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 15:11:44 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=854</guid>
		<description><![CDATA[StackOverflow is a new Q &#038; A programming site.  Something to check out.  I&#8217;ve been listening to the podcast about it.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://stackoverflow.com/">StackOverflow</a> is a new Q &#038; A programming site.  Something to check out.  I&#8217;ve been listening to the <a href="http://itc.conversationsnetwork.org/series/stackoverflow.html">podcast</a> about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2008/09/19/stack-overflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Key Property on Common Controls Tab 6 Doesn&#8217;t Work With Numeric Values</title>
		<link>http://stephensite.net/WordPressSS/2008/06/25/key-property-on-common-controls-tab-6-doesnt-work-with-numeric-values/</link>
		<comments>http://stephensite.net/WordPressSS/2008/06/25/key-property-on-common-controls-tab-6-doesnt-work-with-numeric-values/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 20:50:32 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=737</guid>
		<description><![CDATA[I&#8217;ve discovered a recent defect in the MS Common Controls Tab and it seems to be undocumented.  So, I&#8217;ll document it here for the next poor sap.  This applies to Visual Basic 6 and Microsoft Common Controls 6.1, MSCOMCTL.OCX 6.1.97.82 February 23, 2004.  Perhaps it was fixed in and earlier or later [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve discovered a recent defect in the MS Common Controls Tab and it seems to be undocumented.  So, I&#8217;ll document it here for the next poor sap.  This applies to Visual Basic 6 and Microsoft Common Controls 6.1, MSCOMCTL.OCX 6.1.97.82 February 23, 2004.  Perhaps it was fixed in and earlier or later version.  If so, it would be nice if that fix was easy to find on the &#8216;net.</p>
<p>If you put a string that that only contains valid number characters into a tab&#8217;s Key property and error results.  If you are suppressing errors in this section of code, like we are, then you won&#8217;t notice until you pull the Key property and a blank string comes back.</p>
<p><code><br />
Dim tabPage As MSComctlLib.Tab<br />
If (m_col.Count = 0) Then<br />
    Set tabPage = m_TabStrip.Tabs(1)<br />
Else<br />
    Set tabPage = m_TabStrip.Tabs.Add<br />
End If</p>
<p>tabPage.Caption = sName<br />
<font color=red>tabPage.Key = sName</font><br />
</code></p>
<p>The solution sucks.  Basically, the Key property is unuseable, but lots of code is already depending on it.  So, if sName is numeric I can prefix/suffix an obviously non-numeric character and then go fix all the code to look for this character.  Or I can do this on ALL strings put into the Key property.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2008/06/25/key-property-on-common-controls-tab-6-doesnt-work-with-numeric-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RealBasic Links</title>
		<link>http://stephensite.net/WordPressSS/2008/06/03/realbasic-links/</link>
		<comments>http://stephensite.net/WordPressSS/2008/06/03/realbasic-links/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 11:45:11 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://stephensite.net/WordPressSS/?p=718</guid>
		<description><![CDATA[http://www.rbdeveloper.com/
http://rb.thevbzone.com/l_intro.htm
http://realbasic-programming.blogspot.com/
http://rbnation.com/blog/
http://www.hitmill.com/programming/realb/rbtutorial.htm
http://www.monkeybreadsoftware.de/Freeware/
http://www.mactech.com/articles/mactech/Vol.21/21.01/AppsInREALBasic/index.html
http://www.json.org/
]]></description>
			<content:encoded><![CDATA[<p>http://www.rbdeveloper.com/</p>
<p>http://rb.thevbzone.com/l_intro.htm</p>
<p>http://realbasic-programming.blogspot.com/</p>
<p>http://rbnation.com/blog/</p>
<p>http://www.hitmill.com/programming/realb/rbtutorial.htm</p>
<p>http://www.monkeybreadsoftware.de/Freeware/</p>
<p>http://www.mactech.com/articles/mactech/Vol.21/21.01/AppsInREALBasic/index.html</p>
<p>http://www.json.org/</p>
]]></content:encoded>
			<wfw:commentRss>http://stephensite.net/WordPressSS/2008/06/03/realbasic-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

