In Summary:
Need PBP3 code @ advice to combine the subroutine, future will combine with VB6/VB.net
I’ll share the result when completed successful soon

Hint: PBP3, Proteus, Eltima Virtual Serial, PIC16F877A

…SW1 and LED connected to PIC…
From Keyboard user can control LED ON/OFF by press certain character been set. All character will appear in Virtual Terminal Message IN through RC7/Rx – Subroutine successful tested
http://imageshack.com/a/img856/729/ahs0.png


From PIC when SW1 pressed the status “SW1 Press” will appear in Virtual Terminal Message OUT through RC6/Tx – Subroutine successful tested
http://imageshack.com/a/img812/4449/luoj.png

PBP code + Proteus Circuit:
http://www.4shared.com/folder/3rTFSJUR/VB_PIC.html