vb6"regfreecom"自动创建ocx文件的清单 [英] vb6 "regfreecom" autocreate manifest for ocx file

查看:240
本文介绍了vb6"regfreecom"自动创建ocx文件的清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为我需要为MSCOMCTL.ocx创建一个清单文件,以便在我的VB6应用程序中使用(免费注册)
我还需要更新/创建.res文件,然后我将需要使用ManifestCreatorII已经有几年了(2017),我已经忘记了步骤并且找不到我的旧笔记.
我要记住如何与NSI一起使用以生成安装软件包.否则,我将无法在新的Win 10 PC上运行我的应用程序.

I think I need to create a manifest file for MSCOMCTL.ocx to use in my VB6 application (reg free)
I will also need to update/create the .res file Then I will need to use ManifestCreatorII It has been a few years (2017) and I have forgotten the steps and cannot find my old notes.
I ~remember how to work with the NSI to generate the install package. Without this, I cannot get my applications to run on a new Win 10 PC.

我的开发PC是运行Windows XP(32位)Service Pack 3的虚拟PC.我正在使用Visual Basic 6.0(SP6)进行编程.

My Development PC is a virtual PC running Windows XP (32bit) Service Pack 3. I am programming with Visual Basic 6.0 (SP6).

通过这些实验告诉我,我确实不需要确实确实需要VB6程序中用于组件的每个Dependency .ocx文件的清单文件.

Working through these experiments taught me that I do NOT really need manifest files for each of the Dependency .ocx files used for the Components in my VB6 programs.

我实际上只需要一个清单文件即可用于整个应用程序,并且该清单文件用于为项目创建资源文件.

I really only need the one manifest file for the application program as a whole and that is used to create the Resource file for the project.

我的问题是在我安装NSIS软件包并在新的Win10(64)PC上运行其VB6程序时首先出现的:

My problem was first indicated when I installed the NSIS package and ran its VB6 program on a new Win10(64) PC:

Run-time error 339: Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

当我尝试打开一个最近添加的表单时,收到了此错误消息.

I got this Error message when I tried to open one of the more recently added forms.

此表单的独特功能是使用引用MSCOMCTL.ocx的选项卡式对话控件(TabStrip).

A unique feature of this form is the use of Tabbed Dialogue Controls (TabStrip) which references MSCOMCTL.ocx.

re: https://www.processlibrary.com/en/目录/文件/mscomctl/19764/

mscomctl.ocx is an ActiveX Control module that contains common controls used by Windows, such as ImageCombo, ImageList, ListView, ProgressBar, Slider, StatusBar, TabStrip, ToolBar, and TreeView controls.

我创建了一个微型程序zMSCOMCTL,该程序的一种形式仅包含来自一个MSCOMCTL.ocx组件的两个控件(TabStrip和ProgressBar).

I created a tiny program, zMSCOMCTL, which has one form containing only two controls (TabStrip and ProgressBar) both from the one MSCOMCTL.ocx Component.

我抄袭了我类似的小型程序的VB6代码和NSIS(例如:zRichTx,zThreeD,zCOMDLG).

I plagiarized from VB6 code and NSIS of my similar tiny programs (e.g.: zRichTx, zThreeD, zCOMDLG).

当我在新的Win10(64)PC上安装并尝试运行zMSCOMCTL时,出现以下错误消息:运行时错误339:组件'MSCOMCTL.OCX'或其依赖项之一未正确注册:一个文件丢失或无效

When I install and try to run zMSCOMCTL on my new Win10(64) PC, I get this same error message: Run-time error 339: Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

我从 https://www.ocxme.com 下载了MSCOMCTL.ocx版本6.1.98.46.

I downloaded a copy MSCOMCTL.ocx version 6.1.98.46 from https://www.ocxme.com

这些说明基于: https://originaldll.com/file/mscomctl .ocx/16903.html

  • 制作以下文件的备份副本:C:\WINDOWS\system32\MSCOMCTL.*
  • 在命令提示符窗口中:regsvr32 /u MSCOMCTL.ocx
  • 已删除C:\WINDOWS\system32\MSCOMCTL.*
  • 将新的 MSCOMCTL.ocx复制到C:\WINDOWS\system32
  • 重新启动
  • 在命令提示符窗口中:regsvr32 MSCOMCTL.ocx
  • Made a backup copy of: C:\WINDOWS\system32\MSCOMCTL.*
  • In the Command Prompt Window: regsvr32 /u MSCOMCTL.ocx
  • Deleted C:\WINDOWS\system32\MSCOMCTL.*
  • Copied the new MSCOMCTL.ocx into C:\WINDOWS\system32
  • REBOOT
  • In the Command Prompt Window: regsvr32 MSCOMCTL.ocx

A.创建MSCOMCTL.ocx.manifest:

A. create MSCOMCTL.ocx.manifest:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆