>
>My routine assumes that all required OCX's (or DLL's) are correctly installed. However, you could
include these files in your Exe and (if not already installed - or uninstalled) then copy them to any suitable folder, then conditionally register them programmatically using:
RUN REGSVR32 .../SomePath/mswinsck.ocx /s
The /s suppresses any message boxes.
That is what I am doing, with the exception that I am not packaging the ocx in the exe, I just placed it in the application directory with the exe. Take a look a MS Knowledge Base Q146219...this is what I am struggling with. My routine ensures that the five required dll files are installed on the client machine but I still receive the error when registering the file.
Wes