PDA

Click to See Complete Forum and Search --> : Error Registering DBGrid32.ocx


spelark
Feb 1st, 2000, 07:45 PM
I have developed an application in VB6 (converted from VB4). DBGrid32.ocx is required for the application, but when I try to install to another computer, using the pakaging and deployment wizard, I get "Error registering DBGrid32.ocx". When I try to manually register using regsvr32.exe I get a LoadLibrary Error 045. This happens on any machine I try to install the program, but the DBGrid32.ocx file registers successfully on my machine and the program runs fine on my development machine only. Can anyone please advise the cause and how to overcome this problem. I didn't have the problem with VB4. I have installed all the default dependancy files, listed by the wizard, but not sure if there is something else I needed to do with the setup package. Thanks for any help - I need to solve this problem urgently.

------------------
Amatuer Pete

spelark
Feb 2nd, 2000, 05:11 PM
I have solved my problem (finally). The dbgrid32.ocx file was corrupted. By replacing this with the dbgrid32.ocx file from DB6 setup disk, the file now registers okay. Should have thought of doing that in the first place!