Click here to Skip to main content
15,921,156 members
Home / Discussions / C#
   

C#

 
AnswerRe: Setup tool Pin
Colin Angus Mackay7-Jan-09 2:17
Colin Angus Mackay7-Jan-09 2:17 
GeneralRe: Setup tool Pin
blackjack21507-Jan-09 2:20
blackjack21507-Jan-09 2:20 
GeneralRe: Setup tool Pin
DaveyM697-Jan-09 2:23
professionalDaveyM697-Jan-09 2:23 
AnswerRe: Setup tool Pin
DaveyM697-Jan-09 2:21
professionalDaveyM697-Jan-09 2:21 
AnswerRe: Setup tool Pin
carbon_golem7-Jan-09 2:44
carbon_golem7-Jan-09 2:44 
QuestionLimiting the size of log file Pin
eyalbi0077-Jan-09 1:20
eyalbi0077-Jan-09 1:20 
AnswerRe: Limiting the size of log file Pin
Giorgi Dalakishvili7-Jan-09 1:33
mentorGiorgi Dalakishvili7-Jan-09 1:33 
GeneralRe: Limiting the size of log file Pin
#realJSOP7-Jan-09 2:27
professional#realJSOP7-Jan-09 2:27 
I'm assuming that the OP wants a log file that will never get larger than size N, and that older entries are deleted as necessary. Creating a new file seems to me to be a sloppy workaround.

I can't think of any way to do this other than to load the entire file into memory, delete what makes it too large, and then save it again.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Limiting the size of log file [modified] Pin
blackjack21507-Jan-09 2:49
blackjack21507-Jan-09 2:49 
AnswerRe: Limiting the size of log file Pin
Dragonfly_Lee7-Jan-09 2:01
Dragonfly_Lee7-Jan-09 2:01 
GeneralRe: Limiting the size of log file Pin
Eddy Vluggen7-Jan-09 2:09
professionalEddy Vluggen7-Jan-09 2:09 
GeneralRe: Limiting the size of log file Pin
Dragonfly_Lee7-Jan-09 18:39
Dragonfly_Lee7-Jan-09 18:39 
QuestionC# in Windows Application Pin
Nath7-Jan-09 1:12
Nath7-Jan-09 1:12 
AnswerRe: C# in Windows Application Pin
Wendelius7-Jan-09 1:16
mentorWendelius7-Jan-09 1:16 
AnswerRe: C# in Windows Application Pin
dan!sh 7-Jan-09 1:57
professional dan!sh 7-Jan-09 1:57 
QuestionWhy openGL graphics draws out of borders of my OpenGLControl? Pin
121117-Jan-09 0:29
121117-Jan-09 0:29 
QuestionMessageBox in windows application using c# Pin
sandhya147-Jan-09 0:14
sandhya147-Jan-09 0:14 
AnswerRe: MessageBox in windows application using c# Pin
Tom Deketelaere7-Jan-09 0:20
professionalTom Deketelaere7-Jan-09 0:20 
GeneralRe: MessageBox in windows application using c# Pin
sandhya147-Jan-09 0:33
sandhya147-Jan-09 0:33 
GeneralRe: MessageBox in windows application using c# Pin
Dragonfly_Lee8-Jan-09 20:07
Dragonfly_Lee8-Jan-09 20:07 
QuestionCompatibilité XP et Vista Pin
halleuxb7-Jan-09 0:13
halleuxb7-Jan-09 0:13 
RantRe: Compatibilité XP et Vista Pin
Eddy Vluggen7-Jan-09 0:14
professionalEddy Vluggen7-Jan-09 0:14 
AnswerRe: Compatibilité XP et Vista Pin
Tom Deketelaere7-Jan-09 0:23
professionalTom Deketelaere7-Jan-09 0:23 
AnswerRe: Compatibilité XP et Vista Pin
Le centriste7-Jan-09 1:04
Le centriste7-Jan-09 1:04 
GeneralRe: Compatibilité XP et Vista Pin
halleuxb7-Jan-09 1:48
halleuxb7-Jan-09 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.