Click here to Skip to main content
15,917,632 members
Home / Discussions / COM
   

COM

 
QuestionUpdate (Windows) Pin
Illegal Operation8-Sep-05 4:10
Illegal Operation8-Sep-05 4:10 
QuestionSTA & MTA Pin
MailtoGops8-Sep-05 3:07
MailtoGops8-Sep-05 3:07 
QuestionExcel Automation problem Pin
HeartFriend7-Sep-05 20:22
HeartFriend7-Sep-05 20:22 
QuestionCOM and access rights (perhaps ?) Pin
gnilk6-Sep-05 2:17
gnilk6-Sep-05 2:17 
QuestionHow to properly stop STA thread Pin
ComplexLifeForm3-Sep-05 7:19
ComplexLifeForm3-Sep-05 7:19 
QuestionATL Service Pin
Ashwin kumar Gurujala31-Aug-05 21:42
Ashwin kumar Gurujala31-Aug-05 21:42 
AnswerRe: ATL Service Pin
logicaldna31-Aug-05 22:47
logicaldna31-Aug-05 22:47 
QuestionExcel late binding Pin
Anonymous31-Aug-05 21:21
Anonymous31-Aug-05 21:21 
Hey,
I'm using late binding for Excel and I have problem with calling Open (Workbooks) method.
Some other method (properties) work just fine (I'm using Office XP).

Code:
<br />
objWorkbooks = excel.GetType().InvokeMember("Workbooks",BindingFlags.GetProperty, null, excel, null);<br />
<br />
object[] oParam= new object[13]; //i also try 1(optional) and 11(office 2003) params<br />
oParam[0] = FileName;<br />
for(int t=1; t < parameters.Length; t++)<br />
  oParam[t] = Type.Missing; //a also try to put some valid params (like in early binding)<br />
<br />
//here I get error<br />
objWorkbooks.GetType().InvokeMember("Open",BindingFlags.InvokeMethod, null, objWorkbooks, oParam);<br />
<br />


And exception is: "Additional information: Exception has been thrown by the target of an invocation."

Tnx for helping me.

Nice day,
David
QuestionSOAP quetsion Pin
logicaldna31-Aug-05 19:03
logicaldna31-Aug-05 19:03 
QuestionHow to specify a sound card in windows media player Pin
JaniceA29-Aug-05 23:08
JaniceA29-Aug-05 23:08 
QuestionReally struggling with GetTypeFromProgID Pin
DaveC42691329-Aug-05 8:11
DaveC42691329-Aug-05 8:11 
GeneralRe: Really struggling with GetTypeFromProgID Pin
Jörgen Sigvardsson29-Aug-05 9:00
Jörgen Sigvardsson29-Aug-05 9:00 
GeneralRe: Really struggling with GetTypeFromProgID Pin
DaveC42691329-Aug-05 10:03
DaveC42691329-Aug-05 10:03 
GeneralRe: Really struggling with GetTypeFromProgID Pin
Jörgen Sigvardsson29-Aug-05 19:53
Jörgen Sigvardsson29-Aug-05 19:53 
GeneralRe: Really struggling with GetTypeFromProgID Pin
DaveC42691330-Aug-05 2:59
DaveC42691330-Aug-05 2:59 
QuestionActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala27-Aug-05 1:53
Ashwin kumar Gurujala27-Aug-05 1:53 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Jörgen Sigvardsson27-Aug-05 13:22
Jörgen Sigvardsson27-Aug-05 13:22 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala28-Aug-05 19:55
Ashwin kumar Gurujala28-Aug-05 19:55 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Jörgen Sigvardsson29-Aug-05 9:16
Jörgen Sigvardsson29-Aug-05 9:16 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala1-Sep-05 1:37
Ashwin kumar Gurujala1-Sep-05 1:37 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Jörgen Sigvardsson1-Sep-05 9:48
Jörgen Sigvardsson1-Sep-05 9:48 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala9-Sep-05 0:02
Ashwin kumar Gurujala9-Sep-05 0:02 
QuestionCalling remote components method Pin
Anonymous27-Aug-05 0:16
Anonymous27-Aug-05 0:16 
QuestionRe: Calling remote components method Pin
sudeesht31-Aug-05 0:12
sudeesht31-Aug-05 0:12 
QuestionLNK2019 Pin
bondguru26-Aug-05 2:33
bondguru26-Aug-05 2:33 

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.