本文介绍了让 VB6 显示哪个组件没有安装设计时许可证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了一个我正在尝试制作"的 VB6 项目.

I've inherited a VB6 project that I'm trying to "Make".

在制作 EXE"步骤中构建失败并出现许可错误:

The build fails on the "Making EXE" step with a licensing error:

License information for this component not found.
You do not have an appropriate license to use this functionality
in the design environment.

如何确定哪个组件缺少许可证?

How can I figure out which component is missing the license?

该项目有大约 15 个参考文献;商业和微软的混合体.我已经为所有明显的参考安装了开发版本/许可证 - 并检查了我可以成功编译他们的示例应用程序.

The project has about 15 references; a mixture between commercial and Microsoft. I've installed development versions / licenses for all the obvious references - and checked that I can compile their sample apps successfully.

剩下的 13 个奇数参考文献中;如何获得有关哪个组件引发许可错误的更多信息?

Of the remaining 13 odd references; how I can get more information as to which component is throwing the licensing error?

任何关于如何获得更详细的错误消息的提示/技术将不胜感激!

Any tips / techniques on how to get a more verbose error message would be greatly appreciated!

推荐答案

值得尝试 both Microsoft 修复 - 一个 - 对于此错误,以防您遇到已知问题之一.

It's worth trying both the Microsoft fixes - one and two - for this error, in case you've run into one of the known issues.

如果这不起作用,请为 VB6 IDE 中的每个表单打开表单设计器.在显示表单时注意错误消息框.当显示此错误时,IDE 会写入一个日志文件 formname.log,其中提供有关哪个控件导致问题的更多信息.

If that doesn't work, open the form designer for every single form in the VB6 IDE. Look out for an error message box on displaying a form. When this error is displayed, the IDE writes a log file formname.log that gives more information on which control caused the problem.

这篇关于让 VB6 显示哪个组件没有安装设计时许可证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-19 00:46