Click here to Skip to main content
15,909,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: difference between Hotkeys and ShortKeys Pin
toxcct21-Aug-04 7:25
toxcct21-Aug-04 7:25 
GeneralWhy thread deadlock in DllRegisterServer and FreeLibrary Pin
nlm_wboy19-Aug-04 19:19
nlm_wboy19-Aug-04 19:19 
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 
hello all,
i have the following code to print the excel file
<br />
VARIANT tv;<br />
	VARIANT tv1;<br />
	VARIANT tv2;<br />
	VARIANT tv3;<br />
	VARIANT tv4;<br />
	VARIANT tv5;<br />
	VARIANT tv6;<br />
	VARIANT tv7;<br />
<br />
		tv3.vt = VT_BOOL;<br />
		tv3.iVal = false; // print preview<br />
<br />
		tv4.vt = VT_BSTR;<br />
		tv4.bstrVal = printerName.AllocSysString();  //printer name<br />
	<br />
		tv5.vt = VT_BOOL; <br />
		tv5.iVal = false;  // print to file<br />
	<br />
		tv6.vt = VT_BOOL;<br />
		tv6.iVal = true;  // collate<br />
	<br />
		tv7.vt = VT_BSTR;  // prtostring<br />
		tv7.bstrVal = CString("").AllocSysString();<br />
<br />
		tv.vt = VT_I4;<br />
		tv.lVal = 1;  //from<br />
		<br />
		tv2.vt = VT_I2;<br />
		tv2.iVal = 1;  <br />
<br />
				sheets.PrintOut(covOptional, covOptional, tv2, tv3, tv4, tv5, tv6, tv7 );<br />

the excel file contains charts and it is giving me error. if there is no charts i don't get error at all and it is printing.
why is it chart giving me error?
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 
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 

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.