Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » .NET General

Post new topic   Reply to topic
Can someone help me
View previous topic :: View next topic  
Author Message
cricketrulz
Newbie


Joined: 07 Jul 2005
Posts: 10

PostPosted: Sep 3rd, 2005 01:01 AM    Post subject: Can someone help me Reply with quote

I want to know how to find and replace text from a larger text file.
If that doesn't make sence I'll try and re phrase what it want to do.
Firstly I want to find about 40 different charactors, and them replace them with another 40 charactors.
Hope it makes sence.

Thanks in advance
Back to top
View user's profile Send private message
P.T.A.M.
Administrator


Joined: 08 Oct 2003
Posts: 752
Location: Greece

PostPosted: Sep 3rd, 2005 10:35 AM    Post subject: Reply with quote

You can read the file and store it in a variable, then replace the characters and then write the file back. Which part of this do you need help with? Smile
_________________
No one is completely useless. They can at least be an example of what to avoid.
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
cricketrulz
Newbie


Joined: 07 Jul 2005
Posts: 10

PostPosted: Sep 3rd, 2005 05:09 PM    Post subject: Reply with quote

Basically the whole lot Blush
Back to top
View user's profile Send private message
P.T.A.M.
Administrator


Joined: 08 Oct 2003
Posts: 752
Location: Greece

PostPosted: Sep 4th, 2005 04:02 PM    Post subject: Reply with quote

To get started, this :

Code:
Imports System.IO


is what you need to manipulate files Smile Try searching for that to get started Wink
_________________
No one is completely useless. They can at least be an example of what to avoid.
Back to top
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
cricketrulz
Newbie


Joined: 07 Jul 2005
Posts: 10

PostPosted: Sep 12th, 2005 01:47 AM    Post subject: Reply with quote

Quote:
To get started, this :

Code:
Imports System.IO



Ok lost already, i've tried searching for it but i get nowhere
Back to top
View user's profile Send private message
watch4876
Newbie


Joined: 13 Dec 2005
Posts: 5

PostPosted: Dec 13th, 2005 07:30 PM    Post subject: Good one Reply with quote

cricketrulz wrote:
I want to know how to find and replace text from a larger text file.


This is acctually a good idea, but I cant go along with it.. I'll PM you with my idea. Wink
_________________
[new user link] [new user link]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » .NET General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic