Putted in load
Thanks,
I putted it in load and tested it with a messagebox.show(
EntireFile). And it shows the entire file correctly.
I will be oline again tomorrow.
Thanks so far.
thanks
I understand the code you just gaven me, but where do I place it?
I now placed it under a button klick, and it works but where does it need to be placed when I want to load if when the program runs?
The textfile is not large, it's a unattended.txt for unattended install of WinXP.
I...
display and change text in text file
Hello,
I have asked how to change a word in a textfile.
This was possible and works very nice.
But now I have with the following problem:
In my textfile (unattended.txt) I have a line:
ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
I tried to show this...
error: ReadAllText is not a member of System.IO.File
Thanks for the quick reply, but when I use your script I get the following error :
ReadAllText is not a member of System.IO.File
Is this because I use 2002?
I hope to hear from you soon.
Tnx
Hello,
I am new with VB.NET.
I want to search and replace some text in a .txt file.
For example:
In the textfile is the word #name#, this must be replaced by the name typed in a textbox in VB.NET.
I figured out how to put the text in a textfile but then it first cleans the whole file and...
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.