This is one of forgotten projects from past. This simple class is used to Highligh Visual Basic code. It uses few regexp to achieve my needs. Everything is put into css class that you can easily edit. Whole script is small and simple so feel free to use it.

Use::

Wilq32.CodeHighlighter(ID,width,height);

Where:

ID - element id defined from HTML,

width - width of created view,

height - height of created view,

Example:

Wilq32.CodeHighlighter("code",300,200);

			
Attribute VB_Name = "Module1"
Option Explicit
Public RegKey As String ' name of registry key
Public ZerodBm As Single ' calibration level of 0dBm for current range
Public ZerodBmHF As Single ' calibration level of 0dBm for HF
Public ZerodBmVHF As Single ' calibration level of 0dBm for VHF
Public ZerodBmUHF As Single ' calibration level of 0dBm for UHF
Public Minus40dBm As Single ' calibration level of -40dBm for current range
Public Minus40dBmHF As Single ' calibration level of -40dBm for HF
Public Minus40dBmVHF As Single ' calibration level of -40dBm for VHF
Public Minus40dBmUHF As Single ' calibration level of -40dBm for UHF
Public Slope As Single ' number of reading units per dBm

Change Log:

Version: 0.1:

- First relase,