Re-register DBGRID32.ocx file from an elevated command prompt
1.Click on Start; in the start search type cmd.
2.Right click on cmd.exe and choose to “Run as administrator”.
3.Type the following command and hit Enter after each one:
regsvr32 /u DBGRID32.ocx
regsvr32 /i DBGRID32.ocx
4.Close the command prompt and then try to run the program.