Solved

Integrating VB and GPS thru MSComm1

Posted on 2003-10-22
6
195 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 100 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

Technology Partners: 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

729 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