comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLcomIDispatch question (newbie alert!)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLcomIDispatch question (newbie alert!) [message #39216 is a reply to message #39085] Mon, 26 April 2004 08:52 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Jeff" wrote in message...

> Can someone tell me what I'm doing wrong in the following line:
>
> xl = obj_new("IDLcomIDispatch$PROGID$Excel_Application")
>
> I was hoping this would create a reference to excel, but it's giving
> me the error:
> "OBJ_NEW: Requested object doesn't exist."

I can't tell you what you are doing wrong but I can tell you that if you use
the CLSID it works fine. I generally stick with the CLSID but I too tried
with the PROGID and I got the same error. IDL knows that the PROGID is a
valid class string, but it seems that it can't do anything with it.

-Rick
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLcomIDispatch question (newbie alert!)
Next Topic: Re: mpeg quality

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:40:39 PDT 2025

Total time taken to generate the page: 0.40000 seconds