Click here to Skip to main content
16,015,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Searching a Certain Column in a Datagrid VB.NET Pin
Johan Hakkesteegt19-Jun-07 20:25
Johan Hakkesteegt19-Jun-07 20:25 
GeneralRe: Searching a Certain Column in a Datagrid VB.NET Pin
Vimalsoft(Pty) Ltd19-Jun-07 21:29
professionalVimalsoft(Pty) Ltd19-Jun-07 21:29 
QuestionVista look Pin
caltech17-Jun-07 15:38
caltech17-Jun-07 15:38 
AnswerRe: Vista look Pin
Dave Kreskowiak19-Jun-07 4:11
mveDave Kreskowiak19-Jun-07 4:11 
QuestionWhere is ConnectionString? Pin
mehrdadc4817-Jun-07 9:38
mehrdadc4817-Jun-07 9:38 
AnswerRe: Where is ConnectionString? Pin
Dave Kreskowiak18-Jun-07 1:16
mveDave Kreskowiak18-Jun-07 1:16 
GeneralWorking with files.... Pin
Psycho-*Coder*-Extreme17-Jun-07 5:40
Psycho-*Coder*-Extreme17-Jun-07 5:40 
GeneralRe: Working with files.... Pin
Dave Kreskowiak17-Jun-07 6:30
mveDave Kreskowiak17-Jun-07 6:30 
This is easy if you think about it.

You don't need the log file open all the time. You open it, write your message, close it. Simple. Now, all you have to do is check the size of the file BEFORE your open the log and write to it. The FileInfo class comes in handy for that. If the size of the current logfile is greater than 10MB, increment the filename and use the new name for the log file.



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Working with files.... Pin
Psycho-*Coder*-Extreme17-Jun-07 6:39
Psycho-*Coder*-Extreme17-Jun-07 6:39 
GeneralRe: Working with files.... Pin
Dave Kreskowiak17-Jun-07 7:36
mveDave Kreskowiak17-Jun-07 7:36 
GeneralRe: Working with files... Pin
Psycho-*Coder*-Extreme17-Jun-07 7:59
Psycho-*Coder*-Extreme17-Jun-07 7:59 
GeneralA question Pin
Dave Sexton17-Jun-07 8:07
Dave Sexton17-Jun-07 8:07 
GeneralRe: A question Pin
Psycho-*Coder*-Extreme17-Jun-07 8:30
Psycho-*Coder*-Extreme17-Jun-07 8:30 
JokeRe: A question Pin
Dave Sexton17-Jun-07 9:13
Dave Sexton17-Jun-07 9:13 
GeneralRe: A question Pin
Psycho-*Coder*-Extreme17-Jun-07 18:17
Psycho-*Coder*-Extreme17-Jun-07 18:17 
GeneralRe: A question Pin
Colin Angus Mackay17-Jun-07 21:41
Colin Angus Mackay17-Jun-07 21:41 
GeneralRe: A question Pin
Dave Kreskowiak18-Jun-07 1:12
mveDave Kreskowiak18-Jun-07 1:12 
GeneralRe: A question Pin
Psycho-*Coder*-Extreme18-Jun-07 2:11
Psycho-*Coder*-Extreme18-Jun-07 2:11 
Questiondatagridview - VB.net 2005 ,sql server 2005 Pin
nilam1117-Jun-07 3:10
nilam1117-Jun-07 3:10 
AnswerRe: datagridview - VB.net 2005 ,sql server 2005 Pin
Sathesh Sakthivel17-Jun-07 3:50
Sathesh Sakthivel17-Jun-07 3:50 
QuestionListBox Pin
MashALyy16-Jun-07 23:09
MashALyy16-Jun-07 23:09 
AnswerRe: ListBox Pin
just3ala216-Jun-07 23:58
just3ala216-Jun-07 23:58 
AnswerRe: ListBox Pin
The ANZAC17-Jun-07 0:03
The ANZAC17-Jun-07 0:03 
GeneralRe: ListBox Pin
PaulPrice17-Jun-07 1:38
PaulPrice17-Jun-07 1:38 
QuestionTrim Method Pin
Aman.Jen16-Jun-07 22:31
Aman.Jen16-Jun-07 22:31 

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.