Click here to Skip to main content
16,006,594 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is STA mode Pin
kourvoisier23-Nov-05 10:41
kourvoisier23-Nov-05 10:41 
QuestionTypeLib for interop assembly changes case of method name Pin
turbochimp22-Nov-05 14:38
turbochimp22-Nov-05 14:38 
Questionadding a Link Pin
picasso222-Nov-05 13:40
picasso222-Nov-05 13:40 
AnswerRe: adding a Link Pin
Christian Graus22-Nov-05 15:10
protectorChristian Graus22-Nov-05 15:10 
QuestionResizing window Pin
picasso222-Nov-05 13:39
picasso222-Nov-05 13:39 
AnswerRe: Resizing window Pin
Curtis Schlak.22-Nov-05 14:58
Curtis Schlak.22-Nov-05 14:58 
QuestionItemCommand triggering off of a dropdownlist Pin
Baatezu22-Nov-05 13:36
Baatezu22-Nov-05 13:36 
QuestionEventLog Pin
Guinness4Strength22-Nov-05 12:15
Guinness4Strength22-Nov-05 12:15 
I'm having a hell of a time using the EventLog class within a windows Service.
The service runs fine...no errors but does not write to my custom event log.
The service is running with LocalSystem Account privilages and I'm logged on as an admin.
Here is the code I am using:

public const string EventLogSource="BLOBUpdateService";
public const string EventLogName="BLOBUpdateEventLog";
..
..
..
..

//init Event Log
m_Log = new EventLog();
if(!EventLog.SourceExists(EventLogSource))
	EventLog.CreateEventSource(EventLogSource,EventLogName);
m_Log.Source=EventLogSource;
m_Log.WriteEntry("Service Started...",EventLogEntryType.Information);


Nothing is getting written to the log.
Any thoughts ?
AnswerRe: EventLog Pin
Guinness4Strength23-Nov-05 4:15
Guinness4Strength23-Nov-05 4:15 
QuestionChanging default format for DateTime.ToString() Pin
Dan Neely22-Nov-05 10:51
Dan Neely22-Nov-05 10:51 
AnswerRe: Changing default format for DateTime.ToString() Pin
Joshua Quick22-Nov-05 11:39
Joshua Quick22-Nov-05 11:39 
GeneralRe: Changing default format for DateTime.ToString() Pin
Dan Neely22-Nov-05 11:49
Dan Neely22-Nov-05 11:49 
GeneralRe: Changing default format for DateTime.ToString() Pin
Joshua Quick22-Nov-05 12:19
Joshua Quick22-Nov-05 12:19 
GeneralRe: Changing default format for DateTime.ToString() Pin
Dan Neely23-Nov-05 2:28
Dan Neely23-Nov-05 2:28 
Questionstrings Pin
Sam 200622-Nov-05 10:34
Sam 200622-Nov-05 10:34 
AnswerRe: strings Pin
Christian Graus22-Nov-05 11:16
protectorChristian Graus22-Nov-05 11:16 
GeneralRe: strings Pin
Sam 200622-Nov-05 12:27
Sam 200622-Nov-05 12:27 
GeneralRe: strings Pin
Christian Graus22-Nov-05 12:39
protectorChristian Graus22-Nov-05 12:39 
GeneralRe: strings Pin
Sam 200622-Nov-05 12:45
Sam 200622-Nov-05 12:45 
QuestionBest way to go fullscreen? Pin
MKlucher22-Nov-05 9:12
MKlucher22-Nov-05 9:12 
AnswerRe: Best way to go fullscreen? Pin
Christian Graus22-Nov-05 11:17
protectorChristian Graus22-Nov-05 11:17 
AnswerRe: Best way to go fullscreen? Pin
Stanciu Vlad22-Nov-05 21:43
Stanciu Vlad22-Nov-05 21:43 
QuestionGeneric Collection class question Pin
smh122-Nov-05 7:11
smh122-Nov-05 7:11 
AnswerRe: Generic Collection class question Pin
Kevin McFarlane22-Nov-05 9:28
Kevin McFarlane22-Nov-05 9:28 
AnswerRe: Generic Collection class question Pin
Christian Graus22-Nov-05 11:48
protectorChristian Graus22-Nov-05 11: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.