Code context information about any given string is the original line of VB source code in which the string is used. During the translation process, this information can be quite useful, so VBLM makes it available within the Language Table Editor:
To have the line of code for the currently selected string instance appears at the bottom of the Editor window, check Code Context in the Miscellaneous LTE Display options.
To have the line of code for each string printed along with the string in hard copy, check Code Context and set the style to either 2- or 3-rows per entry in the LTE Print options.
Note the "conditions permitting" caveat, because there are several circumstances in which code context is not available. The reason is that the VBLM project does not actually contain the code; that would violate security and consume too much space. Instead, when VBLM extracts strings it stores the length and offset of the line of code within the file. To retrieve the information, VBLM opens the file in binary mode, seeks (offset) and fetches (length) bytes. For this scheme to work, the following conditions must be met:
1) The parent VB project must be present on the host PC (there is no reason otherwise why VBLM can't be used simply for translation purposes on a different machine).
2) The VBLM project must be up-to-date, as reported on the main window's display.
3) The relevant VB source file must be stored in ASCII format ("as text").
If any of these conditions are not met, VBLM will inform you that code context info is not available.
As of Version 2.1, VBLM offers greatly expanded context information: see the Code Window for details.