Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
GeneralRe: Copy Excel Rows using C# Pin
EliottA8-Jul-09 11:04
EliottA8-Jul-09 11:04 
GeneralRe: Copy Excel Rows using C# Pin
kasi148-Jul-09 13:10
kasi148-Jul-09 13:10 
QuestionSend email in winform with Yahoo or Gmail account ? Pin
Mohammad Dayyan8-Jul-09 7:47
Mohammad Dayyan8-Jul-09 7:47 
AnswerRe: Send email in winform with Yahoo or Gmail account ? Pin
Manas Bhardwaj8-Jul-09 7:54
professionalManas Bhardwaj8-Jul-09 7:54 
GeneralRe: Send email in winform with Yahoo or Gmail account ? Pin
Mohammad Dayyan8-Jul-09 8:27
Mohammad Dayyan8-Jul-09 8:27 
QuestionEncript Xml Pin
kibromg8-Jul-09 7:27
kibromg8-Jul-09 7:27 
AnswerRe: Encript Xml Pin
Christian Graus8-Jul-09 8:14
protectorChristian Graus8-Jul-09 8:14 
QuestionEvent log query... very odd! Pin
lane0p28-Jul-09 7:06
lane0p28-Jul-09 7:06 
Hi All,

i have a code (below), it take 2 variables, the first being the server name and the second being the eventID to look for in the Directory Service eventlog.
it seems to work fine for all eventID's except the one im looking for - 1394, where it always shows nothing!!

any ideas?


EventLog el = new EventLog("Directory Service", args[0].ToString());
foreach(EventLogEntry i in el.Entries)
{
if(Convert.ToInt32(i.EventID) == Convert.ToInt32(args[1]))
{
Console.WriteLine(i.EventID.ToString() + " - " + i.TimeWritten.ToShortDateString());
}
}
AnswerRe: Event log query... very odd! Pin
Manas Bhardwaj8-Jul-09 7:57
professionalManas Bhardwaj8-Jul-09 7:57 
GeneralRe: Event log query... very odd! Pin
lane0p28-Jul-09 9:23
lane0p28-Jul-09 9:23 
QuestionHow to work with this reference in my application? Pin
CoderForEver8-Jul-09 5:34
CoderForEver8-Jul-09 5:34 
AnswerRe: How to work with this reference in my application? Pin
Dave Kreskowiak8-Jul-09 7:25
mveDave Kreskowiak8-Jul-09 7:25 
GeneralRe: How to work with this reference in my application? Pin
CoderForEver8-Jul-09 8:04
CoderForEver8-Jul-09 8:04 
JokeRe: How to work with this reference in my application? Pin
Manas Bhardwaj8-Jul-09 8:13
professionalManas Bhardwaj8-Jul-09 8:13 
QuestionCustom TreeView Pin
VengefulSakhmet8-Jul-09 4:17
VengefulSakhmet8-Jul-09 4:17 
AnswerRe: Custom TreeView Pin
musefan8-Jul-09 4:58
musefan8-Jul-09 4:58 
GeneralRe: Custom TreeView Pin
VengefulSakhmet8-Jul-09 5:04
VengefulSakhmet8-Jul-09 5:04 
GeneralRe: Custom TreeView Pin
musefan8-Jul-09 5:23
musefan8-Jul-09 5:23 
AnswerRe: Custom TreeView Pin
satigar1238-Jul-09 6:26
satigar1238-Jul-09 6:26 
GeneralRe: Custom TreeView Pin
musefan8-Jul-09 6:38
musefan8-Jul-09 6:38 
QuestionHELP!!! Crystal Reports Pin
DotNetCoderJunior8-Jul-09 3:12
DotNetCoderJunior8-Jul-09 3:12 
AnswerRe: HELP!!! Crystal Reports Pin
Nagy Vilmos8-Jul-09 4:33
professionalNagy Vilmos8-Jul-09 4:33 
AnswerRe: HELP!!! Crystal Reports Pin
DotNetCoderJunior8-Jul-09 21:42
DotNetCoderJunior8-Jul-09 21:42 
QuestionHTML CAPTURE - OF CURRENT PAGE IN BROWSER Pin
Antone Eason8-Jul-09 3:09
professionalAntone Eason8-Jul-09 3:09 
Questionwebbrowser, how to write my own printing control? Pin
jacekzorek8-Jul-09 2:56
jacekzorek8-Jul-09 2:56 

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.