Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
Questionwinform Pin
aurelcly3-Feb-10 2:55
aurelcly3-Feb-10 2:55 
AnswerRe: winform Pin
Luc Pattyn3-Feb-10 2:57
sitebuilderLuc Pattyn3-Feb-10 2:57 
AnswerRe: winform Pin
Not Active3-Feb-10 2:59
mentorNot Active3-Feb-10 2:59 
AnswerDon't repost Pin
Not Active3-Feb-10 3:01
mentorNot Active3-Feb-10 3:01 
QuestionWinforms and SQL Threading Problem [modified] Pin
Uray Frank3-Feb-10 1:32
Uray Frank3-Feb-10 1:32 
AnswerRe: Winforms and SQL Threading Problem Pin
Luc Pattyn3-Feb-10 1:51
sitebuilderLuc Pattyn3-Feb-10 1:51 
GeneralRe: Winforms and SQL Threading Problem Pin
Uray Frank3-Feb-10 2:45
Uray Frank3-Feb-10 2:45 
GeneralRe: Winforms and SQL Threading Problem Pin
Luc Pattyn3-Feb-10 2:53
sitebuilderLuc Pattyn3-Feb-10 2:53 
GeneralRe: Winforms and SQL Threading Problem Pin
Uray Frank3-Feb-10 3:20
Uray Frank3-Feb-10 3:20 
AnswerRe: Winforms and SQL Threading Problem Pin
Luc Pattyn3-Feb-10 3:49
sitebuilderLuc Pattyn3-Feb-10 3:49 
GeneralRe: Winforms and SQL Threading Problem Pin
Uray Frank3-Feb-10 4:07
Uray Frank3-Feb-10 4:07 
GeneralRe: Winforms and SQL Threading Problem Pin
Luc Pattyn3-Feb-10 4:12
sitebuilderLuc Pattyn3-Feb-10 4:12 
GeneralRe: Winforms and SQL Threading Problem Pin
Uray Frank3-Feb-10 4:18
Uray Frank3-Feb-10 4:18 
GeneralRe: Winforms and SQL Threading Problem Pin
Luc Pattyn3-Feb-10 4:29
sitebuilderLuc Pattyn3-Feb-10 4:29 
GeneralRe: Winforms and SQL Threading Problem Pin
Uray Frank3-Feb-10 4:30
Uray Frank3-Feb-10 4:30 
GeneralRe: Winforms and SQL Threading Problem Pin
Luc Pattyn3-Feb-10 4:36
sitebuilderLuc Pattyn3-Feb-10 4:36 
GeneralRe: Winforms and SQL Threading Problem Pin
Uray Frank3-Feb-10 4:45
Uray Frank3-Feb-10 4:45 
GeneralRe: Winforms and SQL Threading Problem Pin
Luc Pattyn3-Feb-10 5:12
sitebuilderLuc Pattyn3-Feb-10 5:12 
QuestionLINQ to parse EventLog Query [modified] Pin
Sunil G3-Feb-10 1:11
Sunil G3-Feb-10 1:11 
AnswerRe: LINQ to parse EventLog Query Pin
Ravi Bhavnani3-Feb-10 2:01
professionalRavi Bhavnani3-Feb-10 2:01 
AnswerRe: LINQ to parse EventLog Query Pin
Pete O'Hanlon3-Feb-10 2:14
mvePete O'Hanlon3-Feb-10 2:14 
Bear in mind that the event log entries are just a collection, you can retrieve items from it using something like the following:
var item = from EventLogEntry p in EventLog.GetEventLogs().First().Entries
           where p.Message.Contains("Online")
           select new { Id = p.InstanceId, Message = p.Message };
In this sample, I'm just picking from the first event log - you would probably want to refine this to find the log you are interested in explicitly. The Contains method is the closest you'll get to the Like operator.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



AnswerRe: LINQ to parse EventLog Query Pin
Palash Biswas3-Feb-10 3:17
Palash Biswas3-Feb-10 3:17 
Questionmulticolumn listview Pin
Member 5903103-Feb-10 0:41
Member 5903103-Feb-10 0:41 
AnswerRe: multicolumn listview Pin
sanforjackass3-Feb-10 0:57
sanforjackass3-Feb-10 0:57 
AnswerRe: multicolumn listview Pin
OriginalGriff3-Feb-10 1:01
mveOriginalGriff3-Feb-10 1:01 

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.