Click here to Skip to main content
15,913,584 members
Home / Discussions / C#
   

C#

 
GeneralRe: Socket programming- Response to all client Pin
mohammadkaab19-Jan-13 7:36
mohammadkaab19-Jan-13 7:36 
GeneralRe: Socket programming- Response to all client Pin
pt140119-Jan-13 8:05
pt140119-Jan-13 8:05 
Questionerror An unhandled exception has occured (XAML Designer in wpf Pin
Mohamad Shahmardan12-Jan-13 3:10
Mohamad Shahmardan12-Jan-13 3:10 
AnswerRe: error An unhandled exception has occured (XAML Designer in wpf Pin
Thomas Daniels12-Jan-13 3:33
mentorThomas Daniels12-Jan-13 3:33 
GeneralRe: error An unhandled exception has occured (XAML Designer in wpf Pin
Mohamad Shahmardan16-Jan-13 3:40
Mohamad Shahmardan16-Jan-13 3:40 
GeneralRe: error An unhandled exception has occured (XAML Designer in wpf Pin
Thomas Daniels16-Jan-13 5:06
mentorThomas Daniels16-Jan-13 5:06 
Questioni cant fill table with data i pull from sql Pin
a1_shay12-Jan-13 0:23
a1_shay12-Jan-13 0:23 
AnswerRe: i cant fill table with data i pull from sql Pin
Richard MacCutchan12-Jan-13 3:38
mveRichard MacCutchan12-Jan-13 3:38 
GeneralRe: i cant fill table with data i pull from sql Pin
a1_shay12-Jan-13 10:08
a1_shay12-Jan-13 10:08 
GeneralRe: i cant fill table with data i pull from sql Pin
micke.andersson28-Jan-13 4:07
micke.andersson28-Jan-13 4:07 
QuestionInt32rect not found Pin
z3ngew11-Jan-13 23:34
z3ngew11-Jan-13 23:34 
AnswerRe: Int32rect not found Pin
z3ngew11-Jan-13 23:45
z3ngew11-Jan-13 23:45 
AnswerRe: Int32rect not found Pin
Florian Rappl11-Jan-13 23:46
professionalFlorian Rappl11-Jan-13 23:46 
AnswerRe: Int32rect not found Pin
Richard MacCutchan12-Jan-13 0:07
mveRichard MacCutchan12-Jan-13 0:07 
GeneralRe: Int32rect not found Pin
z3ngew13-Jan-13 6:12
z3ngew13-Jan-13 6:12 
QuestionProblem With User Controls Pin
Mah boubeh11-Jan-13 18:58
professionalMah boubeh11-Jan-13 18:58 
AnswerRe: Problem With User Controls Pin
Dave Kreskowiak11-Jan-13 19:00
mveDave Kreskowiak11-Jan-13 19:00 
GeneralRe: Problem With User Controls Pin
Mah boubeh11-Jan-13 19:09
professionalMah boubeh11-Jan-13 19:09 
AnswerRe: Problem With User Controls Pin
OriginalGriff11-Jan-13 22:13
mveOriginalGriff11-Jan-13 22:13 
Questionsingle log file for two classes. Pin
vanikanc11-Jan-13 10:27
vanikanc11-Jan-13 10:27 
Hi,

I am new to the OOP in asp.net.

I have created a console application, within which I call another class, let us call it class A.

I want to logging of events going on in the application.

I am using the app.config, the define the log file path. and using simple System.IO.File.WriteAll to write to this file.

But for some reason, the log captures only the statements written in the main part of the app and not what was logged in class A. I am writing to the same log file.


How can I make it so the log file keeps appending??

Much appreciated!!
AnswerRe: single log file for two classes. Pin
R. Giskard Reventlov11-Jan-13 10:58
R. Giskard Reventlov11-Jan-13 10:58 
GeneralRe: single log file for two classes. Pin
Garth J Lancaster11-Jan-13 12:56
professionalGarth J Lancaster11-Jan-13 12:56 
GeneralRe: single log file for two classes. Pin
vanikanc14-Jan-13 3:00
vanikanc14-Jan-13 3:00 
AnswerRe: single log file for two classes. Pin
PIEBALDconsult11-Jan-13 13:26
mvePIEBALDconsult11-Jan-13 13:26 
GeneralRe: single log file for two classes. Pin
vanikanc15-Jan-13 2:24
vanikanc15-Jan-13 2:24 

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.