Hello Efrag
You can achieve this by adding the required string to the keyboard buffer in the BIOS area of memory, and moving the pointers to suit. With
VB you can Peek and Poke and the locations are:
0x041a is the next character in the buffer
0x041c is the last character in the buffer
0x041e is the first character of the 16 byte circular buffer
I have used this several times in the pre-windows area and I can see (via the old dos program debug) that it is still used today with XP.
As for programming a PIC I am using Source Boost in C, which is excellent, and I know they have a Basic compiler but as I have not used it I cannot comment on it.
If any of this is unclear please email me direct and I will attempt
VB code which you can correct!
Regards
rgammage