K, I think this should do it. I was using a 2 instead of an 8 in .OpenTextFile so I haven't been able to test all of it. Or am I missing anything else?
Thanks for all the help, I've learned more from this forum than I did in the class where I first learned vb6.
Dim Oneline As String...
Ah, yes, now I feel stupid. I've surfed bout 60 pages or so back in the forum and looked over the faqs, but one search with the word replace pretty much answers my question.
Just one more question though. Is the replace command for the .net framework will it work in vb6 too (it pops up under...
I have a text file that I want to be able to search for a paticular string and then replace part of that string with something different.
for instance in the middle of a text file there would be this line
set gameLogic.enableVoHelp from 1 to 0
and I want to change it to this
set...
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.