For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > December 2005 > How to detect if an ActiveX is registered ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to detect if an ActiveX is registered ?
Guy DETIENNE

2005-12-14, 7:55 am

Hi everybody !

The question is in the subject ;O)
"How to detect if an ActiveX component (not a DLL) is registered on a local
machine ?"
I sought the solution with Google, but any result.

Does anybody have an idea ?

Thanks.

Guy




Guy DETIENNE

2005-12-14, 7:55 am

Ok. I've found. Just using CreatObject("MyComponentClass") and checking
the error



"Guy DETIENNE" <gd@NOSPAM.tchao.be> a écrit dans le message de
news:uQvrVeKAGHA.3864@TK2MSFTNGP12.phx.gbl...
> Hi everybody !
>
> The question is in the subject ;O)
> "How to detect if an ActiveX component (not a DLL) is registered on a

local
> machine ?"
> I sought the solution with Google, but any result.
>
> Does anybody have an idea ?
>
> Thanks.
>
> Guy
>
>
>
>



Larry Rebich

2005-12-14, 6:57 pm

Guy:

Some years ago I wrote a tip of the month that I call 'Get Fully Qualified
File Name using TypeLib Info'. Link to http://www.buygold.net/tips then look
for the January 2000 tip of the month. A sample program is provided. From
the tip's intro:

Some years ago I wrote routines to get the fully qualified file name of
registered objects using its GUID. I have noticed a frequent request in
various news groups for information on how to do this. So I revisited the
code and updated it. It becomes the tip-of-the-month. Some of the updated
code [file version info] was written by Herman Liu and downloaded from
FreeVBCode.com. Thanks Herman and FreeVBCode

Cheers,
Larry Rebich

More tips link to:
http://www.buygold.net/tips

Please:
No personal e-mail questions :-)

"Guy DETIENNE" <gd@NOSPAM.tchao.be> wrote in message
news:uQvrVeKAGHA.3864@TK2MSFTNGP12.phx.gbl...
> Hi everybody !
>
> The question is in the subject ;O)
> "How to detect if an ActiveX component (not a DLL) is registered on a
> local
> machine ?"
> I sought the solution with Google, but any result.
>
> Does anybody have an idea ?
>
> Thanks.
>
> Guy
>
>
>
>



Guy DETIENNE

2005-12-14, 6:57 pm

Thanks for this very useful link.

Guy

"Larry Rebich" <lrebich@earthlink.net> a écrit dans le message de
news:BtXnf.4803$ka.820@tornado.socal.rr.com...
> Guy:
>
> Some years ago I wrote a tip of the month that I call 'Get Fully Qualified
> File Name using TypeLib Info'. Link to http://www.buygold.net/tips then

look
> for the January 2000 tip of the month. A sample program is provided. From
> the tip's intro:
>
> Some years ago I wrote routines to get the fully qualified file name of
> registered objects using its GUID. I have noticed a frequent request in
> various news groups for information on how to do this. So I revisited the
> code and updated it. It becomes the tip-of-the-month. Some of the updated
> code [file version info] was written by Herman Liu and downloaded from
> FreeVBCode.com. Thanks Herman and FreeVBCode
>
> Cheers,
> Larry Rebich
>
> More tips link to:
> http://www.buygold.net/tips
>
> Please:
> No personal e-mail questions :-)
>
> "Guy DETIENNE" <gd@NOSPAM.tchao.be> wrote in message
> news:uQvrVeKAGHA.3864@TK2MSFTNGP12.phx.gbl...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com