Click here to Skip to main content
15,435,438 members
Home / Discussions / COM
   

COM

 
AnswerRe: ATL and MFC string conversion macros conversion macros Pin
Richard MacCutchan13-Aug-13 20:50
mveRichard MacCutchan13-Aug-13 20:50 
Question0x80020009 access rights opentext Pin
ForNow9-Aug-13 10:22
MemberForNow9-Aug-13 10:22 
GeneralRe: 0x80020009 access rights opentext Pin
Richard MacCutchan9-Aug-13 23:34
mveRichard MacCutchan9-Aug-13 23:34 
GeneralRe: 0x80020009 access rights opentext Pin
ForNow12-Aug-13 10:39
MemberForNow12-Aug-13 10:39 
Generalits a text Formatting problem Pin
ForNow13-Aug-13 10:14
MemberForNow13-Aug-13 10:14 
GeneralRe: its a text Formatting problem Pin
Richard MacCutchan13-Aug-13 20:28
mveRichard MacCutchan13-Aug-13 20:28 
Questionin excel, how to get the char after the cursor when in edit mode Pin
BCN-16328-Jul-13 20:20
MemberBCN-16328-Jul-13 20:20 
QuestionWorkBooks::OpenText Pin
ForNow25-Jul-13 16:34
MemberForNow25-Jul-13 16:34 
Hi,

I am trying to open text file into a Excel Spreadsheet and I am getting all kinds of exceptions

below is my code as all but the filename paramter is optional I am wondering if someone can post a
example

C++
COleVariant myvar;
	 myvar.vt = VT_I4;
	 myvar.lVal = NULL;
	books.OpenText(TEXT("C:\\DOCUMENTS\\MYFILE.TXT"),
		                covOptional,
			       covOptional,
			       covOptional,
			       myvar.lVal,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional,
			       covOptional);

SuggestionRe: WorkBooks::OpenText Pin
Richard MacCutchan25-Jul-13 21:28
mveRichard MacCutchan25-Jul-13 21:28 
QuestionCreating Automation Project using Visual Studio 2010 and Excel 2010 Pin
ForNow25-Jul-13 13:08
MemberForNow25-Jul-13 13:08 
AnswerRe: Creating Automation Project using Visual Studio 2010 and Excel 2010 Pin
Garth J Lancaster25-Jul-13 13:50
professionalGarth J Lancaster25-Jul-13 13:50 
GeneralRe: Creating Automation Project using Visual Studio 2010 and Excel 2010 Pin
ForNow25-Jul-13 14:39
MemberForNow25-Jul-13 14:39 
Questionwindows 8 custom credential provider Pin
venkatesh5286723-Jul-13 21:05
Membervenkatesh5286723-Jul-13 21:05 
QuestionWord COM Object Error Pin
bganesan27-Jun-13 21:00
Memberbganesan27-Jun-13 21:00 
Questionwin32 dialogbox with custom control not displaying in windows 8 64bit Pin
venkatesh5286725-Jun-13 21:37
Membervenkatesh5286725-Jun-13 21:37 
SuggestionRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
Richard MacCutchan25-Jun-13 23:23
mveRichard MacCutchan25-Jun-13 23:23 
GeneralRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
venkatesh5286726-Jun-13 0:43
Membervenkatesh5286726-Jun-13 0:43 
GeneralRe: win32 dialogbox with custom control not displaying in windows 8 64bit Pin
Richard MacCutchan26-Jun-13 1:38
mveRichard MacCutchan26-Jun-13 1:38 
QuestionImplementation two interfaces in one class Pin
venkatesh5286718-Jun-13 20:47
Membervenkatesh5286718-Jun-13 20:47 
AnswerRe: Implementation two interfaces in one class Pin
Richard MacCutchan18-Jun-13 23:05
mveRichard MacCutchan18-Jun-13 23:05 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 1:11
Membervenkatesh5286719-Jun-13 1:11 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 2:21
mveRichard MacCutchan19-Jun-13 2:21 
GeneralRe: Implementation two interfaces in one class Pin
venkatesh5286719-Jun-13 2:30
Membervenkatesh5286719-Jun-13 2:30 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 4:04
mveRichard MacCutchan19-Jun-13 4:04 
GeneralRe: Implementation two interfaces in one class Pin
Richard MacCutchan19-Jun-13 4:05
mveRichard MacCutchan19-Jun-13 4:05 

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.