Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to register an OCX file?
Message
De
22/05/1997 10:57:01
 
 
À
21/05/1997 21:25:44
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033210
Message ID:
00033272
Vues:
45
>I'm now trying to use another Software to generate installation disks, but I couldn't implement the ocx files registry.
>
>Looking at some previous messages, I have found out something about REGSRV32. Is that the answer? If so, where should be located this file? And how exactly should I use it?
>
>BTW, is there any tip to check via program if a specific OCX file is registered or not (it could avoid some GPFs...)

If you're not using a third part installer that offers support for self-registering .ocx files, bet one, and ditch the product you're using. You're asking for more trouble than its worth otherwise.

If you insist on doing otherwise, a call to REGSRV32.EXE *may* do the trick, depending on when it is called. The syntax is simply

regsrv c:\windows\system\myocxfile.ocx

(you did copy the .ocx to WinSys, didn't you?)

However, there are a number of dangers to this, and I *strongly* recommend using a third-party installer that can handle this work, instead.

You can check search the Registry for references to your .ocx, simply by searching on the file name (it's the cheater's method, but it works). Make sure you make no changes to the Registry when you do this - otherwise your machine may become UNBOOTABLE.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform