Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFile List Pin
Jonnster11-Oct-10 6:14
Jonnster11-Oct-10 6:14 
AnswerRe: File List Pin
elchupathingy11-Oct-10 7:14
elchupathingy11-Oct-10 7:14 
QuestionProblem in Using CEdit box control. Pin
Le@rner11-Oct-10 2:33
Le@rner11-Oct-10 2:33 
AnswerRe: Problem in Using CEdit box control. Pin
bleedingfingers11-Oct-10 2:50
bleedingfingers11-Oct-10 2:50 
GeneralRe: Problem in Using CEdit box control. Pin
Le@rner11-Oct-10 2:51
Le@rner11-Oct-10 2:51 
GeneralRe: Problem in Using CEdit box control. Pin
bleedingfingers11-Oct-10 2:55
bleedingfingers11-Oct-10 2:55 
AnswerRe: Problem in Using CEdit box control. Pin
Cool_Dev11-Oct-10 3:12
Cool_Dev11-Oct-10 3:12 
AnswerRe: Problem in Using CEdit box control. Pin
David Crow11-Oct-10 4:13
David Crow11-Oct-10 4:13 
GeneralRe: Problem in Using CEdit box control. Pin
Le@rner11-Oct-10 18:19
Le@rner11-Oct-10 18:19 
GeneralRe: Problem in Using CEdit box control. Pin
David Crow12-Oct-10 3:32
David Crow12-Oct-10 3:32 
QuestionOne c++ project how to transmit it to WSDL Pin
yu-jian11-Oct-10 1:09
yu-jian11-Oct-10 1:09 
AnswerRe: One c++ project how to transmit it to WSDL Pin
Aisteru M.11-Oct-10 23:48
Aisteru M.11-Oct-10 23:48 
GeneralRe: One c++ project how to transmit it to WSDL Pin
yu-jian15-Oct-10 6:50
yu-jian15-Oct-10 6:50 
QuestionExcel Issue Pin
Pryabu10-Oct-10 23:53
Pryabu10-Oct-10 23:53 
Hi,

I want to read a text in an excel file. I am using the folowing code.

HRESULT hr;
CLSID clsid;

hr = CLSIDFromProgID(L"Excel.Application", &clsid);

BOOL bRet = objApp.CreateDispatch(clsid);

objBooks = objApp.GetWorkbooks();

objBooks.Open("C:\\tmp\\1.xls", VOptional, VOptional,VOptional,VOptional,VOptional, VOptional,
VOptional, VOptional, VTrue, VFalse, VOptional, VOptional);

It is working in a test applicaiton. But i am using the same code in my development project, CreateDispatch function gets failed.

Anyone knows the reason?

Thanks,
AnswerRe: Excel Issue Pin
prasad_som11-Oct-10 0:35
prasad_som11-Oct-10 0:35 
QuestionRasSetCustomAuthData is writting corrupted data in rasphone.pbk Pin
birajendu10-Oct-10 22:04
birajendu10-Oct-10 22:04 
Question64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
msr_codeproject10-Oct-10 18:55
msr_codeproject10-Oct-10 18:55 
AnswerRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
«_Superman_»10-Oct-10 19:02
professional«_Superman_»10-Oct-10 19:02 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
msr_codeproject10-Oct-10 19:30
msr_codeproject10-Oct-10 19:30 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
«_Superman_»10-Oct-10 22:06
professional«_Superman_»10-Oct-10 22:06 
AnswerRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
Richard MacCutchan11-Oct-10 0:16
mveRichard MacCutchan11-Oct-10 0:16 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
msr_codeproject11-Oct-10 1:44
msr_codeproject11-Oct-10 1:44 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
Richard MacCutchan11-Oct-10 2:05
mveRichard MacCutchan11-Oct-10 2:05 
GeneralRe: 64-Bit Printer Driver vs 32-Bit Printer Driver and viceversa Pin
Alain Rist11-Oct-10 4:07
Alain Rist11-Oct-10 4:07 
QuestionImplementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Vaclav_10-Oct-10 16:48
Vaclav_10-Oct-10 16:48 

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.