|
|
well in the codeproject we have a time for session and i guess its four minutes and after this you can use from codeproject,right?
|
|
|
|
|
hey, don't get it bad, i was joking (see the icon)...
|
|
|
|
|
oh no i know and i see Joke/Game Mr toxcct ok
|
|
|
|
|
WhiteSky wrote: codeproject we have a time for session
time for session...?What do u mean?I ddin't get that..
nave
|
|
|
|
|
i think i see in (maybe in FAQ not sure) and if you dont have this problem(not problem) so its for me.
|
|
|
|
|
u mean u have to relogin in the CP after 4 minutes?
nave
|
|
|
|
|
no i dont know its your problem or no but when i am codeproject after 4 minutes i cant work with codeproject and if i want to see one page its like a wait i test and i guess its 4 minutes of course not sure and i go for this problem in codeproject pages and i see that we have a cookies of course not in our computer and it check a time(it was result my search)
|
|
|
|
|
I don't have such a problem here.....Usually I login in the CPP in the morning I can continuously use CP with out any problems untill i shutdown the system..
nave
|
|
|
|
|
|
WhiteSky wrote: so its only for me.
you might check your internet explorer setting man!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
When I disconnect my printer and I print from my program, I have this error:
program c:\progms\paroll\Debug\payroll.exe
File: afxdlgs.inl
line 66.
This error arise on dc.Attach(printdlg.GetPrinterDC());
How can I avoid this error .
|
|
|
|
|
When I disconnect my printer and I print from my program, I have this error:
program c:\progms\paroll\Debug\payroll.exe
File: afxdlgs.inl
line 66.
This error arise on dc.Attach(printdlg.GetPrinterDC());
How can I avoid this error .
|
|
|
|
|
Return alue from GetPrinterDC() is valid?
|
|
|
|
|
When the printer is connect, there is no problem I print normally but when the printer is disconnect this error appear.
My problem is that I want to avoid this error what to do?
I try without success this
if (!dc.Attach(printdlg.GetPrinterDC()))
return
I learn My self
|
|
|
|
|
How do you use CPrintDialog
|
|
|
|
|
This want I write:
CPrintDialog printdlg(true, dwFlags,pParent);
printdlg.GetDefaults();
DEVMODE *MyPrintMode;
MyPrintMode = NULL;
MyPrintMode = printdlg.GetDevMode();
dc.CreateDC(printdlg.GetDriverName(), // Ignored for Printer DC's
printdlg.GetDeviceName(), // The only required item for Printer DC's
printdlg.GetPortName(), // Ignored for Printer DC's
MyPrintMode);
dc.Attach(printdlg.GetPrinterDC());
The error arise on the last sentence
I learn My self
|
|
|
|
|
Your problem isdc.CreateDC(...) you created a dc remove this function and send me if you have any error,please
|
|
|
|
|
|
if you use this code you get error
<br />
CPrintDialog printdlg(false);<br />
printdlg.GetDefaults();<br />
<br />
CDC dc22;<br />
DEVMODE *MyPrintMode;<br />
MyPrintMode = NULL;<br />
MyPrintMode = printdlg.GetDevMode();<br />
HDC hdc=printdlg.GetPrinterDC();<br />
dc22.Attach(printdlg.GetPrinterDC()); <br />
<br />
|
|
|
|
|
OK, you are right
Thanks for your assistance.
|
|
|
|
|
Dear Sir,
When I write this
DWORD dwFlags = PD_PAGENUMS ;
CWnd *pParent = this;
CPrintDialog printdlg(false, dwFlags,pParent);
Why pages is not enabled on the printing dialog that appears.
|
|
|
|
|
Can you be more specific
mikobi wrote: Why pages is not enabled on the printing dialog that appears.
|
|
|
|
|
When the Printing dialog appears, pages is dimmed. why ?
|
|
|
|
|
How do you send your pages to printer?
|
|
|
|