To register an OCX file to run a weather program, open the Run menu from Start, type regsvr32 followed by the file path of the COMDLG32.OCX file, and click OK. Upon successful registration, a confirmation message will appear.Read less