FF-ActiveX with Excel.Application

81 views
Skip to first unread message

Jarod_

unread,
Jan 12, 2010, 9:00:28 AM1/12/10
to ff-activex-host
Hi there,

I'm able to make this example to work :
<html>
<body>
<object
id="Control"
TYPE="application/x-itst-activex"
ALIGN="baseline" BORDER="0"
WIDTH="300" HEIGHT="300"
clsid="{D27CDB6E-AE6D-11cf-96B8-444553540000}"
progid="ShockwaveFlash.ShockwaveFlash"
event_OnReadyStateChange="OnReady"
param_src="http://www.youtube.com/v/53RdNYwImYc"
logger="logger" debugLevel="5">
</object>
<div><span id='log'></span></div>
<script type="text/javascript">
function logger(msg) { document.getElementById('log').innerHTML +=
msg + '<br/>'; }
function OnReady() { console.log("ok"); }
</script>
</body>
</html>

With the FF-ActiveX plugin which permits to all apps to be executed
(see my previous thread here:
http://groups.google.com/group/ff-activex-host/browse_thread/thread/910f01962d985c35).

When I execute this example, then the logger says:
AxHost.TestAuthorization: returning True
AxHost.verifyClsID: verified successfully
AxHost.setClsID: CLSID {D27CDB6E-AE6D-11cf-96B8-444553540000} set
AxHost.verifyClsID: verified successfully
AxHost.setClsIDFromProgID: PROGID ShockwaveFlash.ShockwaveFlash
resolved and set
AxHost.NPP_New: debug level set to 5
AxHost.CreateControl: control created successfully
AxHost.AddEventHandler: handler OnReady set for event
onreadystatechange

And everything's ok.

However, now, I want to use FF-ActiveX with the Excel.Application
object. So here is my new OBJECT:
<object
id="Control"
TYPE="application/x-itst-activex"
ALIGN="baseline" BORDER="0"
WIDTH="300" HEIGHT="300"
clsid="{00024500-0000-0000-C000-000000000046}"
progid="Excel.Application.12"
event_OnReadyStateChange="OnReady"
logger="logger" debugLevel="5">
</object>

This time it sounds like there is a problem because the logger says:
AxHost.TestAuthorization: returning True
AxHost.verifyClsID: verified successfully
AxHost.setClsID: CLSID {00024500-0000-0000-C000-000000000046} set
AxHost.verifyClsID: verified successfully
AxHost.setClsIDFromProgID: PROGID Excel.Application.12 resolved and
set
AxHost.NPP_New: debug level set to 5
An attempt was made to reference a token that does not exist.
AxHost.CreateControl: failed to create site
AxHost.NPP_New: failed to create the control
AxHost.TestAuthorization: returning True
AxHost.verifyClsID: verified successfully
AxHost.setClsID: CLSID {00024500-0000-0000-C000-000000000046} set
AxHost.verifyClsID: verified successfully
AxHost.setClsIDFromProgID: PROGID Excel.Application.12 resolved and
set
AxHost.NPP_New: debug level set to 5
The requested lookup key was not found in any active activation
context.
AxHost.CreateControl: failed to create site
AxHost.NPP_New: failed to create the control

Then I don't know what is the error and how to solve it...

Any help will be very appreciate!

Thanks.

Leeor Aharon

unread,
Jan 15, 2010, 8:40:32 AM1/15/10
to ff-acti...@googlegroups.com
Hi Jarod,

I'm sorry it has taken me so long to reply.

I have not tried to use the Excel control with this plugin yet, so I'm interested where you got the CLSID you are using from? If it's from the registry, can you specify where in the registry it's from?

Also, you do not need to specify both the progid and the clsid, one of them is enough. I put an example with both just for the sake of demonstration.

I'll try to look into it next week.

Leeor.

--
You received this message because you are subscribed to the Google Groups "ff-activex-host" group.
To post to this group, send email to ff-acti...@googlegroups.com.
To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ff-activex-host?hl=en.




Jarod_

unread,
Jan 15, 2010, 10:52:07 AM1/15/10
to ff-activex-host
Don't be sorry Leeor! It's good enough that you answer!!!

About the classID/progID I know I don't need to put both of them, but
it was just to be sure. And I try only ClassID and only ProgID but the
result was the same...

I have Office 2007 on my computer and the classId is there in my
registry :
HKEY_CLASSES_ROOT\Excel.Application\CLSID\
and HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00024500-0000-0000-
C000-000000000046}
and HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Application\CLSID

--
Jarod_

On 15 jan, 14:40, Leeor Aharon <leeor.aha...@gmail.com> wrote:
> Hi Jarod,
>
> I'm sorry it has taken me so long to reply.
>
> I have not tried to use the Excel control with this plugin yet, so I'm
> interested where you got the CLSID you are using from? If it's from the
> registry, can you specify where in the registry it's from?
>
> Also, you do not need to specify both the progid and the clsid, one of them
> is enough. I put an example with both just for the sake of demonstration.
>
> I'll try to look into it next week.
>
> Leeor.
>

> >http://groups.google.com/group/ff-activex-host/browse_thread/thread/9...

> > ff-activex-ho...@googlegroups.com<ff-activex-host%2Bunsu...@googlegroups.com>

Jarod_

unread,
Jan 23, 2010, 6:31:07 AM1/23/10
to ff-activex-host
Leeor, did you had the chance to look at this one ? :-)

Cheers,

--
Jarod_

Leeor Aharon

unread,
Jan 23, 2010, 6:47:33 AM1/23/10
to ff-acti...@googlegroups.com
I'm sorry Jarod but I haven't gotten around to that yet. I'm hoping to test it tomorrow.

Leeor.

To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.

Leeor Aharon

unread,
Jan 25, 2010, 8:15:18 AM1/25/10
to ff-acti...@googlegroups.com
Hi Jarod,

Just tested it again, and indeed it fails to load the Excel control. Looking at the registry I see that the Excel control is not just a DLL/OCX like most ActiveX objects, but looks more like a .NET assembly. It probably needs to be created differently and therefore does not work with the current implementation of the plugin.

I'm assuming that IE handles it fine, right?

Leeor.

Jarod_

unread,
Jan 25, 2010, 9:45:36 AM1/25/10
to ff-activex-host
Yes, there is no issue with IE... so no solution for me? :-(

On Jan 25, 2:15 pm, Leeor Aharon <leeor.aha...@gmail.com> wrote:
> Hi Jarod,
>

> Just tested it again, and indeed it fails to load the Excel control. Looking
> at the registry I see that the Excel control is not just a DLL/OCX like most
> ActiveX objects, but looks more like a .NET assembly. It probably needs to
> be created differently and therefore does not work with the current
> implementation of the plugin.
>
> I'm assuming that IE handles it fine, right?
>
> Leeor.
>

> On Sat, Jan 23, 2010 at 1:47 PM, Leeor Aharon <leeor.aha...@gmail.com>wrote:
>
>
>
> > I'm sorry Jarod but I haven't gotten around to that yet. I'm hoping to test
> > it tomorrow.
>
> > Leeor.
>

> >> > > > ff-activex-ho...@googlegroups.com<ff-activex-host%2Bunsubscribe@ googlegroups.com>
> >> <ff-activex-host%2Bunsu...@googlegroups.com<ff-activex-host%252Bunsubsc ri...@googlegroups.com>


>
> >> > > > .
> >> > > > For more options, visit this group at
> >> > > >http://groups.google.com/group/ff-activex-host?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "ff-activex-host" group.
> >> To post to this group, send email to ff-acti...@googlegroups.com.
> >> To unsubscribe from this group, send email to

> >> ff-activex-ho...@googlegroups.com<ff-activex-host%2Bunsubscribe@ googlegroups.com>

Leeor Aharon

unread,
Jan 25, 2010, 9:55:42 AM1/25/10
to ff-acti...@googlegroups.com
Sorry, but not yet. It will require me to research and change the plugin to support these assemblies since I have no idea how it's meant to work atm.

Please open an issue in the bug tracker, and I'll hopefully be able to handle it soon.

Leeor.

To unsubscribe from this group, send email to ff-activex-ho...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages