Re: vbasic text file help (begginer)



This should get you started.

Locate a text string in a file:
http://www.veign.com/vrc_codeview.asp?type=app&id=72

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--


"Gaz" <croft_gary@xxxxxxxxxxx> wrote in message
news:lwDif.6713$a15.5407@xxxxxxxxxxxxxxxxxxxxxxx
> Hi all
>
> I am trying to write a program that opens a text file and manipulates the
> data.
>
> I have managed to open the text file into a textbox1 as a string
> i now wish to add code to a button that will find a line in the string
> that begins with a certain letter eg I and when it does i want to insert a
> value eg 2 into a set character distance on the line. Can anyone help me
> with a loop that could do this or another way please?
>
> example code would be greatly appreciated thanks
>
> Kind Regards,
>
> Gary


.


Quantcast