can any one help me to write a string in spefic position in text file from vb6.
I want to search one string and write new one there
I think the simplest way would be to
Open the file in binary mode,
Get the entire file into a String (see
sample), use either
Replace() function or
Mid() function to replace the text, then
Put the entire string back to the file. Note, the sample I quoted only shows how to read in the file, it will need a little modification to be able to write back to the file. But not much.
There are probably plenty of other methods you could use.