什么是“对象”的“方法”〜“失败”意思? [英] What does "Method '~' of object '~' failed" mean?

查看:184
本文介绍了什么是“对象”的“方法”〜“失败”意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的桌面上运行一个旧的VB6应用程序(它没有用户界面,是一个命令行应用程序),当我这样做,我得到一个消息框说



运行时错误'4099':

对象'〜'的方法'〜'失败

这对我来说没什么意义;

解决方案

当支持库(dlls或ocxs)未正确注册时,可能会发生这种情况或者安装的库的版本与最初编译应用程序的版本不同(并且不兼容)。



确保所有依赖库都已注册和正确的版本。



您可能必须重新编译应用程式,才能使用支援图书馆的新版本。


I'm trying to run a legacy VB6 application on my desktop (it doesn't have a user interface, being a command-line app), and when I do, I get a message box saying

Run-time error '4099':

Method '~' of object '~' failed

This means nothing to me; does anyone have an idea what is going wrong?

解决方案

That can happen when supporting libraries (dlls or ocxs) are not registered properly or the versions of the installed libraries are different (and incompatible) with the version the app was compiled against originally.

Make sure all dependent libraries are registered and the proper version.

You may have to recompile the app to make it work with newer versions of the supporting libraries.

这篇关于什么是“对象”的“方法”〜“失败”意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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