Monthly archives: September, 2012

Converting BLOB in MySQL

Blob is a format used in MySQL to hold binary data (binary large objects). Blobs are treated as binary strings but has no character set information. Normal text is treated as character strings with character set information stored. If you want to use a blob you therefore have to know what character set it’s coded

Close program from main constructor

Sometimes you realize in the constructor that some criteriums are not fulfilled. Maybe there is no network access or something similar. The problem is that you can’t run the normal Close() for the window. One simple way of getting around this is to create an EventHandler for the Loaded event because when that event is

%d bloggers like this: