Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sample C# project Pin
Software200726-Sep-11 17:41
Software200726-Sep-11 17:41 
QuestionMonitor a txt log file for keyword Pin
Tom Remmert25-Sep-11 9:20
Tom Remmert25-Sep-11 9:20 
AnswerRe: Monitor a txt log file for keyword Pin
Luc Pattyn25-Sep-11 9:59
sitebuilderLuc Pattyn25-Sep-11 9:59 
GeneralRe: Monitor a txt log file for keyword Pin
Tom Remmert25-Sep-11 10:12
Tom Remmert25-Sep-11 10:12 
AnswerRe: Monitor a txt log file for keyword Pin
Luc Pattyn25-Sep-11 10:26
sitebuilderLuc Pattyn25-Sep-11 10:26 
GeneralRe: Monitor a txt log file for keyword Pin
BobJanova26-Sep-11 0:59
BobJanova26-Sep-11 0:59 
AnswerRe: Monitor a txt log file for keyword Pin
BillWoodruff25-Sep-11 10:36
professionalBillWoodruff25-Sep-11 10:36 
AnswerRe: Monitor a txt log file for keyword Pin
PIEBALDconsult25-Sep-11 16:49
mvePIEBALDconsult25-Sep-11 16:49 
On a previous job, I had to do something similar with a log file created by a third-party product (but storing the data in a database). I wrote a Windows Service that did it.

When the Service cycled, it read the last Position from the database, opened the file, set the Position and continued reading. I had to be sure that only complete lines were processed, so I read one character at a time and considered a line to begin with a linefeed and end with a carriagereturn. Upon reading the carriage return, the line would be processed and the Position stored in the database. If the end of the file was reached, the cycle stopped. Processing over midnight was a little problematic because the previous day's file (which might not have been completely processed yet) was renamed and a new log started.
QuestionWhat is the best way to create a dictionary apllication Pin
Yasser Sobhy25-Sep-11 4:12
Yasser Sobhy25-Sep-11 4:12 
AnswerRe: What is the best way to create a dictionary apllication Pin
PIEBALDconsult25-Sep-11 4:32
mvePIEBALDconsult25-Sep-11 4:32 
AnswerRe: What is the best way to create a dictionary apllication Pin
Muhammad Shahid Farooq25-Sep-11 4:39
professionalMuhammad Shahid Farooq25-Sep-11 4:39 
GeneralRe: What is the best way to create a dictionary apllication Pin
Richard MacCutchan25-Sep-11 5:26
mveRichard MacCutchan25-Sep-11 5:26 
GeneralRe: What is the best way to create a dictionary apllication Pin
Yasser Sobhy25-Sep-11 10:11
Yasser Sobhy25-Sep-11 10:11 
AnswerRe: What is the best way to create a dictionary apllication Pin
Richard MacCutchan25-Sep-11 6:07
mveRichard MacCutchan25-Sep-11 6:07 
GeneralRe: What is the best way to create a dictionary apllication Pin
Yasser Sobhy25-Sep-11 10:18
Yasser Sobhy25-Sep-11 10:18 
QuestionError 1001 : Unable to get installer types in my InstallHelper.dll assembly Pin
kutbinayi24-Sep-11 8:14
kutbinayi24-Sep-11 8:14 
AnswerRe: Error 1001 : Unable to get installer types in my InstallHelper.dll assembly Pin
Paramu197324-Sep-11 21:42
Paramu197324-Sep-11 21:42 
GeneralRe: Error 1001 : Unable to get installer types in my InstallHelper.dll assembly PinPopular
kutbinayi25-Sep-11 4:18
kutbinayi25-Sep-11 4:18 
GeneralRe: Error 1001 : Unable to get installer types in my InstallHelper.dll assembly Pin
shukla199019-Oct-23 3:57
shukla199019-Oct-23 3:57 
QuestionC# help please! Pin
Goran Shoan24-Sep-11 7:21
Goran Shoan24-Sep-11 7:21 
AnswerRe: C# help please! Pin
Luc Pattyn24-Sep-11 7:30
sitebuilderLuc Pattyn24-Sep-11 7:30 
GeneralRe: C# help please! Pin
Goran Shoan24-Sep-11 7:43
Goran Shoan24-Sep-11 7:43 
GeneralRe: C# help please! Pin
AnnieMacD26-Sep-11 1:52
AnnieMacD26-Sep-11 1:52 
AnswerRe: C# help please! Pin
André Kraak24-Sep-11 7:40
André Kraak24-Sep-11 7:40 
GeneralRe: C# help please! Pin
Goran Shoan24-Sep-11 7:46
Goran Shoan24-Sep-11 7:46 

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.