i am working on an application where some test results are received
from a serial port and getting stored line by line in a text box.now
i have to compare each line with an existing data base( that is with a field of each record )and display interpretation of each line stored in other field of the record.
first how to select a line from a text box.
Can anybody help me
apuamy
0
Newbie Poster
Recommended Answers
Jump to Posti don't understand....what is line?
Jump to PostHi,
In textBox(Multi Line =True), if you have stored Line by line , then split the text with Line seperator:
Dim MyArr
MyArr = Split (Text1.Text, vbCrLF)and loop through MyArr
Change the line seperator(vbCrLF), accrdingly..
Regards
Veena
Jump to PostHi,
Can you post 4-5 lines of what is stored in the textbox...?
REgards
Veena
Jump to PostHi
As per veena in the previous post,
you can split the text by using Split() function
ieDim MyArr MyArr = Split (Text1.Text, vbCrLF)
Now MyArr is an array with each element representing a line
You can get a line by using Index of the …
Jump to PostHi apuamy,
Is the code and ur questionsif two lines of the text box matches two records of the database,
then then the next match should be displayed in the next line of text6.text.
i mean one line matches displays a interpretation in text6.text, and when another line matches …
All 19 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
QVeen72
104
Posting Shark
apuamy
0
Newbie Poster
QVeen72
104
Posting Shark
apuamy
0
Newbie Poster
selvaganapathy
31
Posting Pro
apuamy
0
Newbie Poster
selvaganapathy
31
Posting Pro
apuamy
0
Newbie Poster
apuamy
0
Newbie Poster
selvaganapathy
31
Posting Pro
apuamy
0
Newbie Poster
selvaganapathy
31
Posting Pro
apuamy
0
Newbie Poster
selvaganapathy
31
Posting Pro
apuamy
0
Newbie Poster
apuamy
0
Newbie Poster
QVeen72
104
Posting Shark
apuamy
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.