Click here to Skip to main content
15,891,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why thread deadlock in DllRegisterServer and FreeLibrary Pin
Blake Miller20-Aug-04 4:47
Blake Miller20-Aug-04 4:47 
GeneralRe: Why thread deadlock in DllRegisterServer and FreeLibrary Pin
nlm_wboy22-Aug-04 16:23
nlm_wboy22-Aug-04 16:23 
QuestionHow to Decompress GIF file Pin
zahid_ash19-Aug-04 18:33
zahid_ash19-Aug-04 18:33 
GeneralSendmaill.dll or Send To: Mail Recipient via C++ Pin
GoddFadda19-Aug-04 16:14
GoddFadda19-Aug-04 16:14 
GeneralRe: Sendmaill.dll or Send To: Mail Recipient via C++ Pin
gamitech20-Aug-04 13:03
gamitech20-Aug-04 13:03 
Generalprintout excel Pin
pnpfriend19-Aug-04 14:38
pnpfriend19-Aug-04 14:38 
GeneralRe: printout excel Pin
Michael Dunn19-Aug-04 15:26
sitebuilderMichael Dunn19-Aug-04 15:26 
GeneralRe: printout excel Pin
pnpfriend20-Aug-04 4:14
pnpfriend20-Aug-04 4:14 
No.. it doesn't help.
As I told you.. printout method doesn't give me any problem when the excel file doesn't contain chart.
the file get print out automatically. but the file with charts.. i get error.
is it because of covOptional?
<br />
COleVariant covTrue((short)TRUE),covFalse((short)FALSE),covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);<br />
<br />
sheets.PrintOut(covOptional, covOptional, tv2, tv3, tv4, tv5, tv6, tv7 );


No it can't be either.. because I had tried setting up from = 1 to To = lastPage. and got the same result which is the file without chart sheet in it print out automatically. but not the file with the chart sheet in.

<br />
tv.vt = VT_I4;<br />
tv.lVal = 1;  //from<br />
<br />
tv1.vt = VT_I4;<br />
tv1.lVal = lastPage;  // to<br />
		<br />
tv2.vt = VT_I2;<br />
tv2.iVal = 1;   //num of copy<br />
<br />
sheets.PrintOut(tv, tv1, tv2, tv3, tv4, tv5, tv6, tv7 );<br />

GeneralRe: printout excel Pin
pnpfriend20-Aug-04 11:21
pnpfriend20-Aug-04 11:21 
GeneralRe: printout excel Pin
Michael Dunn20-Aug-04 14:04
sitebuilderMichael Dunn20-Aug-04 14:04 
GeneralRe: printout excel Pin
pnpfriend23-Aug-04 4:06
pnpfriend23-Aug-04 4:06 
Questionhow to prevent shutting dowsn Pin
yingkou19-Aug-04 14:31
yingkou19-Aug-04 14:31 
AnswerRe: how to prevent shutting dowsn Pin
User 58385219-Aug-04 18:48
User 58385219-Aug-04 18:48 
GeneralRe: how to prevent shutting dowsn Pin
yingkou19-Aug-04 23:04
yingkou19-Aug-04 23:04 
QuestionVisual C++ RichEdit ctrl in DialogBox - what's happening? Pin
int01hh19-Aug-04 13:48
int01hh19-Aug-04 13:48 
AnswerRe: Visual C++ RichEdit ctrl in DialogBox - what's happening? Pin
Naveed Shoaib19-Aug-04 14:16
Naveed Shoaib19-Aug-04 14:16 
GeneralRe: Visual C++ RichEdit ctrl in DialogBox - what's happening? Pin
int01hh19-Aug-04 23:05
int01hh19-Aug-04 23:05 
GeneralIDispatch method in C++6.0 Pin
Freeman Taylor19-Aug-04 11:48
Freeman Taylor19-Aug-04 11:48 
GeneralRe: IDispatch method in C++6.0 Pin
Christian Graus19-Aug-04 13:24
protectorChristian Graus19-Aug-04 13:24 
GeneralRe: IDispatch method in C++6.0 Pin
Freeman Taylor20-Aug-04 4:06
Freeman Taylor20-Aug-04 4:06 
GeneralDeriving CStatic Pin
act_x19-Aug-04 11:13
act_x19-Aug-04 11:13 
GeneralCLSID_VideoMixingRenderer9 Pin
smack_2k219-Aug-04 9:04
smack_2k219-Aug-04 9:04 
Generalcalloc failure Pin
ns19-Aug-04 8:31
ns19-Aug-04 8:31 
GeneralRe: calloc failure Pin
Doug Mitchell19-Aug-04 9:55
Doug Mitchell19-Aug-04 9:55 
GeneralRe: calloc failure Pin
Ryan Binns19-Aug-04 18:12
Ryan Binns19-Aug-04 18:12 

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.