Solved

Integrating VB and GPS thru MSComm1

Posted on 2003-10-22
6
190 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
  • 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 85

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 85

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

705 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now