Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1463

(VB6) richtextbox loop for read data help..

$
0
0
i have some data in richtextbox like this..

00001 abcd 0001 efgh
00002 jklm 0002 nopq
00003 rstu 0003 vwxy
.............................
etc,

and i want it to produce it in this format..

abcd efgh
jklm nopq
rstu vwxy
.............
etc,

to get that i used this
mid(richtextbox.text, 7, 4) & mid(richtextbox.text, 17, 4)

but it only show the first line..
i dont know how to loop the function and the next line will show up too..
please help me.. i'm beginner for using VB6.
*sorry for my english

Viewing all articles
Browse latest Browse all 1463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>