Click here to Skip to main content
15,901,373 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get ALL the Records in NS .. plz , Help of any kind Pin
led mike16-Oct-07 6:01
led mike16-Oct-07 6:01 
GeneralRe: Get ALL the Records in NS .. plz , Help of any kind Pin
Davids Maguire16-Oct-07 6:08
Davids Maguire16-Oct-07 6:08 
GeneralRe: Get ALL the Records in NS .. plz , Help of any kind Pin
led mike16-Oct-07 6:13
led mike16-Oct-07 6:13 
Questionhow to read txt file Pin
nomi khan16-Oct-07 5:38
nomi khan16-Oct-07 5:38 
AnswerRe: how to read txt file Pin
led mike16-Oct-07 5:54
led mike16-Oct-07 5:54 
AnswerRe: how to read txt file Pin
nomi khan16-Oct-07 5:57
nomi khan16-Oct-07 5:57 
AnswerRe: how to read txt file Pin
User 665816-Oct-07 6:04
User 665816-Oct-07 6:04 
QuestionHow do I give my c# app access to eventlog? Pin
Greg Ellis16-Oct-07 5:33
Greg Ellis16-Oct-07 5:33 
Hi,

I am new to writing windows services with c#. I wrote a windows service that writes to the event log using this code

EventLog.WriteEntry(ServiceName + " Service started");

Whenever my service starts it stops stating that it failed due to not having permissions to write to the event log.

How can I make sure my windows service has the proper permissions to write the Event Log?

Thanks,
Greg
AnswerRe: How do I give my c# app access to eventlog? Pin
led mike16-Oct-07 5:53
led mike16-Oct-07 5:53 
GeneralRe: How do I give my c# app access to eventlog? Pin
Greg Ellis16-Oct-07 6:06
Greg Ellis16-Oct-07 6:06 
GeneralRe: How do I give my c# app access to eventlog? Pin
led mike16-Oct-07 6:16
led mike16-Oct-07 6:16 
QuestionConverting hexadecimal to string Pin
Exelioindia16-Oct-07 4:36
Exelioindia16-Oct-07 4:36 
AnswerRe: Converting hexadecimal to string Pin
Sandeep Kumar16-Oct-07 4:53
Sandeep Kumar16-Oct-07 4:53 
AnswerRe: Converting hexadecimal to string Pin
led mike16-Oct-07 4:58
led mike16-Oct-07 4:58 
AnswerRe: Converting hexadecimal to string Pin
Pete O'Hanlon16-Oct-07 5:05
mvePete O'Hanlon16-Oct-07 5:05 
QuestionDatabinding and List Pin
shark154616-Oct-07 4:22
shark154616-Oct-07 4:22 
QuestionRegex problem [modified] Pin
laserbaronen16-Oct-07 4:17
laserbaronen16-Oct-07 4:17 
AnswerRe: Regex problem Pin
snorkie16-Oct-07 4:57
professionalsnorkie16-Oct-07 4:57 
GeneralRe: Regex problem Pin
laserbaronen16-Oct-07 5:29
laserbaronen16-Oct-07 5:29 
QuestionConsole.KeyAvailable not working for me Pin
indiie16-Oct-07 4:11
indiie16-Oct-07 4:11 
AnswerRe: Console.KeyAvailable not working for me Pin
laserbaronen16-Oct-07 4:27
laserbaronen16-Oct-07 4:27 
QuestionConversion error Pin
Exelioindia16-Oct-07 3:48
Exelioindia16-Oct-07 3:48 
AnswerRe: Conversion error Pin
Andrei Ungureanu16-Oct-07 4:08
Andrei Ungureanu16-Oct-07 4:08 
AnswerRe: Conversion error Pin
Hesham Amin16-Oct-07 4:11
Hesham Amin16-Oct-07 4:11 
Questionmemory stream to pdf writer Pin
k.philip16-Oct-07 3:31
k.philip16-Oct-07 3: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.