Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
How Should I Write A Log File That Shows Step By Step Process While Printing Files.
I have Some PDf Files In Different Folders...And I Am Trying To Print Some PDF Files From Different Folders.
But While I Am Printing The PDF Files Are Printing Alternatively i.e,Printing 1 Pdf File And Missing The Next PDF file..
But In Debug Mode It Is Printing All The PDF Files OF The Given Paths..
To Print The Pdf Files From Folder..i Had Used Process Class To Print PDF Files From Different Folder Paths..

I Want to Know That Why It Is Working Good In Debug Mode...but Not In Release Mode.
So I Need A Log File To Know About The Inner Process OF Taking Files From Folder And Printing The PDf Files...

I Don't Know How To Write The Log File As I Am Fresher To .NET

Please Some One Help Me....

Thanking You In Advance
Posted

1 solution

Very good example for freshers is given over here, take a look :
http://www.itauthor.com/2007/08/21/writing-to-a-log-file-in-c/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900