Well done TT.!
Did you download the VB runtime and my external modules.???
Here is another program.
Note: the use of the ASM command in Oshonsoft Basic.
This program demo's the PIC timer as a Frequency Counter, TTFreq_LCD
Use 16F877A PIC, load this into a new assembler window, F9 to compile.
Select LCD, Micro view from TOOLS.
Run the program
On the 'T' on the PIC view pin 15,
T1CKI, click the 'T' on and off a few times, the LCD will display a frequency count.