• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

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
0
steve_sol
Asked:
steve_sol
  • 2
  • 2
1 Solution
 
Richie_SimonettiIT OperationsCommented:
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
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
0
 
Richie_SimonettiIT OperationsCommented:
i didn't realize that your comment at that Q was accepted as an answer.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
It hasn't.  I thought you would be interested in the sample project code I put there though.
0
 
planoczCommented:
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
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now