469,903 Members | 2,060 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

search&replace in files by vb.net 2005 programm

Jan
Hello!
I am looking for a way to do a search&replace in ASCII-Files by a
vb.net 2005 programm.
Of coarse I can open the files, loop to every line, make a replace, and
save the line.
But I wonder if there is a better and faster way to do it.

To make it clear: The search&replace must be done within a programm not
in the Framework or editor.

Best regards
Jan

Feb 27 '06 #1
2 1229
Jan,

You have to get the data in memory, to investigate it.
Therefore there cannot be in my opinion a real better solution than you
wrote.

Keep in mind that maintainability is as well a criteria for a good program.

I hope this helps,

Cor
Feb 27 '06 #2
Jan
Cor,

thanks a lot. It is good to know, that there is no better solution.

Jan

Feb 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Zenobia | last post: by
3 posts views Thread by tchurm | last post: by
1 post views Thread by Tomomichi Amano | last post: by
1 post views Thread by Tomomichi Amano | last post: by
6 posts views Thread by DataSmash | last post: by
2 posts views Thread by Ola K | last post: by
6 posts views Thread by simon.robin.jackson | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.