I have an ascii file in a small app that I want to open and delete text and add different text in the middle of the file. I tried using the fso but found out it will not let you work in the middle of a file.
Open "c:\BANK OF AMERICA DIRECT DEPOSIT FILE FOR TRANSMISSION\HTTP ACH PAYRLR CAFR1031" _
For Binary As FileNo
Put #FileNo, InStr(Lineout, Find), Substitute
Close FileNo
Thank You for your persistance in forcing me to take another look. Really the word Novice should be before programmer. I use the limited skills I have in vb6 to do limited programming to keep our little business going. I have developed some software but that was some time ago.
My pleasure, thanks for the star. As a general point, the more you get in the habit of going after the little details, the less often little details become big problems later on. Not that this one would have; it's more a matter of being in the habit of finding the simplest way possible to accomplish a given task.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.