• GMap.NET
    February 21, 2013

    GMap.NET Tutorial – Maps, markers ...

    The following is a tutorial for using the excellent GMap.NET control. This text will explain how to place a map control on a form, how to initialize i...
  • Dream Prisoner Location
    January 25, 2013

    Dream Prisoner Walkthrough

    I'm posting the walkthrough for the game "Dream Prisoner" that I recently converted to Flash. This walkthrough is complete solution, so don't look...
  • Dream Prisoner screen shot
    January 25, 2013

    Dream Prisoner Hints

    With the release of Dream Prisoner for Flash, I remembered that I have a hint sheet lying around. This can be useful for those who want to figure ou...
  • Dream Prisoner - Dining Room
    January 25, 2013

    Dream Prisoner released for Flash!

    It's been almost twenty years, but I finally sat down and converted Dream Prisoner to Adobe Flash. This game has been around since 1995, and was t...
Next
  • GMap.NET
  • Dream Prisoner Location
  • Dream Prisoner screen shot
  • Dream Prisoner - Dining Room
Previous

TreeListView does not like NHibernate

I love ObjectListView. It’s a solid, well-written control, and what’s more, it plays nice with NHibernate. When you use NHibernate to lazy-load a long list of items, any non-lazy proxy fields will be loaded by NHibernate as the ObjectListView accesses them.

Unfortunately, the same cannot be said for the TreeListView, also part of the ObjectListView package. This control does not like lazy-loaded fields, and will crash on a null pointer exception if you try to use them. Be warned.


Forcing NHibernate to use MySQL InnoDB

NHibernate is an Object Relational Mapping library that can create a MySQL database for you from your code, using mapping information that you provide. As it does so, it will create foreign keys as necessary to reflect that data integrity that your code requires. However, MySQL only accepts foreign keys for its InnoDB table format. This means that any foreign keys that NHiberate creates are silently ignored. Your MySQL EER diagrams will not show any associations, since there aren’t any. Read more


WeiFen Luo DockPanelSuite Tutorial & Cookbook

WeiFen Luo’s DockPanelSuite is an open source window docking library for .NET Windows Forms. There are a lot of docking window solutions out there, but most are proprietary (and expensive), and DockPanelSuite is the only open source implementation I found that was decent. It suffers from one major problem though – lack of documentation.
Read more


String Formatting in C# Cheat Sheet

String formatting in C# is easy – the hard part is looking up what all the formatting specifiers do. This cheat sheet brings them all together. Read more


GMap.NET Tutorial – Routes

Continuing from the previous GMap.NET Tutorial – Maps, markers and polygons on this site, this article shows how you can show a route on your map. It is assumed that you know how to setup a GMap.NET project, and set your map to your desired location (if not, read through the other tutorial first).

Read more


GMap.NET Tutorial – Maps, markers and polygons

GMap.NETThe following is a tutorial for using the excellent GMap.NET control. This text will explain how to place a map control on a form, how to initialize it to show the coordinates you want, how to add markers to it, and how to add polygons.

Download the GMap.NET library here (the so-called “hot build” from 2013 – the latest stable release is from 2011 and had some problems for me).
Read more


Automated conversion of many Visio drawings to PNG

I had a project where I needed to draw a lot of UML diagrams, and decided on Visio for the drawing work. The diagrams had to be included in various project outputs, such as a design report and a project wiki. This would require exporting files from Visio to PNG format whenever a change was made to any diagram.

What I needed was a way to automate image export from Visio. Since all the diagram files live in a single folder, a script would go through that folder, find all VSD files, and export them to PNG.
Read more


Android: Cannot create multiple database tables

I ran into a problem with an Android application, where I needed to create multiple database tables. There’s a small catch to remember that may save you a headache.

Read more


Euro-5

A series of books that I loved to read when I was very young is “Euro-5″, written by Bert Benson. These are science fiction stories of a time when men were men, curse words were unknown (except for “By Jupiter!” and “Blimey!”), and basically nothing was known about the universe. The Euro-5 series is food for Trekkies. It was available in Dutch. I don’t think it was ever translated to English. If I had the time, it would be on my to-do list.

Read more


A practical guide to URL rewriting for IIS

I use my own PHP-based CMS for almost all my web development. This is great, because since I know the code inside and out, I can make whatever the client wishes happen. It has a lot of nice, reusable features (plugins) that make development of a generic website pretty short. Still, all was not well because one of the things it didn’t support was URL rewriting. In this blog post, I’ll set out to describe how this is done, what pitfalls there are and how they can be avoided.
Read more