Click here to Skip to main content
15,899,754 members
Home / Discussions / COM
   

COM

 
GeneralEstablish a virtual COM port for Bluetooth USB Dongle Pin
Tao Wang13-Apr-05 23:36
Tao Wang13-Apr-05 23:36 
GeneralRe: Establish a virtual COM port for Bluetooth USB Dongle Pin
Peter Ritchie23-Apr-05 8:03
Peter Ritchie23-Apr-05 8:03 
GeneralUsing a COM component Pin
MDowning13-Apr-05 13:35
MDowning13-Apr-05 13:35 
GeneralRe: Using a COM component Pin
MDowning13-Apr-05 13:43
MDowning13-Apr-05 13:43 
GeneralRe: Using a COM component Pin
rwestgraham13-Apr-05 14:25
rwestgraham13-Apr-05 14:25 
GeneralRe: Using a COM component Pin
Mike Dimmick14-Apr-05 0:13
Mike Dimmick14-Apr-05 0:13 
GeneralRe: Using a COM component Pin
Ed K19-Apr-05 10:58
Ed K19-Apr-05 10:58 
Generallate binding with com - please help! Pin
abandito13-Apr-05 7:41
abandito13-Apr-05 7:41 
Hello,
i try to use late binding for office automation with powerpoint and c#.
I found some examples for word which work fine:

<br />
Type comType;<br />
object comObject;<br />
<br />
comType = Type.GetTypeFromProgID("Word.Application");			<br />
comObject = Activator.CreateInstance(comType);<br />
<br />
object o = comType.InvokeMember("Application", BindingFlags.Public  | BindingFlags.GetProperty, null, oPptAppObject, null);<br />
...<br />
...<br />


So far everything works fine. The Compiler is happy Smile | :)
But when i replace the ...("Word.Application")... with ...("PowerPoint.Application")...
i get an exception (which says: unknown name) for line with:

object o = comType.InvokeMember.....

Also "Application" is a Member of PowerPoint, like it is in Word.
I also tried other Members from PowerPoint but was not lucky.
I googled the whole day, but no solution.

Can anybody help me please?
It have no idea what to do.
Thanks a lot!
GeneralRe: late binding with com - please help! Pin
Peter Ritchie23-Apr-05 8:08
Peter Ritchie23-Apr-05 8:08 
Generalwarning MIDL2039 Pin
PJ Arends13-Apr-05 6:22
professionalPJ Arends13-Apr-05 6:22 
GeneralRe: warning MIDL2039 Pin
Peter Ritchie23-Apr-05 7:07
Peter Ritchie23-Apr-05 7:07 
GeneralRe: warning MIDL2039 Pin
PJ Arends23-Apr-05 14:43
professionalPJ Arends23-Apr-05 14:43 
GeneralWebBrowser Key Event Pin
BorisKco13-Apr-05 6:12
BorisKco13-Apr-05 6:12 
GeneralRe: WebBrowser Key Event Pin
vishalmore17-Apr-05 21:28
vishalmore17-Apr-05 21:28 
GeneralRe: WebBrowser Key Event Pin
BorisKco19-Apr-05 3:43
BorisKco19-Apr-05 3:43 
GeneralC#/COM+--&gt;WIN98SE Pin
langdotnet12-Apr-05 9:51
langdotnet12-Apr-05 9:51 
GeneralSystem.EnterpriseServices.ServicedComponentProxy Pin
langdotnet12-Apr-05 9:45
langdotnet12-Apr-05 9:45 
GeneralAxWebBrowser freezing on Dispose Pin
danire12-Apr-05 5:06
danire12-Apr-05 5:06 
GeneralPrinting an HTML page without the print dialog Pin
ijcullen11-Apr-05 21:54
professionalijcullen11-Apr-05 21:54 
GeneralRe: Printing an HTML page without the print dialog Pin
Ed K19-Apr-05 11:04
Ed K19-Apr-05 11:04 
GeneralHandling COM events from VB for Applications Pin
Anonymous8-Apr-05 5:32
Anonymous8-Apr-05 5:32 
GeneralRe: Handling COM events from VB for Applications Pin
rwestgraham8-Apr-05 15:00
rwestgraham8-Apr-05 15:00 
QuestionHow to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 5:30
Khang Nguyen8-Apr-05 5:30 
AnswerRe: How to use non .NET DLLs in .NET environment? Pin
rwestgraham8-Apr-05 14:40
rwestgraham8-Apr-05 14:40 
GeneralRe: How to use non .NET DLLs in .NET environment? Pin
Anonymous9-Apr-05 10:40
Anonymous9-Apr-05 10:40 

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.