Click here to Skip to main content
Sign Up to vote bad
good
See more: MFC
Hello,
 
i am building an application in MFC, in this i need to make a log of the printed files.If the user is giving any file for printing then i need to log the file name given for print.Kindly can any one guide me to do this.Thank you in advance
Posted 17 Sep '12 - 16:35


1 solution

Hi, in your CView oveeride of OnDraw or wherever your print is being started, use the Log4Net component.
 
log4Net logging framework[^]
 
hope this helps you out...
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mahesh Bailwal 353
1 Sergey Alexandrovich Kryukov 339
2 Maciej Los 290
3 CPallini 245
4 Rohan Leuva 175
0 Sergey Alexandrovich Kryukov 9,162
1 OriginalGriff 7,194
2 CPallini 3,923
3 Rohan Leuva 3,176
4 Maciej Los 2,633


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 23 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid