>>>I am new at this! I created a simple ActiveX wiht VB5 so I can use it in VFP. I used InstallSheild to create a install disk with my OCX on it.
>>>
>>>When I install the OCX on a machine that do not have VB run time I get a erreur. Do I need VB 5 runtime to install a VB5 OCX?
>>
>>Can you specify the error? Are you sure the installation was done ok and the ActiveX registered?
>With INstallSheild or Regsrv32.exe I get the error "The control fail to register" error = a address in memory ex:X0004
Try this:
Open the command window
c:\windows\regsvr32.exe c:\windows\system\olepro32.dll
That should display a dialog indicating the success of the registration
c:\windows\regsvr32.exe ...yourocxinafullpathmode
I had to register olepro32.dll once because my OCX was not able to register.
The registration problem has nothing to do with VB. You don't need the runtime version.
Maybe there is something in the design of the control so it can't register.