Link to home
Start Free TrialLog in
Avatar of steve_sol
steve_sol

asked on

Integrating VB and GPS thru MSComm1

Am using VB to recieve info from the GPS, i have made the connection and am already recieving the info in a textbox but the textbox get loaded with many lines or srtings of info. How can i single out 1 string to appear in another textbox.

Thanks
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

before asigning the text property, just read one line.
I don't know how each line is separated each other but:


as example:

dim buff as string ' that should holds the receiving data

buff = mid$(1,buff,instr(1,buff,chr$(10) + chr$(13), vbtextcompare)

text1.text=buff
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i didn't realize that your comment at that Q was accepted as an answer.
It hasn't.  I thought you would be interested in the sample project code I put there though.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
No response from steve_sol from 10/22/2003 comment
Award points to Idle_Mind is recommend.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

planocz
EE Cleanup Volunteer