473,654 Members | 3,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="Clien tBin/activexviewer.c ab#Version=8,5, 0,217" VIEWASTEXT>
<PARAM NAME="EnableRef reshButton" VALUE=0>
<PARAM NAME="EnableGro upTree" VALUE=1>
<PARAM NAME="DisplayGr oupTree" VALUE=1>
<PARAM NAME="EnablePri ntButton" VALUE=1>
<PARAM NAME="EnableExp ortButton" VALUE=1>
<PARAM NAME="EnableDri llDown" VALUE=1>
<PARAM NAME="EnableSea rchControl" VALUE=1>
<PARAM NAME="EnableAni mationControl" VALUE=1>
<PARAM NAME="EnableZoo mControl" 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
2 5770
"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="Clien tBin/activexviewer.c ab#Version=8,5, 0,217" VIEWASTEXT>
<PARAM NAME="EnableRef reshButton" VALUE=0>
<PARAM NAME="EnableGro upTree" VALUE=1>
<PARAM NAME="DisplayGr oupTree" VALUE=1>
<PARAM NAME="EnablePri ntButton" VALUE=1>
<PARAM NAME="EnableExp ortButton" VALUE=1>
<PARAM NAME="EnableDri llDown" VALUE=1>
<PARAM NAME="EnableSea rchControl" VALUE=1>
<PARAM NAME="EnableAni mationControl" VALUE=1>
<PARAM NAME="EnableZoo mControl" 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,2 17 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******** *************** ***********@mic rosoft.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="Clien tBin/activexviewer.c ab#Version=8,5, 0,217" VIEWASTEXT>
<PARAM NAME="EnableRef reshButton" VALUE=0>
<PARAM NAME="EnableGro upTree" VALUE=1>
<PARAM NAME="DisplayGr oupTree" VALUE=1>
<PARAM NAME="EnablePri ntButton" VALUE=1>
<PARAM NAME="EnableExp ortButton" VALUE=1>
<PARAM NAME="EnableDri llDown" VALUE=1>
<PARAM NAME="EnableSea rchControl" VALUE=1>
<PARAM NAME="EnableAni mationControl" VALUE=1>
<PARAM NAME="EnableZoo mControl" 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,2 17 comes in. If it sees a newer version, IE
gets it.


Sweet. Thanks.
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5926
by: Chaduke | last post by:
I wrote a simple client/server chat program and the client runs as an activex control within an asp page. I have the users logging into the page using widows authentication and I'm using Request.ServerVariables("AUTH_USER") to get the users name. I'd like to pass this name to the activex chat client thru the page but I'm having some difficulty. I tried passing it as a parameter to the "Tag" property within the <OBJECT> element like...
2
2274
by: Stephanie Stowe | last post by:
Hi. I have never worked on a project that requires IE. So I have done the vast majority of my work server side, delivering cross-browser compliant HTML to the client. I am working on a bug fix to a system that is a munch of ASP, ASP.NET with hard-core client side JScript, VBScript (client-side) and ActiveX controls. The problem in question involves functionality that is common to an ActiveX control delivered to the client. I have never...
1
1842
by: ahmed khairy | last post by:
i've developed a user control using C# and turned it into a dll so that i can use it on the web on an html page. however i need to put that dll in a cab file so that it registers itself correctly on client's PCs. each time i try to register it using regsvr32 it comes up with the error, that the file was loaded but the dllRegisterServer entry point was not found. and on client pcs the cab file is downloaded but is not registered with error...
21
14668
by: Strath-Clyde | last post by:
I'm a die hard c# developer, developing win32 and web based enterprise apps for last few years. The development team I'm on is going down a path I feel is wrong. I scoping out the web to knock their solution but of course, an alternative is needed... 1) We need a complex client application 2) This client app will need to communicate with a local (same box) and remote server 3) It will need to read/write to the local file system
2
1998
by: Shawn | last post by:
Hi. I've never created an ActiveX control before, so I know little about what it is capable of and what its limitations are. My problem is this: I have to create a way to send multiple documents from the web server to a printer on the user's network. The way it works today the user has to manually download each document and send it to his printer, but now they want me to create an automated process. Will I be able to download documents...
4
3420
by: qualitynice | last post by:
HELP :-)... I'm creating an embedded activex object in an asp.net page using the HtmlGenericControl class. I'm doing this because when I tried to embed it directly in the aspx page, it stopped working once I changed it to run on the server (runat="server"). It said the GUID was wrong. I found code showing how to implement an activex control using the HtmlGenericControl class from the code behind file, but I can't figure out how to call...
1
5158
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
0
2085
by: vml | last post by:
Hello, I am trying to mograte from vb 6 to python. I have a very usefull AX control. It can be : -just a bitmap -an active picture where you can plot data and put cursors -a data explorer Those 3 behavior are driven by one property in visual studio when you
3
6380
by: StinkyDuck | last post by:
I'm trying to determine if it is possible to create a ActiveX control which would be deployed through IE that would provide access to the client resources to control devices like barcode readers, printers, scales, mag stripe readers etc. If the user is prompted to download and install the ActiveX object that is ok. Is this possible through .NET and ActiveX delivered via ASP.NET through a browser? Do I need to look at some other...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8707
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8482
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8593
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2714
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1593
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.