You know these innocuous file filters used by Open / Save dialogs? They usually look like this: First Filetype (*.ex1)|*.ex1|Second Filetype (*.ex2)|*.ex2|All Files (*.*)|*.* And since typing them is so difficult because you must remember to type all these pipe symbols, Delphi provides a property editor for it. Is there anybody who actually likes this … Continue reading Translating file filters
Author: dummzeuch
Changing the mouse wheel scroll behaviour of TListBox
While working on my dzMdbViewer I wondered why the mouse wheel didn't seem to scroll the listbox containing the table names but did work in the dbtable. It turned out to be a misconception on my side: The listbox contained only a few items so it didn't have a vertical scroll bar. The default behaviour … Continue reading Changing the mouse wheel scroll behaviour of TListBox
Convert from Subversion to Mercurial fast
In my previous post about converting from Subversion to Mercurial I assumed that I would want to migrate the history of changes from my svn repository to the new hg repository. For some projects, I don't really care about the history so I decided to take the quick and dirty route: Create a new, empty … Continue reading Convert from Subversion to Mercurial fast
Logging into a Mercurial repository on Sourceforge with an SSH private key
I was just about to post the following to stackexchange.com: --- I have got a mercurial repository on sourceforge.net, generated an ssh key with PuttyGen and uploaded it to Shell Services Configuration as described in the relevant site documentation. I then started Pageant and entered my passphrase. Now, I can connect to shell.sourceforge.net without entering … Continue reading Logging into a Mercurial repository on Sourceforge with an SSH private key
Using MSConfig to disable autostart
I guess most of you know that you can use msconfig (Start->Run->"msconfig") to disable programs that are automatically started by Windows. And you might have wondered where these entries go, when you disable them. Especially it looks like magic if entries in the start menu's Startup folders are concerned: You disable them in msconfig and … Continue reading Using MSConfig to disable autostart
I bought a Kindle
I had decided to never buy a Kindle because I take issue with Amazon controlling it, not myself. Also, I hate it that all Kindle e-books from Amazon are encumbered by DRM. Nevertheless, as the price dropped below 50 Euros for the pre-Paperwhite version, I could no longer resist and bought it. The rationalization is … Continue reading I bought a Kindle
Using jclDebug
Today I was at the Delphi Frühstück (breakfast) at Comcept GmbH in Cologne. It was quite an inspiring talk there. Thanks to the guys who organized it, I am looking forward to going there again. One of the questions that came up was how to use jclDebug for getting source code location and call stack … Continue reading Using jclDebug
Printing from DOSBox
DOSBox is a DOS-emulator that was originally developed to run old DOS games that had problems with the standard DOS emulations of Windows. It does have some additional uses though. We have got an old DOS program that still hasn't been fully ported from Borland Pascal to Delphi. Since Windows 7 64 Bit does no … Continue reading Printing from DOSBox
Accessing legacy operating systems remotely via Virtual Box
In the process of moving forward to Windows 7 we found, that there were still some computers running Windows 2000. The original plan was to get rid of them in the process because they are (and have been for some time) an uncalculable security risk and of course the hardware is quite old as well … Continue reading Accessing legacy operating systems remotely via Virtual Box
Specifying a date in dbase
One of the recurring confusions with databases is how to specify a date value in SQL statements. In the case of dbase, it's not just SQL but also the builtin language. There you specify a date as ctod("<date>") where <date> is the date in the format currently used for output. e.g. if you are using … Continue reading Specifying a date in dbase