?
Solved

Integrating VB and GPS thru MSComm1

Posted on 2003-10-22
6
Medium Priority
?
197 Views
Last Modified: 2010-05-01
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
Comment
Question by:steve_sol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9600739
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
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 400 total points
ID: 9601644
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9601961
i didn't realize that your comment at that Q was accepted as an answer.
0
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 9601981
It hasn't.  I thought you would be interested in the sample project code I put there though.
0
 
LVL 27

Expert Comment

by:planocz
ID: 10154668
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question