Article ID: 146219
Article Last Modified on 2/24/2005
Regsvr32 [/u] [/s] <OCX File Name>Note /u means Unregister the .ocx file.
Regsvr32 /s MSMAPI32.OCXTo implement this example in a Visual FoxPro application, use the RUN command as follows:
RUN /N Regsvr32 /s MSMAPI32.OCXNote If an error occurs when registering a control, do the following:
mfc30.dll olepro32.dll msvcrt20.dll
mfc40.dll msvcrt40.dll
If one of these files is missing, you may receive the following error
message:
Keywords: kbhowto kbinterop kbautomation KB146219