|
-
December 31st, 2009, 01:58 AM
#1
Some times Print function not working.
Hi all
in my application some time print function not working.
i m calling this for print
//CView::OnFilePrint();
and for preview
//CView::OnFilePrintPreview();
but some times when i colling these function these not responded.
nothing is happen there,than if i restart the machine its working fine.
please provide me help for this.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
-
December 31st, 2009, 04:37 AM
#2
Re: Some times Print function not working.
Victor Nijegorodov
-
December 31st, 2009, 05:29 AM
#3
Re: Some times Print function not working.
If the code is commented out, even restarting the machine will not allow you to do something which is not there as a part of code
-
January 4th, 2010, 06:26 AM
#4
Re: Some times Print function not working.
these not commented
i m taking help of this article
http://www.codeproject.com/KB/list/listprintdemo.aspx
please help me
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
-
January 6th, 2010, 01:34 AM
#5
Re: Some times Print function not working.
 Originally Posted by vjshankwar
Code:
i m calling this for print
//CView::OnFilePrint();
and for preview
//CView::OnFilePrintPreview();
The code you posted does show both those functions commented out...if the "Real Code" is not commented out then post it as we can not offer suggestions to fix code that is not posted correctly.
Last edited by Vanaj; January 6th, 2010 at 01:36 AM.
Reason: added code
Jim
ATP BE400 CE500 (C550B-SPW) CE560XL MU300 CFI CFII
"The speed of non working code is irrelevant"... Of course that is just my opinion, I could be wrong.
"Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination are omnipotent. The slogan 'press on' has solved and always will solve the problems of the human race."...Calvin Coolidge 30th President of the USA.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|