Click here to Skip to main content
15,888,148 members
Home / Discussions / C#
   

C#

 
QuestionHow to append a file's all contents to an existing file Pin
tiasoft3-Sep-07 20:56
tiasoft3-Sep-07 20:56 
AnswerRe: How to append a file's all contents to an existing file Pin
Giorgi Dalakishvili3-Sep-07 21:17
mentorGiorgi Dalakishvili3-Sep-07 21:17 
QuestionStatic variables Pin
Tsepoz3-Sep-07 20:51
Tsepoz3-Sep-07 20:51 
AnswerRe: Static variables Pin
rah_sin3-Sep-07 22:19
professionalrah_sin3-Sep-07 22:19 
QuestionUITypeEditor disabled when used PropertyDescriptor (In Property Grid) Pin
varad273-Sep-07 19:54
varad273-Sep-07 19:54 
AnswerRe: UITypeEditor disabled when used PropertyDescriptor (In Property Grid) Pin
TJoe5-Sep-07 9:14
TJoe5-Sep-07 9:14 
QuestionWindows 2000 and services. Pin
Geron3-Sep-07 19:45
Geron3-Sep-07 19:45 
AnswerRe: Windows 2000 and services. Pin
originSH3-Sep-07 23:04
originSH3-Sep-07 23:04 
Have you tried running it as a console app to see if it's the code or if it's because it's a service?

9 times out of 10 I find it is the fact that it's running as a service :/ but atleast then you'll know for sure.

Theres always the old fall back of putting
MessageBox.Show("1");
//line of code
MessageBox.Show("2");
//line of code
MessageBox.Show("3");

then setting the service to allow interaction with the desktop, this will allow you identify the exact line of failiure.

Another option is putting in Thread.Sleep(10000); somewhere near the start of the service ... this gives you a bit of time to attach to the process so you can properly debug it. Of course it also eats up part of your 30 second timeout before the service will be reported as failed.
GeneralRe: Windows 2000 and services. Pin
Geron3-Sep-07 23:25
Geron3-Sep-07 23:25 
QuestionHow to get selected value of a listbox control which are dynamically binded by the database Pin
veereshIndia3-Sep-07 19:02
veereshIndia3-Sep-07 19:02 
AnswerRe: How to get selected value of a listbox control which are dynamically binded by the database Pin
Sonia Gupta3-Sep-07 19:46
Sonia Gupta3-Sep-07 19:46 
Questionpie charts and ba charts in window application using the crystal reports Pin
Sonia Gupta3-Sep-07 18:34
Sonia Gupta3-Sep-07 18:34 
QuestionEnterprise Library Pin
sangramkp3-Sep-07 18:12
sangramkp3-Sep-07 18:12 
QuestionNew to C# Pin
sa_runner3-Sep-07 18:11
sa_runner3-Sep-07 18:11 
AnswerRe: New to C# Pin
originSH3-Sep-07 22:25
originSH3-Sep-07 22:25 
AnswerRe: New to C# Pin
Thomas Stockwell4-Sep-07 6:07
professionalThomas Stockwell4-Sep-07 6:07 
QuestionThe process cannot access the file because it is being used by another process. Pin
toink toink3-Sep-07 17:36
toink toink3-Sep-07 17:36 
AnswerRe: The process cannot access the file because it is being used by another process. Pin
originSH3-Sep-07 22:29
originSH3-Sep-07 22:29 
QuestionSQL Connection String Problem Pin
Xmen Real 3-Sep-07 16:56
professional Xmen Real 3-Sep-07 16:56 
AnswerRe: SQL Connection String Problem Pin
Michael Sync3-Sep-07 17:33
Michael Sync3-Sep-07 17:33 
Questionsql checkedlistbox and insert statement Pin
falles013-Sep-07 16:53
falles013-Sep-07 16:53 
QuestionDrawing on controls Pin
udikantz3-Sep-07 16:45
udikantz3-Sep-07 16:45 
AnswerRe: Drawing on controls Pin
rah_sin3-Sep-07 22:23
professionalrah_sin3-Sep-07 22:23 
GeneralRe: Drawing on controls Pin
udikantz10-Sep-07 14:50
udikantz10-Sep-07 14:50 
QuestionInterface does not alter class, or does it? [modified] Pin
mizitras3-Sep-07 15:09
mizitras3-Sep-07 15:09 

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.