Re: vbasic text file help (begginer)
- From: "Veign" <NOSPAMinveign@xxxxxxxxx>
- Date: Mon, 28 Nov 2005 16:03:59 GMT
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
.
- References:
- vbasic text file help (begginer)
- From: Gaz
- vbasic text file help (begginer)
- Prev by Date: Re: download file from VB
- Next by Date: Re: vbasic text file help (begginer)
- Previous by thread: vbasic text file help (begginer)
- Next by thread: Re: vbasic text file help (begginer)
- Index(es):