Visual Studio 6 Windows Common Controls 6.0 (sp6) Windows 7, 64位。

时间:2021-09-17 16:34:00

I was asked to help work on a legacy vb6 application for someone, so I decided to toss Visual Studio 6 on my Windows 7 x64 laptop following this guide.

我被要求帮助为某人做一个遗留的vb6应用程序,所以我决定在我的windows7 x64笔记本电脑上使用Visual Studio 6。

It installed fine, and from I can see everything is working except for Microsoft Windows Common Controls 6.0 (sp6). Microsoft Windows Common Controls-2 6.0 (sp6), Microsoft Windows Common Controls 5.0 (sp2), etc. all work just fine. However, when I try to add the Microsoft Windows Common Controls 6.0 (sp6) component I get the error:

它安装得很好,从我可以看到除了微软Windows通用控制6.0 (sp6)之外,一切都在正常运行。微软Windows常用控件-2 6.0 (sp6),微软Windows常用控件5.0 (sp2)等一切正常工作。但是,当我尝试添加Microsoft Windows Common Controls 6.0 (sp6)组件时,我得到了错误:

'' could not be loaded

I could not add an image, so I have uploaded a screen shot to here for anyone wanting to see it exactly:

我不能添加图片,所以我上传了一个截图给任何想看它的人:

Visual Studio 6 Windows Common Controls 6.0 (sp6) Windows 7, 64位。

I have tried registering/un-registering/re-registering MXCOMCTL.OCX, MSCOMCT2.OCX, msdatsrc.tlb all with no success. I have also uninstalled a known security update that may have caused issues with Windows Common Controls. I have removed IE11, even though reports state IE11 will not cause issues with MSCOMCTL.OCX the way IE10 did.

我试过注册/取消注册/重新注册MXCOMCTL。OCX,MSCOMCT2。OCX,msdatsrc。tlb没有成功。我还卸载了一个已知的安全更新,这可能会导致Windows公共控件的问题。我已经删除了IE11,尽管报告说IE11不会引起MSCOMCTL的问题。就像IE10所做的那样。

I run VB6.EXE in Windows XP SP3 Compatibility mode. With Disable visual themes, Disable desktop composition, and Disable display scaling on high DPI settings. As well as run it as administrator.

我跑得VB6。EXE在Windows XP SP3兼容模式。使用禁用的视觉主题,禁用桌面组合,并在高DPI设置上禁用显示扩展。以及作为管理员运行它。

I have also attempted to open a previous project that utilizes this control, and it fails during load with the same "blank" error as in the screen shot with the following in the generated error log:

我还尝试打开一个使用此控件的前一个项目,在加载时,它会在生成的错误日志中使用相同的“空白”错误,如在屏幕截图中所示:

Line 35: Class MSComctlLib.ListView of control lvData was not a loaded control class. Line 223: Class MSComctlLib.StatusBar of control Stat was not a loaded control class.

MSComctlLib 35行:类。控制lvData的ListView不是一个装入的控件类。223行:类MSComctlLib。控件的StatusBar不是一个装入的控件类。

So that tells me it isn't a version issue within the .vbp like some suggest (as it happens with new, blank projects as well).

因此,这告诉我,它并不是像一些人建议的那样在.vbp内发行版本(就像在新的空白项目中那样)。

I am at wits end. Apparently people have gotten both VB6 and Windows 7 x64 to work properly (with Windows Common Controls) but NOTHING I have tried alleviates my problem. I am hoping someone here may have run into this, or have some ideas as to what is going on.

我束手无策。显然,人们已经让VB6和Windows 7 x64都能正常工作(使用Windows常用控件),但我没有尝试过缓解我的问题。我希望在座的有人可能遇到过这种情况,或者对发生的事情有一些想法。

10 个解决方案

#1


41  

While waiting for a reply for ideas here, I had decided to try something. I ran regedit as administrator, navigated to the HKEY_CLASSES_ROOT\TypeLib Key and then did a search for "MSCOMCTL.OCX"... I deleted EVERY key that referenced this .ocx file.

在等待答复的时候,我决定尝试一下。我运行regedit作为管理员,导航到HKEY_CLASSES_ROOT\TypeLib键,然后搜索“MSCOMCTL.OCX”……我删除了引用这个.ocx文件的每个键。

After searching the entire registry, deleting what I found, I ran command prompt as administrator. I then navigated to C:\Windows\SysWOW64 and typed the following commands:

在搜索整个注册表之后,删除我找到的内容,我以管理员的身份运行命令提示符。然后我导航到c:) windowssyswow64并输入以下命令:

regsvr32 MSCOMCTL.OCX
regtlib msdatsrc.tlb

Upon registering these two files again, everything is WORKING! I scoured the web for HOURS looking for this solution to no avail. It just so happens I fixed it myself after posting a question here :( Even though Visual Studio 6 is outdated, hopefully this may still help others!

当再次注册这两个文件时,一切都正常了!我在网上搜索了几个小时,寻找这个解决方案,但没有成功。就这样,我在这里发布了一个问题之后,我自己解决了这个问题:(尽管Visual Studio 6已经过时了,希望它还能帮助别人!)

#2


11  

Implementing the two directives already worked for me from within "C:\Windows\SysWOW64"

实现这两个指令已经在“C:\Windows\SysWOW64”中为我工作了。

regsvr32 MSCOMCTL.OCX
regtlib msdatsrc.tlb

It's worth noting that the DOS box should be in Administrator mode. Prior to this, I kept having errors in the vein "Class MSComctlLib.TreeView of control tvTreeView was not a loaded control class" and "Class MSComctlLib.ListView of control lvListView was not a loaded control class".

值得注意的是,DOS框应该处于管理员模式。在此之前,我一直在静脉里犯错误。控制tvTreeView的TreeView并不是一个加载的控件类和类MSComctlLib。控制lvListView的ListView不是一个加载的控件类。

I am also using Visual Studio 6 on 64 bit Windows 7, with SP6 updates. I was driven here due to the same problem. In my case, I did not need to go through the registry.

我还在64位Windows 7上使用Visual Studio 6,使用SP6更新。因为同样的问题,我在这里开车。在我的案例中,我不需要通过注册表。

#3


2  

I was having the same difficulty loading my VB 6 project. Here is a sample error message: "Class MSComctlLib.ProgressBar of control prgExecution was not a loaded control class."

我在加载VB 6项目时遇到了同样的困难。这里有一个示例错误消息:“类MSComctlLib。控制prgExecution的ProgressBar不是一个加载的控件类。

This problem was solved by some Microsoft Magic as follows: I opened the Project Components window in my broken project. I clicked on Browse and found the file MsComctl.ocx. I clicked on OK. VB 6 then got stuck (the application non responsive). After some time, I ended the VB 6 application using the task manager.

这个问题被微软的一些魔术解决了:我打开了项目的组件窗口。我点击了Browse并找到了MsComctl.ocx文件。我点击OK。VB 6被卡住了(应用程序没有响应)。一段时间后,我使用任务管理器结束了VB 6应用程序。

Then, magically, when I opened up my VB 6 project to show my programming friend what a POS this project was, all the controls were back, linked as expected. Somehow, something was registered or fixed.

然后,神奇地,当我打开我的VB 6项目,向我的编程朋友展示这个项目是什么,所有的控制都回来了,正如预期的那样。某种程度上,某种东西是注册或固定的。

#4


1  

Just today I had the (questionable) pleasure to get VB6 code running on Windows / 64 Bit. I did come across this thread, but none of the proposed solutions worked for me. Neither worked adding references using the "Project -> References..." menu.

就在今天,我很高兴地看到VB6代码运行在Windows / 64位上。我确实遇到过这个问题,但是没有一个解决方案适合我。没有使用“Project ->引用…”菜单添加引用。

To get it running, I had to manually modify the VB6 project file (*.vbp). For all the libraries I had load issue with I had to use the following notation to define as reference: Object={Registry Key}#Version#0; LIBRARY.OCX Example: Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0; DBLIST32.OCX

为了让它运行,我必须手动修改VB6项目文件(*.vbp)。对于所有我有装载问题的库,我必须使用下面的符号来定义作为引用:Object={Registry Key}# 0;图书馆。OCX的例子:对象= { faeee763 - 117 - e - 101 - b - 8933 - 08002 - b2f4f5a } # 1.1 # 0;DBLIST32.OCX

I had not to register any of the libraries (using regsvr32), these were all already correctly registered. I guess why my solution works is that if the "object={[...]" notation is used (instead of the "Reference=*\G{[...]" notation) VB Studio is using the Registry Key only and gets rooted to C:\Windows\SysWOW64 while as the other way ends up looking in C:\Windows\System32

我没有注册任何一个库(使用regsvr32),这些都已经正确地注册了。我想我的解决方案是这样的,如果“object={[……使用符号(而不是“Reference=*\G{[…[参考译文]VB Studio只使用注册表键,并将其根指向c:) windowssyswow64,而另一种方式则是查看c:) windowssystem32。

By the way, IE11 is installed. Whether or not this matters, only Bill G might know. My guess is that my solution works regardless which IE is installed. You just might have to unregister and register the missing libraries as mentioned in this thread.

顺便说一下,IE11已经安装好了。不管这事是否重要,只有比尔·G知道。我的猜测是,不管安装哪个IE,我的解决方案都是有效的。您可能需要取消注册和注册这个线程中提到的丢失的库。

Hope that helps anyone who faces similar issues.

希望能帮助那些面临类似问题的人。

#5


1  

I have searched this issue for hours and clicked in hundreds of websites, none of them worked.

我在这个问题上搜索了好几个小时,点击了上百个网站,没有一个是有效的。

My final solution:

我最后的解决方案:

  1. run:cmd
  2. :运行cmd
  3. cd c:\Windows\SysWOW64(locate to the location)
  4. cd c:\Windows\ SysWOW64(定位位置)
  5. regsvr32 MSCOMCTL.OCX
  6. regsvr32 MSCOMCTL.OCX

this solves the first one. For the second one:

这就解决了第一个问题。第二个:

  1. run: cmd
  2. :运行cmd
  3. cd c:\Windows\Microsoft.NET\Framework\v4.0.30319
  4. cd c:\Windows\ Microsoft.NET \ Framework \ v4.0.30319
  5. regtlibv12 msdatsrc.tlb
  6. regtlibv12 msdatsrc.tlb

done.

完成了。

this may not work for everybody (considering the system version reason, etc)

这可能对每个人都不起作用(考虑到系统版本的原因,等等)

#6


0  

SIMPLE SOLUTION

简单的解决方案

  1. Create a new blank project and save it
  2. 创建一个新的空白项目并保存它。
  3. using NOTEPAD open the .VBP of the new project and copy the MSCOMCTL line
  4. 使用NOTEPAD打开新项目的.VBP并复制MSCOMCTL行。
  5. using NOTEPAD open the .VBP file of your project
  6. 使用NOTEPAD打开项目的.VBP文件。
  7. replace the MSCOMCTL line and save it
  8. 替换MSCOMCTL行并保存它。

DONE

完成

good luck

祝你好运

#7


0  

I had the problem whereby VB6 IDE would not load the common controls (Sp6)with VB6 install on W7 64bit, specifically comctrl and msmask. I tried all the solutions proposed using regsrv32 (elevated), edited the registry, changing the version number in the vbp etc as proposed by MS and others. All failed. These solutions worked on my other 2 PCS but not this one. Eventually I removed IE11 and all worked properly afterwards. IE10 had never bene installed on thsi PC - we went straight from IE8 to IE11 and have been forced to backtrack to using IE8.

我遇到了一个问题,VB6 IDE将不会在W7 64位上安装VB6安装的通用控制(Sp6),具体来说是comctrl和msmask。我尝试了使用regsrv32(提升)所建议的所有解决方案,编辑注册表,更改vbp中的版本号等。都失败了。这些解决方案在我的另外两个电脑上,但不是这个。最终,我删除了IE11,之后一切正常。IE10从来没有安装在thsi PC上——我们直接从IE8到IE11,并且*放弃使用IE8。

I have to say the simple solution above does not address the problem which is that the VB6 IDE will not load the common controls (using the Components menu selection under Project) - you get an error saying Object not loaded. So this will happen (and I proved this to myself) on any project, new or old that try to use theose common controls that will not load.

我不得不说上面的简单解决方案没有解决这个问题,即VB6 IDE不会加载通用控件(在项目下使用组件菜单选择)—您会得到一个错误,说对象没有加载。所以这将会发生(我在自己身上证明了这一点),不管是新还是旧的项目,都尝试使用那些不会加载的通用控件。

So my suggestion to anyone who has this problem is to try the manual register solution using regsrv32 route, then the edit the vbp to change the version, and if these fail uninstall IE11 (and defintely IE10). But this may still not be a 100% solution because if your existing project files ".vbp" contain references to the wrong common controls you need to correct that manually - this is where loading a new project, loading the Components you need inside the IDE, then edit the newly create vbp using notepad and copy the version numbers for the common controls to your existing vbp files.

因此,我建议任何有这个问题的人,都是使用regsrv32路径尝试手动注册解决方案,然后编辑vbp来更改版本,如果这些失败卸载了IE11(并定义IE10)。但这可能仍然不是100%的解决方案,因为如果您现有的项目文件”。vbp”包含错误的引用常见的手动控制你需要正确——这就是加载一个新项目,IDE内加载所需要的组件,然后使用记事本编辑新创建vbp并复制版本号为共同控制现有vbp文件。

#8


0  

=> just what jay said just delete those registry entries which are pointing to other paths other than on c:\windows\system32.Those are the culprits of the error.I got those errors on my vb6 IDE and after deleting those anomalous registry entries the problem was fixed. works like a charm.

=> . jay刚才说的只是删除那些指向其他路径的注册表项,而不是c:\windows\system32。这些都是错误的罪魁祸首。我在vb6 IDE上犯了这些错误,在删除了这些异常的注册表项之后,问题就解决了。就像一个魅力。

#9


0  

I believe it may be related to a issue in which Microsoft released a update to the MScomCtlLib which was incorrectly patched by microsoft, causing registry errors.

我认为这可能与微软发布的MScomCtlLib的更新有关,微软错误地修补了MScomCtlLib,导致注册表错误。

I believe if you follow the advice laid out in:

我相信,如果你遵循以下建议:

https://support.microsoft.com/fr-fr/kb/2597986

https://support.microsoft.com/fr-fr/kb/2597986

#10


0  

I get same issue but I was getting error below error when run regsvr32 MSCOMCTL.OCX

我得到了相同的问题,但是在运行regsvr32 MSCOMCTL.OCX时,我的错误是错误的。

The module "MSCOMCTL.OCX" was loaded but the call to DllRegisterServer failed with error code 0x8002801c.

MSCOMCTL模块”。已加载OCX,但对DllRegisterServer的调用失败,错误代码0x8002801c。

When I run CMD.EXE as Administrator, then it solved my issue.

当我运行CMD。作为管理者,它解决了我的问题。

Some Times VB6.EXE also need o run as administrator to access some registry issue.

有时VB6。EXE还需要作为管理员来访问一些注册中心问题。

Good Luck.

祝你好运。

#1


41  

While waiting for a reply for ideas here, I had decided to try something. I ran regedit as administrator, navigated to the HKEY_CLASSES_ROOT\TypeLib Key and then did a search for "MSCOMCTL.OCX"... I deleted EVERY key that referenced this .ocx file.

在等待答复的时候,我决定尝试一下。我运行regedit作为管理员,导航到HKEY_CLASSES_ROOT\TypeLib键,然后搜索“MSCOMCTL.OCX”……我删除了引用这个.ocx文件的每个键。

After searching the entire registry, deleting what I found, I ran command prompt as administrator. I then navigated to C:\Windows\SysWOW64 and typed the following commands:

在搜索整个注册表之后,删除我找到的内容,我以管理员的身份运行命令提示符。然后我导航到c:) windowssyswow64并输入以下命令:

regsvr32 MSCOMCTL.OCX
regtlib msdatsrc.tlb

Upon registering these two files again, everything is WORKING! I scoured the web for HOURS looking for this solution to no avail. It just so happens I fixed it myself after posting a question here :( Even though Visual Studio 6 is outdated, hopefully this may still help others!

当再次注册这两个文件时,一切都正常了!我在网上搜索了几个小时,寻找这个解决方案,但没有成功。就这样,我在这里发布了一个问题之后,我自己解决了这个问题:(尽管Visual Studio 6已经过时了,希望它还能帮助别人!)

#2


11  

Implementing the two directives already worked for me from within "C:\Windows\SysWOW64"

实现这两个指令已经在“C:\Windows\SysWOW64”中为我工作了。

regsvr32 MSCOMCTL.OCX
regtlib msdatsrc.tlb

It's worth noting that the DOS box should be in Administrator mode. Prior to this, I kept having errors in the vein "Class MSComctlLib.TreeView of control tvTreeView was not a loaded control class" and "Class MSComctlLib.ListView of control lvListView was not a loaded control class".

值得注意的是,DOS框应该处于管理员模式。在此之前,我一直在静脉里犯错误。控制tvTreeView的TreeView并不是一个加载的控件类和类MSComctlLib。控制lvListView的ListView不是一个加载的控件类。

I am also using Visual Studio 6 on 64 bit Windows 7, with SP6 updates. I was driven here due to the same problem. In my case, I did not need to go through the registry.

我还在64位Windows 7上使用Visual Studio 6,使用SP6更新。因为同样的问题,我在这里开车。在我的案例中,我不需要通过注册表。

#3


2  

I was having the same difficulty loading my VB 6 project. Here is a sample error message: "Class MSComctlLib.ProgressBar of control prgExecution was not a loaded control class."

我在加载VB 6项目时遇到了同样的困难。这里有一个示例错误消息:“类MSComctlLib。控制prgExecution的ProgressBar不是一个加载的控件类。

This problem was solved by some Microsoft Magic as follows: I opened the Project Components window in my broken project. I clicked on Browse and found the file MsComctl.ocx. I clicked on OK. VB 6 then got stuck (the application non responsive). After some time, I ended the VB 6 application using the task manager.

这个问题被微软的一些魔术解决了:我打开了项目的组件窗口。我点击了Browse并找到了MsComctl.ocx文件。我点击OK。VB 6被卡住了(应用程序没有响应)。一段时间后,我使用任务管理器结束了VB 6应用程序。

Then, magically, when I opened up my VB 6 project to show my programming friend what a POS this project was, all the controls were back, linked as expected. Somehow, something was registered or fixed.

然后,神奇地,当我打开我的VB 6项目,向我的编程朋友展示这个项目是什么,所有的控制都回来了,正如预期的那样。某种程度上,某种东西是注册或固定的。

#4


1  

Just today I had the (questionable) pleasure to get VB6 code running on Windows / 64 Bit. I did come across this thread, but none of the proposed solutions worked for me. Neither worked adding references using the "Project -> References..." menu.

就在今天,我很高兴地看到VB6代码运行在Windows / 64位上。我确实遇到过这个问题,但是没有一个解决方案适合我。没有使用“Project ->引用…”菜单添加引用。

To get it running, I had to manually modify the VB6 project file (*.vbp). For all the libraries I had load issue with I had to use the following notation to define as reference: Object={Registry Key}#Version#0; LIBRARY.OCX Example: Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0; DBLIST32.OCX

为了让它运行,我必须手动修改VB6项目文件(*.vbp)。对于所有我有装载问题的库,我必须使用下面的符号来定义作为引用:Object={Registry Key}# 0;图书馆。OCX的例子:对象= { faeee763 - 117 - e - 101 - b - 8933 - 08002 - b2f4f5a } # 1.1 # 0;DBLIST32.OCX

I had not to register any of the libraries (using regsvr32), these were all already correctly registered. I guess why my solution works is that if the "object={[...]" notation is used (instead of the "Reference=*\G{[...]" notation) VB Studio is using the Registry Key only and gets rooted to C:\Windows\SysWOW64 while as the other way ends up looking in C:\Windows\System32

我没有注册任何一个库(使用regsvr32),这些都已经正确地注册了。我想我的解决方案是这样的,如果“object={[……使用符号(而不是“Reference=*\G{[…[参考译文]VB Studio只使用注册表键,并将其根指向c:) windowssyswow64,而另一种方式则是查看c:) windowssystem32。

By the way, IE11 is installed. Whether or not this matters, only Bill G might know. My guess is that my solution works regardless which IE is installed. You just might have to unregister and register the missing libraries as mentioned in this thread.

顺便说一下,IE11已经安装好了。不管这事是否重要,只有比尔·G知道。我的猜测是,不管安装哪个IE,我的解决方案都是有效的。您可能需要取消注册和注册这个线程中提到的丢失的库。

Hope that helps anyone who faces similar issues.

希望能帮助那些面临类似问题的人。

#5


1  

I have searched this issue for hours and clicked in hundreds of websites, none of them worked.

我在这个问题上搜索了好几个小时,点击了上百个网站,没有一个是有效的。

My final solution:

我最后的解决方案:

  1. run:cmd
  2. :运行cmd
  3. cd c:\Windows\SysWOW64(locate to the location)
  4. cd c:\Windows\ SysWOW64(定位位置)
  5. regsvr32 MSCOMCTL.OCX
  6. regsvr32 MSCOMCTL.OCX

this solves the first one. For the second one:

这就解决了第一个问题。第二个:

  1. run: cmd
  2. :运行cmd
  3. cd c:\Windows\Microsoft.NET\Framework\v4.0.30319
  4. cd c:\Windows\ Microsoft.NET \ Framework \ v4.0.30319
  5. regtlibv12 msdatsrc.tlb
  6. regtlibv12 msdatsrc.tlb

done.

完成了。

this may not work for everybody (considering the system version reason, etc)

这可能对每个人都不起作用(考虑到系统版本的原因,等等)

#6


0  

SIMPLE SOLUTION

简单的解决方案

  1. Create a new blank project and save it
  2. 创建一个新的空白项目并保存它。
  3. using NOTEPAD open the .VBP of the new project and copy the MSCOMCTL line
  4. 使用NOTEPAD打开新项目的.VBP并复制MSCOMCTL行。
  5. using NOTEPAD open the .VBP file of your project
  6. 使用NOTEPAD打开项目的.VBP文件。
  7. replace the MSCOMCTL line and save it
  8. 替换MSCOMCTL行并保存它。

DONE

完成

good luck

祝你好运

#7


0  

I had the problem whereby VB6 IDE would not load the common controls (Sp6)with VB6 install on W7 64bit, specifically comctrl and msmask. I tried all the solutions proposed using regsrv32 (elevated), edited the registry, changing the version number in the vbp etc as proposed by MS and others. All failed. These solutions worked on my other 2 PCS but not this one. Eventually I removed IE11 and all worked properly afterwards. IE10 had never bene installed on thsi PC - we went straight from IE8 to IE11 and have been forced to backtrack to using IE8.

我遇到了一个问题,VB6 IDE将不会在W7 64位上安装VB6安装的通用控制(Sp6),具体来说是comctrl和msmask。我尝试了使用regsrv32(提升)所建议的所有解决方案,编辑注册表,更改vbp中的版本号等。都失败了。这些解决方案在我的另外两个电脑上,但不是这个。最终,我删除了IE11,之后一切正常。IE10从来没有安装在thsi PC上——我们直接从IE8到IE11,并且*放弃使用IE8。

I have to say the simple solution above does not address the problem which is that the VB6 IDE will not load the common controls (using the Components menu selection under Project) - you get an error saying Object not loaded. So this will happen (and I proved this to myself) on any project, new or old that try to use theose common controls that will not load.

我不得不说上面的简单解决方案没有解决这个问题,即VB6 IDE不会加载通用控件(在项目下使用组件菜单选择)—您会得到一个错误,说对象没有加载。所以这将会发生(我在自己身上证明了这一点),不管是新还是旧的项目,都尝试使用那些不会加载的通用控件。

So my suggestion to anyone who has this problem is to try the manual register solution using regsrv32 route, then the edit the vbp to change the version, and if these fail uninstall IE11 (and defintely IE10). But this may still not be a 100% solution because if your existing project files ".vbp" contain references to the wrong common controls you need to correct that manually - this is where loading a new project, loading the Components you need inside the IDE, then edit the newly create vbp using notepad and copy the version numbers for the common controls to your existing vbp files.

因此,我建议任何有这个问题的人,都是使用regsrv32路径尝试手动注册解决方案,然后编辑vbp来更改版本,如果这些失败卸载了IE11(并定义IE10)。但这可能仍然不是100%的解决方案,因为如果您现有的项目文件”。vbp”包含错误的引用常见的手动控制你需要正确——这就是加载一个新项目,IDE内加载所需要的组件,然后使用记事本编辑新创建vbp并复制版本号为共同控制现有vbp文件。

#8


0  

=> just what jay said just delete those registry entries which are pointing to other paths other than on c:\windows\system32.Those are the culprits of the error.I got those errors on my vb6 IDE and after deleting those anomalous registry entries the problem was fixed. works like a charm.

=> . jay刚才说的只是删除那些指向其他路径的注册表项,而不是c:\windows\system32。这些都是错误的罪魁祸首。我在vb6 IDE上犯了这些错误,在删除了这些异常的注册表项之后,问题就解决了。就像一个魅力。

#9


0  

I believe it may be related to a issue in which Microsoft released a update to the MScomCtlLib which was incorrectly patched by microsoft, causing registry errors.

我认为这可能与微软发布的MScomCtlLib的更新有关,微软错误地修补了MScomCtlLib,导致注册表错误。

I believe if you follow the advice laid out in:

我相信,如果你遵循以下建议:

https://support.microsoft.com/fr-fr/kb/2597986

https://support.microsoft.com/fr-fr/kb/2597986

#10


0  

I get same issue but I was getting error below error when run regsvr32 MSCOMCTL.OCX

我得到了相同的问题,但是在运行regsvr32 MSCOMCTL.OCX时,我的错误是错误的。

The module "MSCOMCTL.OCX" was loaded but the call to DllRegisterServer failed with error code 0x8002801c.

MSCOMCTL模块”。已加载OCX,但对DllRegisterServer的调用失败,错误代码0x8002801c。

When I run CMD.EXE as Administrator, then it solved my issue.

当我运行CMD。作为管理者,它解决了我的问题。

Some Times VB6.EXE also need o run as administrator to access some registry issue.

有时VB6。EXE还需要作为管理员来访问一些注册中心问题。

Good Luck.

祝你好运。