VB6 应用程序不再在 Vista 计算机上打开 [英] VB6 application no longer opens on Vista computer

查看:24
本文介绍了VB6 应用程序不再在 Vista 计算机上打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 VB6 应用程序,它以前可以在 Vista 机器上完美运行作为计划任务,但它不会再在同一台机器上打开.该应用程序在指定文件夹中生成导出文件,屏幕上没有直接输出.我没有错误,没有丢失的引用,只是绝对没有.

I have a VB6 app that formerly worked perfectly on a Vista machine as a scheduled task, but it will no longer open on the same machine. The app generates export files in a specified folder with no direct output on the screen. I get no errors, no missing references, just absolutely nothing.

机器运行的是 Vista Business 32 位,使用单个管理员帐户禁用了 UAC,并关闭了自动更新.该应用程序驻留在不受保护的文件夹中,导出文件放在桌面上的文件夹中.客户发誓,自从我安装此应用程序后,他们对该计算机所做的唯一更改是安装了 Norton Antivirus,这之前从未对我们的软件造成问题.

The machine is running Vista Business 32-bit, UAC is disabled with a single administrator account, and automatic updates are turned off. The app resides in a non-protected folder, and the export files are put in a folder on the desktop. The client swears that the only change they made to that computer since I installed this app was installing Norton Antivirus, which has never caused problems before with our software.

除了普通的 VB6 引用之外,该应用还引用了 Microsoft Scripting Runtime (scrrun.dll) 和 Microsoft DAO 3.6 (dao360.dll).这两个文件都存在并注册在目标机器上,以及所有其他 VB6 依赖项.我在 Sub Main() 的开头添加了 MsgBox 语句只是为了查看是否正在执行任何内容,而没有.禁用诺顿没有任何结果,也没有重新安装 VB6 运行时以排除任何损坏的库.我一次也没有从我的应用程序中收到任何消息、错误或其他信息.

In addition to the normal VB6 references, the app references Microsoft Scripting Runtime (scrrun.dll), and Microsoft DAO 3.6 (dao360.dll). Both of these files are present and registered on the target machine, along with all the other VB6 dependencies. I added MsgBox statements at the beginning of Sub Main() just to see if anything is being executed, and its not. Disabling Norton yielded no results, nor did reinstalling VB6 runtime to rule out any corrupted libraries. Not once did I get any messages, error or otherwise from my app.

我以前从未遇到过这样的问题,我完全被难住了.还有什么可能导致这种情况吗?

I've never had an issue like this before and I'm completely stumped. Is there anything else that could be causing this?

编辑 - 即使我手动运行该应用程序也无法运行,因此关于它是计划任务的部分与我的问题无关,抱歉包含它.

Edit - The app does not run even when I run it manually, so the part about it being a scheduled task is irrelevant to my problem, sorry for including it.

用户拥有完整的管理员凭据,初始测试不需要兼容模式,当时是在我遇到问题的这台机器上完成的.对于笑容,我尝试了 XP 和 2000 的兼容模式,但仍然没有.

The user has full administrator credentials, no compatibility mode was needed on the initial test which at the time, was done on this very machine I am having the problem on. For grins I tried compatibility mode for XP and 2000, still nothing.

推荐答案

尝试检查 - 如果您可以访问它们 - 事件查看器消息.也许你会在那里找到一些告示牌...

Try to inspect - if you can access them - the Event Viewer messages. Maybe you will find some tell-tell signs in there...

这篇关于VB6 应用程序不再在 Vista 计算机上打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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