I have created some small tools for solving particular problems.
Name | Download Program | Download Source | Platform | Created with | Description |
VRML PixelTexture | pixeltex.zip | ptexsrc.zip | Win32 GUI | C++ Builder VCL |
VRML PixelTexture Converter is a program for converting Windows bitmap file to a VRML PixelTexture node. Another bitmap file may be specified as a transparency mask to be used in the texture. The texture can be converted to grayscale. The output format can be:
|
SetFolderIcon | foldicon.zip | ficonsrc.zip | Win32 GUI | C++ Builder VCL |
SetFolderIcon is Windows GUI application for changing the icon of any folder. To set an icon for a folder:
Basicaly, the program writes a desktop.ini file, which contains the path to the icon file, and sets the system attribute of the folder. |
ReplacePlus | replplus.zip | rplussrc.zip | Win32 GUI | BC++ 5.02 BC++ 5.5 OWLNext |
ReplacePlus is a program, which can replace a string with another in all files matching the given filter,
in the given folder, and all it's subfolders. Also ReplacePlus can change the file date/time instead of
replacing strings. It demonstrates how to use the following OWLNext classes:
|
C/C++ to HTML convertor | c2html.zip | c2htmsrc.zip | Win32 GUI | C++ Builder VCL |
This program takes C or C++ code and converts is to HTML, so it can be published on a Web page. It is based on a program written by Christopher Kohlhoff and published at Borland Code Central. I have written graphical interface with C++ Builder, which allows selection of input/output file and changing the colors of the C/C++ syntactic elements. |
AutoRun | AutoRun.zip | ARunSrc.zip | Win32 Console | BC++ 5.02 | In Windows 95 and later, when a CD is inserted in the CD-ROM, Windows checks
for a file named Autorun.inf and if there is one, executes the application
specified in the entry open in the section [AutoRun]. With Internet
Explorer 5 was introduced the option to specify not only application, but any file,
which extension is registered, to be started from Autorun.inf, when specified
in the entry ShellExecute. To achieve the same functionality under previous
versions of Internet Explorer, I have created a simple AutoRun application, which
opens the document specified in Autorun.inf. Thanks to Ani for the idea. |
Windows Help colors | whlpc.zip | whlpcsrc.zip | Win32 GUI | BC++ 5.02 BC++ 5.5 OWLNext |
The default jump and popup colors in Windows Help are green. In my opinion green on white is not very
good combination. And there is no user interface for changing these colors.
I have created a small program to allow the user to easily change the help colors.
Under Windows 95/98 and NT/2000 the settings for help color are found in different places.
Under Windows 95/98 they are located in WIN.INI, in the section [Windows Help],
entries JumpColor and PopupColor.
They can be set for example to: JumpColor=0 0 255 and PopupColor=255 0 0. Under Windows NT and 2K the settings are in the registry, key HKEY_CURRENT_USER\Software\Microsoft\Windows Help. The names and format of the entries are same as in 95/98. |
CONV tool | conv.zip | convsrc.zip | DOS | BC++ 5.02 | This is a simple tool for converting text files between different cyrillic code pages.
The supported code pages are:
|
Thursday fix | thfix.zip | thfixsrc.zip | Win32 GUI | C++ Builder VCL |
In Windows 95, NT 4.0 and older releases of 98 and 2000 the name for the day of the week for Thursday in Bulgarian is misspelled. This mistake is not widely known, because by default, in Bulgarian regional settings, the day of week is not shown in the date. To show it, start the Control Panel, open the Regional Options, and in the Date page for Long date format enter the string dddd, dd MMMM yyyy. I have created a small program in C++ Builder 5, which opens the file, corrects the name, and then restarts Windows for the changes to take effect. When the program is started, it shows a dialog. At the top appears the location of locale.nls where the mistaken string is located. Below are the positions at which the misspelled text for Thursday are found. If the file does not contain misspelled text, there will be written (none found) and the button "Fix Now" will be disabled. The checkbox "Create backup file" is used to tell the program to create a backup of locale.nls when fixing it. When a previously created backup file exists, the button "Restore" is enabled, and allows you to restore the original locale.nls. When the file locale.nls is changed, the program asks if the system should be restarted now. The strings in locale.nls are written in UNICODE. More information about UNICODE can be found at www.unicode.org. The misspelled string for Thursday in Bulgarian in UNICODE is 0x47, 0x04, 0x35, 0x04, 0x42, 0x04, 0x32, 0x04, 0x4A, 0x04, 0x32, 0x04, 0x42, 0x04, 0x4A, 0x04, 0x3A, 0x04 and usualy is found at two places in the file. The second 0x32 must be changed to 0x40. The program copies locale.nls to locale.tmp, and changes the byte. After that it tells the system to copy locale.tmp to locale.nls on next startup. Under Windows 95/98 and Windows NT/2000 this is done differently - under Windows 95/98 by writing to the [rename] section of WININIT.INI, and under Windows NT/2000 by using the API function MoveFileEx(). |