Solved

Check if ActiveX Control is installed

Posted on 1998-08-25
14
791 Views
Last Modified: 2010-04-04
How do I check if a given ActiveX control (IE4) is installed on a users computer?
0
Comment
Question by:BlackMan
  • 8
  • 6
14 Comments
 
LVL 5

Expert Comment

by:inter
ID: 1337659
We should first check the key
My Computer\HKEY_CLASSES_ROOT\CLDID\{-here should be the GUID of IE40 which I do not know, but you may check it if you have IE4 installed}
if this key is present in registry then we may check the actual OCX file for making sure that it is installed.
We can do these programatically by using
TRegistry.KeyExists and FileExists functions
Regards, Igor
0
 
LVL 7

Author Comment

by:BlackMan
ID: 1337660
Do you know if the Reg Key the same on Win95/Win98 and NT?
0
 
LVL 5

Expert Comment

by:inter
ID: 1337661
I think it is, but i do not know. Actually I use netscape products and avoid using IE on NT.
0
 
LVL 7

Author Comment

by:BlackMan
ID: 1337662
Can you interface Netscape as an ActiveX? Or imbed it on you own Delphi form in any other way?
0
 
LVL 5

Expert Comment

by:inter
ID: 1337663
Hi,
Netscape has its own COM(OLE) interface, so you can even browse something at the background. Although it is not seen in the OLE list the class name of the browser is

Netscape.Network.1

Any way what do you want to do? A browser? or backrground processing?
Regards, Igor
0
 
LVL 5

Expert Comment

by:inter
ID: 1337664
Actually,
I have get the info and programmed starting with the info at
http://www.zdnet.com/wsources/content/960717/taskbar.html
Regards, Igor
0
 
LVL 7

Author Comment

by:BlackMan
ID: 1337665
I'm makeing a application based on a ISAPI extenstion and I want to give the users an option to preview the data, they has submittet to the application.
Do you have an example of using Netscape on a Delphi form (how to call Navigate funtion and so on)? Or do you know where to get information about it?
(Of course, I'll give you more that 50 points for that :-)
If you want to email me directly, you can grab my email addr. from the Shared Effort page..
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 5

Expert Comment

by:inter
ID: 1337666
I try to find my code on embedding netscape, by this time you man look the URL above...
;-)
0
 
LVL 7

Author Comment

by:BlackMan
ID: 1337667
Thanks.. If Netscape is not installed as an ActiveX, how do I check if it is installed on the users computer? (Btw., I used your solution about checking Registry, works fine..)
0
 
LVL 5

Expert Comment

by:inter
ID: 1337668
You may just try to create the object in a
try
except
end;
close and see if it is available(hey man! why did not I think before this is easier with IE4 also if you know the name of the object!)
Regards, Igor
0
 
LVL 5

Expert Comment

by:inter
ID: 1337669
You may just try to create the object in a
try
except
end;
close and see if it is available(hey man! why did not I think before this is easier with IE4 also if you know the name of the object!)
Regards, Igor
0
 
LVL 7

Author Comment

by:BlackMan
ID: 1337670
That was the solution I used first, but I like the idea with checking for a control better..
0
 
LVL 7

Author Comment

by:BlackMan
ID: 1337671
Inter,

I've solved my problem, please post your first comment as an answer and I'll grade you...
0
 
LVL 5

Accepted Solution

by:
inter earned 50 total points
ID: 1337672
We should first check the key
My Computer\HKEY_CLASSES_ROOT\CLDID\{-here should be the GUID of IE40 which I do not know, but you may check it if you have IE4 installed}  if this key is present in registry then we may check the actual OCX file for making sure that it is   installed.
We can do these programatically by using
    TRegistry.KeyExists and FileExists functions
Regards, Igor
(Thanks friend, how about netscape OLE bussiness, it the link be useful?)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
loading dll from external path 1 209
Convert Jpg /PNG To GIF 5 117
Adoquery sql  left join does not work 25 80
update joined tables 2 24
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now