to Home Page

KanjiBase for Windows

by Christian Wittern
KanjiBase for Windows is an implementation of IRIZ KanjiBase on the Windows environment written by Christian Wittern. It allows searching, seeing on screen, and getting information about a total of 48.000 Chinese characters. KanjiBase for Windows combines with any kind of Windows (Japanese, Chinese, etc.), and KanjiBase codes can be pasted into the clipboard for use with any Windows application. In combination with Word for Windows version 6, the character image can be pasted into your Word documents, givin g you thus the option of seeing these characters on screen and printing them with your documents.

Installing KanjiBase for Windows

A full installation of KanjiBase for Windows requires about 20 MB of free space on your hardÅ@disk. If you do not have this much space available you can run KanjiBase from the CD. Proceed with step 2 of the following instructions. Installing KanjiBase is very easy. Here is a step by step guide.
  1. Create a new directory on your hard disk. Copy all the files from the KANJIBAS directory into this new directory.
  2. Copy the file KANJIBAS.INI into the WINDOWS home directory (typically C:\WINDOWS).
  3. Copy the files VBRUN300.DLL and VBOA300.DLL from the KANJIBAS directory into the WINDOWS SYSTEM directory (typically C:\WINDOWS\SYSTEM).
  4. Create an icon to access KanjiBase conveniently: in the Program- manager select from the menu and go to the directory where the KanjiBase files are located (on your hard disk, or if you lack space on your CD). Select the file KANJIBAS.EXE, and a new icon will appear on your desktop.
  5. You can now double-click on this icon and start using KanjiBase. If you do this for the first time the Preferences window will open. Please check if the "directory" entry in the preferences window points to the directory on your hard disk (or on the CD) where KANJIBAS.EXE is located.

    Using KanjiBase for Windows

    When you click on the icon in the Program Manager windows, KanjiBase for Windows (from now on abbreviated as KBWIN) will show a welcome screen and then immediately display the search window

    In order to query the database, you can click next to the "KEY:" prompt to enter search keys. But before doing so you should check if the preferences are set according to your needs by clicking on the "Pref" button on the far right end of the screen.

    Setting the Preferences

    When you have finished setting the preferences, press OK to save the changes to the KBWIN.INI file which is located in the Windows directory, or press Cancel to close this box without saving your changes.

    Looking for a kanji

    Click near the "Key:" prompt in the search window (this makes it active) and enter a Four Corner key (example: 7722), a radical number (example: 145), a pinyin reading (example: zhang) or a stroke count (example: 25) where the cursor blinks.
    You can enter such information only if the search window is active and the cursor near the "Key:" prompt is blinking. You can also make the window active by typing the <ALT>-key together with the letter K.


    Conventions for the input key

    Combinations of input keys

    Two different input keys can be combined with a dot in between to reduce the number of matches. This works only if the characters matching the first key are less than 2500, in many cases, stroke count can thus not be used as the first key. thus it is safer to use the radical number first, followed by a period and the total stroke count number. The keys are separated by a dot on the inputline. For example, if you would like to look for a character of radical number 60 that has 12 strokes, you would input 060.12.

    Shortcut commands

    To facilitate repeated input of the same characters, two shortcut commands are available in place of the search key:


    In this example, the Four Corner code 7722 and the radical code 170 have been entered. To start the query, press the enter key or the space bar.

    Here we have the result of the present query. Only the first ten characters are shown on this screen.

    Explanation of what you can see and do on this screen


    Four corner input help

    The search window also provides a graphical interface to help you input four corner codes and radical numbers. To see the four corner input window, click on the 4Corn button on the left bottom of the screen. The radical help pops up when clicking on the Rad button to the left of this.

    The four corner window shows the 10 elements from which the four corner codes are built. It provides some visual assistance for beginners who may not remember which number belongs to which code. Clicking on an element puts the corresponding number in the input box. After four keys, the selection will be displayed and the four corner window closes unless you check the keep open box.

    Radical input help

    This window shows the 214 radical elements (the example here shows only a selection) of that screen. Clicking on an element will place the corresponding number in the input box for the search key. You may now add a period and the strokecount and press enter to see the selection.

    The main kanji information window

    Some useful functions

    Updating the Database

    You can correct wrong data or add new information directly in most fields of the main window. This information will be saved to the file when you leave the entry for that character by selecting another character, or by exiting the program. In addition, your changes will be written to a logfile. This logfile can be used to contribute the information you added or changed to the master copy of the database, which will then be redistributed to the other users with the next update of the database.

    Indexes for the input searches are not automatically updated. To update them, go to a DOS window, change to the directory where you installed KBWIN (the one that appears in the preferences box). Type updix at the DOS prompt. This procedure takes a long time, so you might want to do this before going out for lunch.

    Adding your own characters

    The master copy of the KanjiBase database is maintained as a table, from which the binary format for KBWIN and the indices are generated. If you want to add your own characters, you have to do the following:

    Author:Christian Wittern
    Last updated: 95.4.20