Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registreing RichTX32.OCX
Message
From
14/02/2002 04:57:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Registreing RichTX32.OCX
Miscellaneous
Thread ID:
00619891
Message ID:
00619891
Views:
43
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.
Next
Reply
Map
View

Click here to load this message in the networking platform