无法加载ProgressBar控件(未注册库) [英] ProgressBar control cannot be load (Library not registered)

查看:197
本文介绍了无法加载ProgressBar控件(未注册库)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将进度条添加到我的用户窗体,但是它给我未注册库"错误.我要做的是以下事情:

I am trying to add a progress bar to my User form but it is giving me "Library not registered" error. What I do is the following:

首先,我从工具->其他控件中将进度条添加到工具箱中

First I add the progress bar to the toolbox from Tools -> Additional controls

我从工具箱选项中选择progressBar,然后尝试将其放入userForm

I choose the progressBar from Toolbox options and try to put it in the userForm

它给了我错误:

显然,我必须从工具"->引用"中添加一个库,但是我不知道哪个库是需要的.我用谷歌搜索,发现MSCOMCTL.OCX可能是我需要的,但是我添加了它,并且我已经遇到了相同的错误.

Apparently I have to add a Library from Tools -> References but I don't know which one is the one that is needed. I google it and I found that the MSCOMCTL.OCX could be the one that I needed but I add this one and I already have the same error.

有人知道哪个是正确的吗?

Someone know which one is the correct?

编辑

我列出了我的参考文献列表,以便您可以看到我在使用什么:

I put my references list so you can see what I am using:

推荐答案

系统上是否安装了VB6或其他某种编程语言? MS Windows公共控件6(SP6)附带的一个?

Do you have VB6 or some other programming language installed on the system? One that shipped with MS Windows Common Controls 6 (SP6)?

IIRC这些控件中的某些控件可以在任何系统上运行,只要它们已正确安装和注册即可,但只能用于在安装了其附带语言的系统上设计/创建代码.

IIRC some of these controls can run on any system so long as they're properly installed and registered but can only be used to design/create code on a system where the language they shipped with is installed.

其他控件与VB兼容,但与VBA表单不兼容.

Others controls are compatible with VB but not VBA forms.

只需很少的额外工作,您就可以从两个文本框或标签以及一些代码创建一个合理的进度栏.重量更轻,不需要在用户端进行安装/注册.

With very little extra work, you can create a reasonable progress bar from two text boxes or labels and a bit of code. Lighter weight, requires no installation/registration at the user end.

这篇关于无法加载ProgressBar控件(未注册库)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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