Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registreing RichTX32.OCX
Message
De
14/02/2002 04:57:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Registreing RichTX32.OCX
Divers
Thread ID:
00619891
Message ID:
00619891
Vues:
46
Is there a way to recognize (in post .EXE in install procedure) in which folder is installed program?
I have program which is distribuited on CD with severelal ActiveX controls. One of them is RichTx32.OCX. All ActiveX are installed properly but RichTx32.OCX couldn't register on Windows 2000. Install procedure shoul'd be automatized so I wanna copy this OCX in desired folder because when I do this everything works fine.

I tried manually to register this OCX in post .EXE by calling this function but without result

FUNCTION RegisterOLEControl

LPARAMETERS tcFileName
LOCAL llSuccess

llSuccess = .f.

IF FILE( tcFileName )
DECLARE INTEGER DllRegisterServer IN (tcFileName) AS __DllRegisterServer__
llSuccess = ( __DllRegisterServer__() = 0 )
ENDIF


Maybe solution is code in post .EXE such

run /n7 regsvr32 richtx32.OCX

Second question is how to automatize font instalation procedure in post .EXE on platform different of Win 98? Simple copy to font folder doesn't work.

Thanks in advance

P.S. It's urgent.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform