Can somebody please help me, Im having great difficulties with this in PBDOS, but its very easy in PBDLL/PBCC... all I want to do is look for a string in a file
In PBDLL or PBCC Id use something like this:
In PBDOS im being limited to 32kb strings so its thrown a spanner into the works!
Anyone ?
Thanks in advance, this one has really got me stumped and I can't proceed until I get this sorted out
------------------
In PBDLL or PBCC Id use something like this:
Code:
Dim FileData$ Open FileName$ For Binary Access Read As #1 FileData$ = Space$(LOF(1)) Get #1, 1, FileData Close #1 StringPosition = Instr(1, FileData$, "string to search for")
Anyone ?
Thanks in advance, this one has really got me stumped and I can't proceed until I get this sorted out
------------------
Comment