Growth image
e-gineer

Integrating Microsoft HTML Help search into .NET applications

While spending countless hours writing a comprehensive help file is infinitely rewarding for application testing, consistency and design; it counts for a lot more if users can perform quick help searches from inside the application. That little help search box in the top right hand corner of Office 2003 applications is worth its weight in gold.

The HelpProvider in .NET doesn't provide a method to run help searches from your application. After digging around we found .NET wrapper code to use the unmanaged HTML Help API. While this unmanaged API has an appropriate method, it turns out that HTML Help 1.4 has a bug which ignores the search information struct anyway. So, it will never work. I guess that's why they didn't provide a method to do it from inside .NET.

Of course, rather than thinking about fancy APIs etc we can always fall back on the simplest thing that will possibly work:

// Open the help window to the search
paneHelp.ShowHelp(this, Application.StartupPath + Path.DirectorySeparatorChar + "SauceReader.chm", HelpNavigator.Find, "");
// run the search, by sending key strokes to now active help
windowSystem.Windows.Forms.SendKeys.SendWait("{HOME}^+{END}{BACKSPACE}search query{ENTER}");
// select the first result
System.Windows.Forms.SendKeys.Send("{TAB}{TAB}{ENTER}");

Note: Originally posted to my Synop blog on April 2, 2004.

Once you enter, you are an incumbent

A nice articulation from Peter Rip of why many entrepreneurs will face the same problems in Web 2.0 that investors faced in Web 1.0:

[T]he root causes are the same:

  1. It is very easy to make the initial commitment (founding or funding).
  2. Underestimation of how many had the same conclusion.
  3. Underestimation of survival requirements for the ‘too many competitors’ case.

...

Reduced barriers to entry always look attractive to the entrants. But once you enter, you are an incumbent.

Two cents worth, a definition

After dropping "That's my $0.02." into an email for a multi-cultural uni group today, I was asked what it meant. Finding a definition was surprisingly difficult, but I did stumble across a forum with this little gem on the way:

The phrase "2 cents" does often be found in emails and some other situations. What does this phrase mean?

I believe the complete phrase you want is "two cents' worth," but often shortened to "two cents," as in, "Can I put in my two cents here?" Two cents is, in the U.S., two pennies, a very small sum of money. Even in "the old days," two pennies were considered not worth much. So my opinion, which may not be worth much, is "my two cents' worth."

If its "My 2 cents worth" and "A penny for your thoughts", where does the other penny go?

That's the penny that dropped.

Entrepreneur v2

Watching Dave Winer on NerdTV last night I was struck by one section in particular:

Anyway, well, there's an awful lot of BOGU1 in being a successful entrepreneur, and so the second time around you go, "Well, I'm not gonna work really hard. I'm just gonna be smart, 'cause I know I'm really smart. And I'm gonna have - I'm not gonna have to make do with an inadequate computer, and we're gonna have a really good PR firm, and they're gonna take care of the PR issues for us the whole time through. And everything's gonna be done first-class. We're just gonna do it the right way this time." As opposed to, "Well, it didn't work."

Fact is that you always got a competitor that's willing to do all the awful things that you have to do to be successful, and the fact is to achieve that level - any level of success, I think you really do have to burn yourself out. I really do. I don't think there's a shortcut. And so that's the - that seems to be the story that a lot of second time entrepreneurs go through. I think they - that we all end up learning that one.

The mysterious Mr Gutman posted very similar ideas a few months ago, drawing a response from Ev (a Blogger founder):

I firmly believe that the extreme imbalance so pervasively assumed to be a required component of startup life is detrimental to effectiveness in the long run. What I think is much more key is focus.

Another trick to this theory is that it's harder to demonstrate focus to your people than it is to demonstrate willingness to put in insane hours. And all this is not to say that, endless hours can't make up for some lack of focus.

All the feelings and sentiments in these posts ring true for me, but I think it all boils down to a feeling of wanting to "do it right" the second time round. Starting a business is more than just a learning curve, it's getting beat over the head with a learning stick. Through daily decisions and drawing lines of grey you learn about your boundaries, strengths and weaknesses.

I believe it's about focused energy. Start-ups have very limited capital, time and skills. The tighter your focus, the further you can progress with the limited resources available. Unfortunately, this is incredibly hard to do in the whirlwind of chasing new ideas and customers.

Great start-ups should be like having a baby. No matter how tired you are, or how much attention it requires, the joy and rewards are worth it2.

1. Bend over and grease up - see #19 here.
2. Or so I'm told by people who actually have children (or canine psuedo-children).

Best first post sequence for a blog

The other day I stumbled across Owen Braun's weblog, which must have the best first post sequence I've ever read:

Testing
posted Friday, September 23, 2005 3:37 AM by owenb
Hmmm, first post to my first blog. Dum de dum.

Looking Good
posted Friday, September 23, 2005 3:42 AM by owenb
No flames as yet. Emboldened, in next post, will experiment with actual content.

Hello
posted Friday, September 23, 2005 3:47 AM by owenb
I’m writing this blog to tell you about the next version of OneNote (“OneNote 12”), which is currently under development.... [etc ... lots of good content]

Anyone seen something better?

Bird noises

There's nothing better than a nice quiet neighbourhood...

Video: Bird noises.wmv (1.3MB) | Bird noises (small).wmv (0.5MB)

Aspiring leaders prepare for opportunity

Over the weekend, in a Leadership & Motivation MBA course, we had a number of interesting discussions about what it takes to be a great leader. Many ideas were tossed around including drive, luck, ambition, charisma and much more.

Through discussion, our group boiled it down to this simple model:

Leadership performance = Ability x Motivation x Alignment x Opportunity

In reality, this is just a slight variation of Vroom's 1964 model for performance at work:

Performance = Ability x Motivation
Performance = (Aptitude x Training x Resources) x (Desire x Commitment)

The fundamental difference being that work normally provides you with a context of tasks or opportunity by default while great leaders normally arise out of new opportunities (thrust upon them, created or sought out). For us, opportunity incorporates luck, timing and preparation.

A guest lecturer, Harry Bergsteiner, likes to expand Vroom's model to include Values:

Performance = Ability x Motivation x Values

In this context, Values includes ethics, policies, procedures and corporate culture. His argument is that the alignment of someone's values with those of the organisation is very important to performance. Interestingly, he also points out that the only place where punishment or sanctions of staff make sense is when values are not met. Any ability or motivation issues need to be addressed through feedback, encouragement and training. Personally I think that Values is a little bit too idealistic and universal. For mine, it makes more sense to talk about this as alignment with the values of the organisation.

Performance = Ability x Motivation x Alignment

Part of leadership is choosing, building and communicating appropriate values for an organisation (followers). Here alignment remains a vital element to success, both upwards (personal alignment with larger organisation values) and downwards (bring followers into alignment). So, the performance of a leader boils down to:

Leadership performance = Ability x Motivation x Alignment x Opportunity

According to Winston Churchill, "Luck is what happens when preparation meets opportunity". So, if you have the motivation, keep preparing and looking for the opportunity that aligns with your values.

Searching for the real nathan wallace

A few days ago, my personal home page and blog suddenly lost all of their Google juice. After being the number one result on "nathan wallace" for many years all of a sudden I'm not even in the top 200 results.

The weird thing is that the top 10 results are still pretty much all to do with me, they are just specific articles I wrote, people pointing to my blog or profile pages about me on other websites.

The dropped pages are still in Google's index and can be found through very specific searches.

The only explanations I can come up with are:

  1. I'm using 301 permanent redirects from the old URLs like http://www.e-gineer.com/nathan/index.phtml to http://www.e-gineer.com/nathan/. This is part of changing my site to purely static content.
  2. This blog is published to the e-gineer site using FTP from Blogger. You can tell since the pages contain metadata saying it is blogger generated. Perhaps the splog problem is being targetted even harder by Google.
  3. I've actively started updating the e-gineer site and the pigeons really don't like the direction my content is taking...

I love Google and rely on their services for email, blogging and my daily searching. No complaints here. But, I am searching for reasons as to why I'm suddenly being cast off into the index wilderness. Google, why don't you like me anymore?

Update (Oct 14, 2005): My blog has jumped back up to result #3.

Update (Oct 15, 2005): My blog is now #2 and the Nathan page #3.

Update (Dec 3, 2005): I was lost, but now I'm found. Google, Yahoo and MSN all have the Nathan page #1 and my blog #2.

Update (Jan 2, 2006): Google has completely shunned me again.

Update (Feb 4, 2006): I'm back at #1 & #2 again.

Becoming tough guy macho

Deal and Kennedy's cultural model groups organisations into one of four categories. I often reflect on this model when evaluating new ideas or projects.

I like to aim for "tough guy macho". It allows me to think big, learn fast and make lots of non-fatal mistakes.

Watching through the windows

Apparently, some analysts believe "the music business is evolving into a natural home for windows". By windows they mean the gradual release of content, for example movies are available in theatres, DVD and then TV. In Australia we have the added disadvantage of a geographical window, further delaying releases in each form.

Let's consider the "windows" for The West Wing (a current addiction for me):

  1. Shown on NBC in the US.
  2. Released to DVD in the US.
  3. Released to DVD in Australia.
  4. Available as overnight DVD hire.
  5. Available as 3 day DVD hire.
  6. Available as weekly DVD hire.
  7. TV broadcast in random order at variable, late night times (standard for sophisticated show on Australian free to air TV).

While this seems like a nice theoretical pecking order, there are some overlooked steps:

  1. Shown on NBC in the US.
  2. TV scrape available for free download via Bit Torrent (or other P2P technology).
  3. Released to DVD in the US.
  4. DVD rip available for free download via Bit Torrent (or other P2P technology).
  5. Released to DVD in Australia.
  6. Available as overnight DVD hire.
  7. Available as 3 day DVD hire.
  8. Available as weekly DVD hire.
  9. TV broadcast in random order at variable, late night times (standard for sophisticated show on Australian free to air TV).

Currently, the only way to watch season 6 or 7 in Australia is by P2P download. It is not yet available in video stores. Given a single hire contains about 8 episodes, even for season 5 (overnight hire), download or hire and rip to personal hard disk is the only practical way to watch.

Long term, the only way I can see "windows" working is if it is released in digital form first. I'm happy to pay, but I'm not happy to wait.

A digital release can be done sooner and at lower cost. There is no artwork or packaging to create. Demand can be gauged and built before the release of collectable physical versions. Fans will buy in digital form first (timely access) and then in physical form later (experience access).

Making digital copies the initial release adds to their value and discourages sharing. Asking a friend if I can rip an electronic copy from their physical copy costs them nothing, they still own the higher quality and more exclusive object. But, if the only copies available are in paid digital form, then asking for a copy reduces its exclusivity. Unfortunately the main concern here is normally the perception of a friend about their copy, not the rights of the artist or publisher.

So, if you are going to use windows, the most effective order would be:

  1. Hard to copy live performances.
  2. High quality digital release.
  3. Released in collectable, physical form.

Free copying of electronic content cannot be stopped. We have to assume that every DRM scheme will get broken, or scraping techniques so powerful that the content isn't really protected.

So, the only way to monetise electronic content is by changing focus to the value of the content to the license holder rather than the artist or publisher. You need to make me less willing to give away my stuff. Here are my recommendations:

  1. Make digital versions the first release version.
  2. Lower the cost of digital versions reflect their production and distribution. No artwork, no packaging, less marketing, less transport.
  3. Brand digital copies as something else.

I was struck the other day by just how viable the digital alternatives have become. My $40/month internet connection can download from Australian sites at about 800kB/sec. A reasonable quality DVD rip is generally 800MB or less. Theoretically, I could download a DVD in just over 15 minutes (1000 secs). That's less time than it takes me to get to the video store, let alone make a return the next day.

Using windows to release in different formats I can live with. Just don't make me wait.

Feed