Any one can help on how to delete a particular string from the contents in a document file
njoka 0
Newbie Poster
Recommended Answers
Jump to PostThe easy way is to read all the document into a mulitline textbox, find the text, delete it and then write the text back. i.e.
Private Sub WriteButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WriteButton.Click My.Computer.FileSystem.WriteAllText("c:\Documents\test.txt", TextBox1.Text, False) End Sub Private Sub ReadButton_Click(ByVal sender As …
All 4 Replies
waynespangler 63
Posting Pro in Training
Jx_Man 987
Nearly a Senior Poster Featured Poster
njoka 0
Newbie Poster
waynespangler 63
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.