I am trying to make a routine that does the following

a. automatically reads the values that are being received from a device. the messages start with !!LogN (N can be from 1 to 6),

b. take each LogN type and copies the text after the N (separated by a "," ) to another listbox

c. log each log N separately on screen + save a logN.txt file

the idea is to be able to review the screen and see what is being logged AND if needed open the saved logN.Txt

I am new on VB 

thank you.