Click here to Skip to main content
12,395,358 members (69,413 online)
   

C#

 
Questioni cant fill table with data i pull from sql Pin
a1_shay12-Jan-13 0:23
membera1_shay12-Jan-13 0:23 
AnswerRe: i cant fill table with data i pull from sql Pin
Richard MacCutchan12-Jan-13 3:38
mvpRichard MacCutchan12-Jan-13 3:38 
GeneralRe: i cant fill table with data i pull from sql Pin
a1_shay12-Jan-13 10:08
membera1_shay12-Jan-13 10:08 
GeneralRe: i cant fill table with data i pull from sql Pin
micke.andersson28-Jan-13 4:07
membermicke.andersson28-Jan-13 4:07 
QuestionInt32rect not found Pin
z3ngew11-Jan-13 23:34
memberz3ngew11-Jan-13 23:34 
AnswerRe: Int32rect not found Pin
z3ngew11-Jan-13 23:45
memberz3ngew11-Jan-13 23:45 
AnswerRe: Int32rect not found Pin
Florian Rappl11-Jan-13 23:46
mvpFlorian Rappl11-Jan-13 23:46 
AnswerRe: Int32rect not found Pin
Richard MacCutchan12-Jan-13 0:07
mvpRichard MacCutchan12-Jan-13 0:07 
GeneralRe: Int32rect not found Pin
z3ngew13-Jan-13 6:12
memberz3ngew13-Jan-13 6:12 
QuestionProblem With User Controls Pin
Mah boubeh11-Jan-13 18:58
memberMah boubeh11-Jan-13 18:58 
AnswerRe: Problem With User Controls Pin
Dave Kreskowiak11-Jan-13 19:00
mvpDave Kreskowiak11-Jan-13 19:00 
GeneralRe: Problem With User Controls Pin
Mah boubeh11-Jan-13 19:09
memberMah boubeh11-Jan-13 19:09 
AnswerRe: Problem With User Controls Pin
OriginalGriff11-Jan-13 22:13
mvpOriginalGriff11-Jan-13 22:13 
Questionsingle log file for two classes. Pin
vanikanc11-Jan-13 10:27
membervanikanc11-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
mark merrens11-Jan-13 10:58
membermark merrens11-Jan-13 10:58 
GeneralRe: single log file for two classes. Pin
Garth J Lancaster11-Jan-13 12:56
memberGarth J Lancaster11-Jan-13 12:56 
GeneralRe: single log file for two classes. Pin
vanikanc14-Jan-13 3:00
membervanikanc14-Jan-13 3:00 
AnswerRe: single log file for two classes. Pin
PIEBALDconsult11-Jan-13 13:26
memberPIEBALDconsult11-Jan-13 13:26 
GeneralRe: single log file for two classes. Pin
vanikanc15-Jan-13 2:24
membervanikanc15-Jan-13 2:24 
GeneralRe: single log file for two classes. Pin
PIEBALDconsult15-Jan-13 3:08
memberPIEBALDconsult15-Jan-13 3:08 
QuestionBinary File Library Pin
dxtrx11-Jan-13 10:24
memberdxtrx11-Jan-13 10:24 
AnswerRe: Binary File Library Pin
Garth J Lancaster11-Jan-13 11:18
memberGarth J Lancaster11-Jan-13 11:18 
GeneralRe: Binary File Library Pin
dxtrx11-Jan-13 11:41
memberdxtrx11-Jan-13 11:41 
GeneralRe: Binary File Library Pin
Garth J Lancaster11-Jan-13 12:43
memberGarth J Lancaster11-Jan-13 12:43 
GeneralRe: Binary File Library Pin
dxtrx11-Jan-13 12:47
memberdxtrx11-Jan-13 12:47 
QuestionLatency In Button Click When Using MVVM Pin
Tee12311-Jan-13 7:25
memberTee12311-Jan-13 7:25 
AnswerRe: Latency In Button Click When Using MVVM Pin
SledgeHammer0111-Jan-13 9:38
memberSledgeHammer0111-Jan-13 9:38 
GeneralRe: Latency In Button Click When Using MVVM Pin
Tee12311-Jan-13 10:14
memberTee12311-Jan-13 10:14 
QuestionC# computer name rename Pin
EvetsMostel11-Jan-13 7:00
memberEvetsMostel11-Jan-13 7:00 
AnswerRe: C# computer name rename Pin
jibesh11-Jan-13 7:47
memberjibesh11-Jan-13 7:47 
GeneralRe: C# computer name rename Pin
EvetsMostel11-Jan-13 7:54
memberEvetsMostel11-Jan-13 7:54 
GeneralRe: C# computer name rename Pin
EvetsMostel11-Jan-13 11:30
memberEvetsMostel11-Jan-13 11:30 
GeneralRe: C# computer name rename Pin
EvetsMostel14-Jan-13 13:15
memberEvetsMostel14-Jan-13 13:15 
QuestionFTP Decryption Error Pin
Member 865395910-Jan-13 18:22
memberMember 865395910-Jan-13 18:22 
AnswerRe: FTP Decryption Error Pin
Bernhard Hiller10-Jan-13 21:46
memberBernhard Hiller10-Jan-13 21:46 
GeneralRe: FTP Decryption Error Pin
Garth J Lancaster11-Jan-13 11:00
memberGarth J Lancaster11-Jan-13 11:00 
AnswerRe: FTP Decryption Error Pin
Eddy Vluggen11-Jan-13 2:28
mvpEddy Vluggen11-Jan-13 2:28 
GeneralRe: FTP Decryption Error Pin
Garth J Lancaster11-Jan-13 11:00
memberGarth J Lancaster11-Jan-13 11:00 
Questionhow to export a div to pdf Pin
shineskollam10-Jan-13 18:17
membershineskollam10-Jan-13 18:17 
AnswerRe: how to export a div to pdf Pin
Richard MacCutchan10-Jan-13 21:51
mvpRichard MacCutchan10-Jan-13 21:51 
QuestionRegarding implementation of Dependency Injection with C# Pin
Tridip Bhattacharjee10-Jan-13 2:06
memberTridip Bhattacharjee10-Jan-13 2:06 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 2:22
protectorPete O'Hanlon10-Jan-13 2:22 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
jschell10-Jan-13 14:03
memberjschell10-Jan-13 14:03 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
SledgeHammer0110-Jan-13 14:57
memberSledgeHammer0110-Jan-13 14:57 
GeneralRe: Regarding implementation of Dependency Injection with C# Pin
Tridip Bhattacharjee10-Jan-13 20:07
memberTridip Bhattacharjee10-Jan-13 20:07 
GeneralRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 21:11
protectorPete O'Hanlon10-Jan-13 21:11 
QuestionHow to draw an arc in winRT with animation? Pin
abinashokk9-Jan-13 21:55
memberabinashokk9-Jan-13 21:55 
AnswerRe: How to draw an arc in winRT with animation? Pin
Pete O'Hanlon9-Jan-13 22:34
protectorPete O'Hanlon9-Jan-13 22:34 
QuestionC#.NET 3.5 Code review checklist Pin
Member 31370789-Jan-13 20:28
memberMember 31370789-Jan-13 20:28 
AnswerRe: C#.NET 3.5 Code review checklist Pin
Eddy Vluggen9-Jan-13 22:54
mvpEddy Vluggen9-Jan-13 22:54 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 24 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid