Connect with Expertise | Find Experts, Get Answers, Share Insights

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

Stephanie Stowe
 
Posts: n/a
#1: Jul 21 '05
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



Tom Kaminski [MVP]
 
Posts: n/a
#2: Jul 21 '05

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


"Stephanie Stowe" wrote:[color=blue]
> 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?[/color]

codebase tells IE where to get the component.
[color=blue]
> Look to see if the specified classid is registered?[/color]

Yep.
[color=blue]
> If the cab is updated, how does the new package get down to
> the client?[/color]

That's where Version=8,5,0,217 comes in. If it sees a newer version, IE
gets it.
Stephanie Stowe
 
Posts: n/a
#3: Jul 21 '05

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



"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:C4C233F2-C4D7-4A12-9BFD-1ACE7C55D4C1@microsoft.com...[color=blue]
> "Stephanie Stowe" wrote:[color=green]
> > I think I have asked this before. But I cannot see it on Google. I[/color][/color]
cannot[color=blue][color=green]
> > wrap m,y brain around this.
> >
> > There is an ASP page. It refers to an ActiveX control which is delivered[/color][/color]
to[color=blue][color=green]
> > 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.[/color][/color]
IE[color=blue][color=green]
> > somehow knows to find the necessary component(s) and if not found[/color][/color]
download[color=blue][color=green]
> > from the server. How does it do this?[/color]
>
> codebase tells IE where to get the component.
>[color=green]
> > Look to see if the specified classid is registered?[/color]
>
> Yep.
>[color=green]
> > If the cab is updated, how does the new package get down to
> > the client?[/color]
>
> That's where Version=8,5,0,217 comes in. If it sees a newer version, IE
> gets it.[/color]

Sweet. Thanks.


Closed Thread