Click here to Skip to main content
15,885,914 members
Home / Discussions / C#
   

C#

 
AnswerMy Vote of 1 Pin
Keith Barrow14-Oct-09 23:10
professionalKeith Barrow14-Oct-09 23:10 
AnswerRe: I really need some help in C# (serious) Pin
Wes Aday15-Oct-09 4:10
professionalWes Aday15-Oct-09 4:10 
QuestionCan Window service Read Log.txt file ,if yes then how? Pin
sunstate14-Oct-09 20:03
sunstate14-Oct-09 20:03 
AnswerRe: Can Window service Read Log.txt file ,if yes then how? Pin
SeMartens14-Oct-09 20:08
SeMartens14-Oct-09 20:08 
AnswerRe: Can Window service Read Log.txt file ,if yes then how? Pin
sunstate14-Oct-09 20:20
sunstate14-Oct-09 20:20 
GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
Ashfield14-Oct-09 21:09
Ashfield14-Oct-09 21:09 
GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
sunstate15-Oct-09 0:07
sunstate15-Oct-09 0:07 
GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
Ashfield15-Oct-09 1:29
Ashfield15-Oct-09 1:29 
So now try just checking for file.exists and logging a message. Put it in a try ctach so you can log the full exception details and that should give you some pointers.

Really, this is a basic programming technique for trapping/tracing errors so you should be able to properly identify where it goes wrong and also get the full error message as to why.

Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP

GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
Thomas Krojer15-Oct-09 0:01
Thomas Krojer15-Oct-09 0:01 
QuestionCan Window service Read Log.txt file ,if yes then how? Pin
ketanbparmar12345679814-Oct-09 20:00
ketanbparmar12345679814-Oct-09 20:00 
QuestionEnabling and Disabling Toolbar buttons.... Pin
hariakuthota14-Oct-09 18:05
hariakuthota14-Oct-09 18:05 
AnswerRe: Enabling and Disabling Toolbar buttons.... Pin
luisnike1915-Oct-09 6:25
luisnike1915-Oct-09 6:25 
QuestionInsert data from excel to access by using C# Pin
Nine_14-Oct-09 17:05
Nine_14-Oct-09 17:05 
AnswerRe: Insert data from excel to access by using C# Pin
Abhijit Jana14-Oct-09 17:15
professionalAbhijit Jana14-Oct-09 17:15 
GeneralRe: Insert data from excel to access by using C# Pin
Nine_14-Oct-09 19:01
Nine_14-Oct-09 19:01 
QuestionAppDomain Problem Pin
dataminers14-Oct-09 11:59
dataminers14-Oct-09 11:59 
AnswerRe: AppDomain Problem Pin
PIEBALDconsult14-Oct-09 13:29
mvePIEBALDconsult14-Oct-09 13:29 
AnswerIgnore repost Pin
Not Active14-Oct-09 14:41
mentorNot Active14-Oct-09 14:41 
AnswerRe: AppDomain Problem Pin
Not Active14-Oct-09 14:43
mentorNot Active14-Oct-09 14:43 
GeneralRe: AppDomain Problem Pin
dataminers14-Oct-09 21:19
dataminers14-Oct-09 21:19 
AnswerMy Vote of 1: Do not repost Pin
Keith Barrow15-Oct-09 1:14
professionalKeith Barrow15-Oct-09 1:14 
Questionwhere to chane the company name in vs2005 Pin
cjoki14-Oct-09 11:54
cjoki14-Oct-09 11:54 
AnswerRe: where to chane the company name in vs2005 Pin
cjoki14-Oct-09 12:20
cjoki14-Oct-09 12:20 
QuestionWhy changing the CurrentCulture.DateTimeFormat.ShortTimePattern doesn't affect the DateTime.now format Pin
Member 372226114-Oct-09 9:45
Member 372226114-Oct-09 9:45 
AnswerRe: Why changing the CurrentCulture.DateTimeFormat.ShortTimePattern doesn't affect the DateTime.now format Pin
DaveyM6914-Oct-09 10:29
professionalDaveyM6914-Oct-09 10:29 

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.