Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Win32API to install (and register?) ActiveX Contro
Message
 
À
16/06/2000 14:54:46
Jared Anderson
Marketing Support Solutions, Inc.
Forest, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00381596
Message ID:
00381608
Vues:
15
>Hello.
>
>I've been doing a lot of work with the TreeView and ImageList controls as part of our application, and (of course) we therefore need to have them installed and registered on our clients' machines.
>
>We currently are NOT using the Setup Wizard to put together an actual installation program for our application (we do updates directly via a direct connection at present); most of the threads I've seen dealing w/ ActiveX installs have mentioned the Setup Wizard. --> "I repeat ... we are NOT using it" ;-) [And it's not my call, so please don't just tell me "you really SHOULD be" ;-PP ;-) ]
>
>What I am hoping is that there is a way to use Win32API to install (and register?) these ActiveX controls on the clients' machines, much as we did with some very specialized fonts not long ago.
>
>Does anyone have any insight on this? My searches of UT and MSDN have not turned up much. If anyone has a good reference or bit of advice on this, I'd surely appreciate it.
>
>Thanks so much!
>
>Jared M Anderson
>Interactive Data Systems, Inc.
>janderson@idevgroup.com

Jared,

I don't know if this will apply or even help. Basically, it's a SWAG. Some ActiveX controls are self-registering. You can tell by checking the property dialog's version tab and look for OLESelfRegister. If a control is, you may be able to register it by call the control's DllRegisterServer function. The declaration would be:
DECLARE INTEGER DllRegisterServer IN (lcfile)
where lcfile is the fully qualified file name of the control. If it returns 0, the operation succeeded.

If this doesn't work, then I can't be of any further help with this.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform