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

C#

 
GeneralRe: Chess Pin
rahimfakir21-Mar-12 11:34
rahimfakir21-Mar-12 11:34 
AnswerRe: Chess Pin
Pete O'Hanlon21-Mar-12 10:26
mvePete O'Hanlon21-Mar-12 10:26 
AnswerRe: Chess Pin
RobCroll21-Mar-12 12:10
RobCroll21-Mar-12 12:10 
AnswerRe: Chess Pin
Luc Pattyn21-Mar-12 14:14
sitebuilderLuc Pattyn21-Mar-12 14:14 
AnswerRe: Chess Pin
Abhinav S21-Mar-12 18:02
Abhinav S21-Mar-12 18:02 
QuestionC# working with excel Pin
sc steinhayse21-Mar-12 6:26
sc steinhayse21-Mar-12 6:26 
AnswerRe: C# working with excel Pin
Ravi Bhavnani21-Mar-12 6:30
professionalRavi Bhavnani21-Mar-12 6:30 
Questionlogging failure using Trace.Listener Pin
Member 842933321-Mar-12 5:12
Member 842933321-Mar-12 5:12 
I am working on a windows app and I am trying to log information using Trace.Lsitener
This the code I am using in my app.config file:

<trace autoflush="false" indentsize="4">
<listeners >
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener"
initializeData="C:\logFile.txt" />
<remove name="Default" />
</listeners>
</trace>

After installing my .exe file, when I run the app in any Windows 7 system, the logfile.txt gets generated in Desktop by default instead of C drive, unlike the path mentioned in the app.config file. Where as it works absolutely fine in Windows XP machine.

If anyone has faced similar kind of issue, please update me on this as early as possible,



Thanks,
Shouvik

-- modified 21-Mar-12 11:18am.
AnswerRe: logging failure using Trace.Listener Pin
Eddy Vluggen21-Mar-12 6:11
professionalEddy Vluggen21-Mar-12 6:11 
GeneralRe: logging failure using Trace.Listener Pin
Bernhard Hiller21-Mar-12 21:29
Bernhard Hiller21-Mar-12 21:29 
AnswerRe: logging failure using Trace.Listener Pin
Eddy Vluggen22-Mar-12 6:15
professionalEddy Vluggen22-Mar-12 6:15 
GeneralRe: logging failure using Trace.Listener Pin
Member 842933321-Mar-12 23:13
Member 842933321-Mar-12 23:13 
AnswerRe: logging failure using Trace.Listener Pin
Eddy Vluggen22-Mar-12 6:18
professionalEddy Vluggen22-Mar-12 6:18 
QuestionHow can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 1:34
a.fateme21-Mar-12 1:34 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 2:29
professionalRavi Bhavnani21-Mar-12 2:29 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 6:40
a.fateme21-Mar-12 6:40 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 6:56
professionalRavi Bhavnani21-Mar-12 6:56 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 7:29
a.fateme21-Mar-12 7:29 
GeneralRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 7:57
professionalRavi Bhavnani21-Mar-12 7:57 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 8:09
a.fateme21-Mar-12 8:09 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 8:15
professionalRavi Bhavnani21-Mar-12 8:15 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 8:25
a.fateme21-Mar-12 8:25 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 8:39
professionalRavi Bhavnani21-Mar-12 8:39 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 8:48
a.fateme21-Mar-12 8:48 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Abhinav S21-Mar-12 5:06
Abhinav S21-Mar-12 5:06 

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.