By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,588 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,588 IT Pros & Developers. It's quick & easy.

shortcut to delete last append line

P: n/a
Cc
how do i delete last append line?
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
CT
You dont' say where you want this; is it in the Text Editor in the Visual
Studio IDE or in a file you're writing to, or...?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105

"Cc" <ko*****@singnet.com.sg> wrote in message
news:uv**************@TK2MSFTNGP14.phx.gbl...
how do i delete last append line?

Nov 21 '05 #2

P: n/a
Cc
thks for reply,
what i mean is in the program. i using StreamWriter to append line to
textfile. now i need to delete last append line.

rgds,
charles,
"CT" <ca******@spammersgoawaydotnetservices.biz> wrote in message
news:eh**************@TK2MSFTNGP12.phx.gbl...
You dont' say where you want this; is it in the Text Editor in the Visual
Studio IDE or in a file you're writing to, or...?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105

"Cc" <ko*****@singnet.com.sg> wrote in message
news:uv**************@TK2MSFTNGP14.phx.gbl...
how do i delete last append line?


Nov 21 '05 #3

P: n/a
Cc wrote:
thks for reply,
what i mean is in the program. i using StreamWriter to append line to
textfile. now i need to delete last append line.


You'll need to read the file, write it to another file except the last
line and then copy it over to the original. When it's a small file you
could read it into memory and just rewrite the existing file save the
last line.

--
Rinze van Huizen
C-Services Holland b.v.
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.