General information
Category:
ActiveX controls in VFP
Title:
Registreing RichTX32.OCX
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only