Category Archives: Programming

MT, ToolTips

You may have noticed that version 4.0 of Movable Type has been officially ‘open sourced’ (at Digg). I prefer the rather more correct ‘Movable Type has been relicensed under a less restrictive (or more restrictiver, whichever you fancy) license’. After … Continue reading

Posted in Hyperlinks, Programming | Tagged , , | Comments Off on MT, ToolTips

That, SerialPort stuff

The log files reveal that a lot of people are looking for help using the Serialport component of the .Net Framework. Once again, lets summarize: There are two ways to access data from a serialport: 1. Using the DataReceived event … Continue reading

Posted in Programming | Tagged , | Comments Off on That, SerialPort stuff

More cards

Since the weather was bad yesterday and (it appears) it’s going to be same-o-same-o today, I decided to check into (this last month’s) Card objects project. All earlier created objects were ‘non-visual’ objects and since we’re playing cards, it probably … Continue reading

Posted in Programming | Tagged | Comments Off on More cards

SerialPort and C#

What you need to know before you plan to work on Serial port communication: 0. Create a good test environment. You may need com0com (earlier) which can simulate a loopback between 2 ports. 1. Carefully choose between non-blocking and blocking. … Continue reading

Posted in Programming | Tagged , , | 2 Comments

Minor-Finer

I added a minor project to the ‘Current Project’ section (Right here), a program in C# that generates classes based on table meta-data. It’s simple and it works: there are a couple of tricks how to collect metadata from ODBC … Continue reading

Posted in Programming, SQL | Tagged , , | Comments Off on Minor-Finer

Cards

For something completely unrelated, I decided to check into my older Delphi code and noticed the ‘remnants’ of the code that actually started as a framework for a (basic) Spades1 card game. So hey: the code was actually so readable … Continue reading

Posted in Programming | Tagged | Comments Off on Cards

Lazy.

I read that John Backus died at age of 82 (Slashdot discussion), who happened to be the person who apparently led the team of developers that brought us FORTRAN. I recalled his name because I was studying some BNF notations … Continue reading

Posted in Ordinateurs, Programming | Tagged | Comments Off on Lazy.

Owner-draw

One point with which I want to close off for today: Ownerdraw stuff in C#. Yesterday, I was comparing code to create owner-draw listboxes and comboboxes in both Delphi and C# and noticed how remarkably easy it’s to switch from … Continue reading

Posted in Programming | Tagged , , | Comments Off on Owner-draw

Code and gear

Yesterday, I received an e-mail from CodeGear that the new Delphi platform has been released (or here for fancy images). A bit expensive and I fear for the future of the Delphi environment: notice how the environment now closely seems … Continue reading

Posted in Ordinateurs, Programming | Tagged | Comments Off on Code and gear

Sources

I was reading this posting at Slashdot (“OSS Music composer gaining attention”), which is about a developer who has started a Buzz-like music ‘tracker’ in C#. The part that caught my eye at the linked article was the following paragraph … Continue reading

Posted in Programming | Tagged , , | Comments Off on Sources

You asked: Sharp+Develop+ODBC+example

I had that question appear in my logs a couple of times, and I assume, these are (beginning) .Net developers who want to have examples of accessing database servers via ODBC in C#. If you thought this was going to … Continue reading

Posted in Programming, You-Asked | Tagged , | Comments Off on You asked: Sharp+Develop+ODBC+example

A bug, you say?

There’s a silly bug in a C# method for the Calendar class, GetWeekOfYear: Its second parameter accepts a CalendarWeekRule enumeration with a choice of FirstDay, FirstFourDayWeek or FirstFullWeek. There’s a great example in the API/documentation, however, the samples don’t seem … Continue reading

Posted in Programming | Comments Off on A bug, you say?

I can do this too…

Yes, so I needed to get into an older site and I forgot the password, because, well, back in 2000, I used an FTP program (FTP Explorer) that (at that time) was pretty popular. So, late last year, I was … Continue reading

Posted in Programming | Tagged , | Comments Off on I can do this too…