473,325 Members | 2,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Check to see if Active X Control is installed and display instructions if needed

I have a 3rd parth ActiveX control that needs to be displayed within a web
page. If the user doesn't have the ActiveX control installed on their
computer I would like to display instructions on installing the ActiveX
control (using IE v6 SP 2)..

I'm having a hard time determining client or server side if the ActiveX
control is installed.

If you have any links or suggestions I would appreciated them.

Thanks.
Nov 19 '05 #1
2 2217
When you use the <object> tag and the browser cannot create the
control, it will instead display any HTML markup you have inside.

For example, try something like:

<OBJECT CLASSID="...">
<SPAN STYLE="color:red">To install this control...
</SPAN>
</OBJECT>

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 15 Mar 2005 12:01:06 -0700, "Jay Douglas"
<ja****************@squarei.com> wrote:
I have a 3rd parth ActiveX control that needs to be displayed within a web
page. If the user doesn't have the ActiveX control installed on their
computer I would like to display instructions on installing the ActiveX
control (using IE v6 SP 2)..

I'm having a hard time determining client or server side if the ActiveX
control is installed.

If you have any links or suggestions I would appreciated them.

Thanks.


Nov 19 '05 #2
You can do something like
if(Request.Browser.ActiveXControl)
{
Response.Write("<script>var obj = server.createobject("customcontrol");
if (obj == null) alert('need control blahble')</script>");

}
roughly
--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
"Jay Douglas" <ja****************@squarei.com> wrote in message
news:Ol*************@tk2msftngp13.phx.gbl...
I have a 3rd parth ActiveX control that needs to be displayed within a web
page. If the user doesn't have the ActiveX control installed on their
computer I would like to display instructions on installing the ActiveX
control (using IE v6 SP 2)..

I'm having a hard time determining client or server side if the ActiveX
control is installed.

If you have any links or suggestions I would appreciated them.

Thanks.

Nov 19 '05 #3

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

Similar topics

2
by: Paul T | last post by:
Hi, I am new with Active X control With VB.I am using VB to create a small application(client-server) to read commPort and It works fine.But, when I create Application with Active X control ,It...
3
by: Hank | last post by:
On one of my forms I display a histogram representing the status of jobs in our factory. It's configured as a stacked bar which I create using labels of different background colors. 75 labels are...
0
by: Kannan | last post by:
My application is an MFC application but since MFC is essentially a Object Oriented wrapper for Win32 I am taking the liberty to post my question here. I also must confess that I am not an Active X...
3
by: VMI | last post by:
I know this may not be the best NG for this, but I feel you guys know more about this than any of the other NGs. I need to build several simple reports (over 50 of them and they get their data...
1
by: scprosportsman | last post by:
Please help guys, i am trying to set up a database here at work and im fairly new to access in terms of writing functions and queries and stuff. I have 2 different places on my design that will...
0
by: Chung Leong | last post by:
In this brief tutorial I'll describe how you retrieve information from an Active Directory through the OLE-DB extension. While it is possible to use the LDAP extension to achieve the same goal, as...
9
by: davids58 | last post by:
I installed Apache 2.2.3 per the instructions in the book I'm reading 'AJAX and PHP' by Darie et al. After installation, I confirmed that the server was working. I then installed MySQL and PHP....
2
by: Scott Gravenhorst | last post by:
I recently (within 30 days) downloaded and installed VB 2005 Express. I like it a whole lot... but: I have been trying to work with the WebBrowser control to display a small amount of help text...
3
by: GeoffreyD | last post by:
Hi I installed the Ajax Control Toolkit according to the instructions, and added the controls to my toolbox. However, when I drag a control onto my aspx page, it reads something like:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.