Click to See Complete Forum and Search --> : how to get a TXT file'sline number


dajing hu
06-14-2000, 03:31 PM
I NEED TO READ A TXT FILE TO GET ITS LINE NUMBER.
ANY FUNCTION WHICH I CAN CALL INSTEAD OF OPENNING A FILE AND DO WHILE LOOP?
WIN32 API OR ANY 3RD PARTY DLL.
THANKS IN ADVANCE.
DH

Karl E. Peterson
06-14-2000, 03:40 PM
Nothing faster, no.
--
http://www.mvps.org/vb


"dajing hu" <dajing.hu@bankofameica.com> wrote in message
news:3947cf94$1@news.devx.com...
>
> I NEED TO READ A TXT FILE TO GET ITS LINE NUMBER.
> ANY FUNCTION WHICH I CAN CALL INSTEAD OF OPENNING A FILE AND DO WHILE LOOP?
> WIN32 API OR ANY 3RD PARTY DLL.
> THANKS IN ADVANCE.
> DH

Rick Rothstein
06-14-2000, 11:46 PM
I'm pretty sure VideoSoft's VS-AWK ocx can do this (and other things) quite
quickly. Unfortunately it is not a stand-alone product; it comes bundled
with their VS-OCX product. You can read about it at

http://vs.videosoft.com/vs-ocx/info/vsawk.asp

and down load an evaluation copy at

http://vs.videosoft.com/vs-ocx/download.asp

Rick


"dajing hu" <dajing.hu@bankofameica.com> wrote in message
news:3947cf94$1@news.devx.com...
>
> I NEED TO READ A TXT FILE TO GET ITS LINE NUMBER.
> ANY FUNCTION WHICH I CAN CALL INSTEAD OF OPENNING A FILE AND DO WHILE
LOOP?
> WIN32 API OR ANY 3RD PARTY DLL.
> THANKS IN ADVANCE.
> DH