Prev: Non-programmer - trying to get VB 6.0 installed on a Vista machine
Next: Automate Any Email Client
From: John on 5 Jun 2008 04:01 I was running VB5 under XP and my computer was giving trouble so I bought a new computer. On the new computer I installed VB5 under the XP Pro operating system and now several of my projects will not run in development mode. When I try to run these programs, I get the error message COMDLG32 .OCX could not be loaded continue loading project ? I tried registering the DLL by running regsvr32 COMDLG32.OCX and it said it registered. Also tried running VB5cli.exe which produced Vbcmpfix.exe which ran OK. I cannot find any solution on the MS Knowledge Base or Download sites. Any suggestions would be appreciated. John
From: Auric__ on 5 Jun 2008 13:48 On Thu, 05 Jun 2008 08:01:51 GMT, wrote: > I was running VB5 under XP and my computer was giving trouble so I > bought a new computer. > > On the new computer I installed VB5 under the XP Pro operating system > and now several of my projects will not run in development mode. > > When I try to run these programs, I get the error message > > COMDLG32 .OCX could not be loaded > continue loading project ? > > I tried registering the DLL by running regsvr32 COMDLG32.OCX > and it said it registered. > > Also tried running VB5cli.exe which produced Vbcmpfix.exe which ran > OK. > > I cannot find any solution on the MS Knowledge Base or Download sites. > > Any suggestions would be appreciated. Try unregistering it then reregistering. regsvr32 /u comdlg32.ocx regsvr32 comdlg32.ocx -- - How did you get here? - I flew. These wings aren't just for show, you know.
From: BeastFish on 6 Jun 2008 01:53 Does the Windows directory on the new computer have a different name than on the old one (ie, C:\Windows - C:\WinNT)? Or perhaps on the old box the ..vbp's were referencing a copy of the control in another directory? Open up one of the questionable .VBP files in Notepad and see what path the control is referenced to. <John> wrote in message news:ne6f44pb2ln3p010thdli7h0cqeshcl75d(a)4ax.com... > I was running VB5 under XP and my computer was giving trouble so I > bought a new computer. > > On the new computer I installed VB5 under the XP Pro operating system > and now several of my projects will not run in development mode. > > When I try to run these programs, I get the error message > > COMDLG32 .OCX could not be loaded > continue loading project ? > > I tried registering the DLL by running regsvr32 COMDLG32.OCX > and it said it registered. > > Also tried running VB5cli.exe which produced Vbcmpfix.exe which ran > OK. > > I cannot find any solution on the MS Knowledge Base or Download sites. > > Any suggestions would be appreciated. > > John
From: John on 7 Jun 2008 21:20 Thankyou Auric for the suggestion. I tried this and it said it successfully deregistered and then re registered but the program still would not load. When I tried again to load the program, I got a message: "Error during load Refer to C;\Program Files\DevStudio\Projects\Mlotto\frmMain.log for details" Inspection of the log showed: "Line 122: Class MSComDlg.CommonDialog of Control dlgComonDialog was not a loaded control class.:" I am not knowledgable enough to understand what this means ! I am still fiddling, and have noticed a few differences between progam files in the two computers. I have a feeling that there was one or two service packs for VB5 which I downloaded and installed in the past, but I cannot seem to find them. Regards John On Thu, 5 Jun 2008 17:48:01 +0000 (UTC), "Auric__" <not.my.real(a)email.address> wrote: >On Thu, 05 Jun 2008 08:01:51 GMT, wrote: > >> I was running VB5 under XP and my computer was giving trouble so I >> bought a new computer. >> >> On the new computer I installed VB5 under the XP Pro operating system >> and now several of my projects will not run in development mode. >> >> When I try to run these programs, I get the error message >> >> COMDLG32 .OCX could not be loaded >> continue loading project ? >> >> I tried registering the DLL by running regsvr32 COMDLG32.OCX >> and it said it registered. >> >> Also tried running VB5cli.exe which produced Vbcmpfix.exe which ran >> OK. >> >> I cannot find any solution on the MS Knowledge Base or Download sites. >> >> Any suggestions would be appreciated. > >Try unregistering it then reregistering. > regsvr32 /u comdlg32.ocx > regsvr32 comdlg32.ocx
From: John on 7 Jun 2008 21:54 Thank you Beastfish for the suggestions. The directory names on the two computers appear to be the same. One diffence is that whereas in the old puter I had C:\Documents and Settings\User I now have C:\Documents and Settings\John Another difference is that I have Mozilla Firefox on the new puter and not on the old. I cannot see that these would be causing the problems. The VBP files in both puters appear to be identical and show the same modification dates of 23 Feb 2005. They show: Type=Exe Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\WINDOWS\system32\stdole2.tlb#OLE Automation Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; COMDLG32.OCX Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0; comctl32.ocx Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; MSFLXGRD.OCX Module=MLotto1; MLotto1.bas Form=frmMain.frm etc etc The stdole2.tbl and stdole32.tbl files in the old puter are dated 29/08/2002, whereas in the new puter they are dated 23/08/2001 Strange that the files in the old puter appear to be a later version. My knowledge is limited. I understand dll's but do not know what ocx or oca files are. I notice that the comdlg32.oca files in the VB directory in both puters are dated 2/04/2008. I wonder if this is when I installed internet explorer V7 ? Any further suggestions woulf be gratefully appreciated. John On Fri, 6 Jun 2008 01:53:30 -0400, "BeastFish" <no(a)spam.com> wrote: >Does the Windows directory on the new computer have a different name than on >the old one (ie, C:\Windows - C:\WinNT)? Or perhaps on the old box the >.vbp's were referencing a copy of the control in another directory? > >Open up one of the questionable .VBP files in Notepad and see what path the >control is referenced to. > > > ><John> wrote in message news:ne6f44pb2ln3p010thdli7h0cqeshcl75d(a)4ax.com... >> I was running VB5 under XP and my computer was giving trouble so I >> bought a new computer. >> >> On the new computer I installed VB5 under the XP Pro operating system >> and now several of my projects will not run in development mode. >> >> When I try to run these programs, I get the error message >> >> COMDLG32 .OCX could not be loaded >> continue loading project ? >> >> I tried registering the DLL by running regsvr32 COMDLG32.OCX >> and it said it registered. >> >> Also tried running VB5cli.exe which produced Vbcmpfix.exe which ran >> OK. >> >> I cannot find any solution on the MS Knowledge Base or Download sites. >> >> Any suggestions would be appreciated. >> >> John
|
Next
|
Last
Pages: 1 2 3 Prev: Non-programmer - trying to get VB 6.0 installed on a Vista machine Next: Automate Any Email Client |