467,118 Members | 984 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,118 developers. It's quick & easy.

ActiveX Control within an ASP app delivered to the client (wrong group?)

I think I have asked this before. But I cannot see it on Google. I cannot
wrap m,y brain around this.

There is an ASP page. It refers to an ActiveX control which is delivered to
the client.

<OBJECT ID="CRViewer"
CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
WIDTH=100% HEIGHT=95%
codebase="ClientBin/activexviewer.cab#Version=8,5,0,217" VIEWASTEXT>
<PARAM NAME="EnableRefreshButton" VALUE=0>
<PARAM NAME="EnableGroupTree" VALUE=1>
<PARAM NAME="DisplayGroupTree" VALUE=1>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=1>
<PARAM NAME="EnableSearchControl" VALUE=1>
<PARAM NAME="EnableAnimationControl" VALUE=1>
<PARAM NAME="EnableZoomControl" VALUE=1>
</OBJECT>

So there is a CAB file called ActiveXViewer which contains CRViewer.dll. IE
somehow knows to find the necessary component(s) and if not found download
from the server. How does it do this? Look to see if the specified classid
is registered? If the cab is updated, how does the new package get down to
the client?

I have a total mind block when it comes to ActiveX controls on the client in
a web app.

Thanks.

S
Jul 21 '05 #1
  • viewed: 5520
Share:
2 Replies
"Stephanie Stowe" wrote:
I think I have asked this before. But I cannot see it on Google. I cannot
wrap m,y brain around this.

There is an ASP page. It refers to an ActiveX control which is delivered to
the client.

<OBJECT ID="CRViewer"
CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
WIDTH=100% HEIGHT=95%
codebase="ClientBin/activexviewer.cab#Version=8,5,0,217" VIEWASTEXT>
<PARAM NAME="EnableRefreshButton" VALUE=0>
<PARAM NAME="EnableGroupTree" VALUE=1>
<PARAM NAME="DisplayGroupTree" VALUE=1>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=1>
<PARAM NAME="EnableSearchControl" VALUE=1>
<PARAM NAME="EnableAnimationControl" VALUE=1>
<PARAM NAME="EnableZoomControl" VALUE=1>
</OBJECT>

So there is a CAB file called ActiveXViewer which contains CRViewer.dll. IE
somehow knows to find the necessary component(s) and if not found download
from the server. How does it do this?
codebase tells IE where to get the component.
Look to see if the specified classid is registered?
Yep.
If the cab is updated, how does the new package get down to
the client?


That's where Version=8,5,0,217 comes in. If it sees a newer version, IE
gets it.
Jul 21 '05 #2

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:C4**********************************@microsof t.com...
"Stephanie Stowe" wrote:
I think I have asked this before. But I cannot see it on Google. I cannot wrap m,y brain around this.

There is an ASP page. It refers to an ActiveX control which is delivered to the client.

<OBJECT ID="CRViewer"
CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
WIDTH=100% HEIGHT=95%
codebase="ClientBin/activexviewer.cab#Version=8,5,0,217" VIEWASTEXT>
<PARAM NAME="EnableRefreshButton" VALUE=0>
<PARAM NAME="EnableGroupTree" VALUE=1>
<PARAM NAME="DisplayGroupTree" VALUE=1>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=1>
<PARAM NAME="EnableSearchControl" VALUE=1>
<PARAM NAME="EnableAnimationControl" VALUE=1>
<PARAM NAME="EnableZoomControl" VALUE=1>
</OBJECT>

So there is a CAB file called ActiveXViewer which contains CRViewer.dll. IE somehow knows to find the necessary component(s) and if not found download from the server. How does it do this?


codebase tells IE where to get the component.
Look to see if the specified classid is registered?


Yep.
If the cab is updated, how does the new package get down to
the client?


That's where Version=8,5,0,217 comes in. If it sees a newer version, IE
gets it.


Sweet. Thanks.
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Stephanie Stowe | last post: by
1 post views Thread by ahmed khairy | last post: by
21 posts views Thread by Strath-Clyde | last post: by
2 posts views Thread by Shawn | last post: by
1 post views Thread by Frank | last post: by
3 posts views Thread by StinkyDuck | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.