在Visual Basic 6 IDE外部检测文件更改? [英] Detect file changes outside the Visual Basic 6 IDE?

查看:56
本文介绍了在Visual Basic 6 IDE外部检测文件更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景

我正在使用VB6旧代码,并且由于其功能而使用外部编辑器。不幸的是,由于VB6不会监视加载的代码中的更改,因此这些更改不会在IDE中刷新。

Background
I am working with VB6 legacy code and I am using an external editor because of the features that it has. Unfortunately, those changes aren't refreshed in the IDE because VB6 doesn't monitor loaded code for changes.

我已经对该主题进行了广泛的搜索,包括寻找替代方法。编辑,一个相当详尽的互联网搜索,包括跟踪 StackExchange链接上的所有链接,并且没有t找到了一种刷新代码窗口以反映外部文件更改的方法。

I have done some extensive searching on the subject including looking for alternative editors, a fairly exhaustive internet search including following all of the links on this StackExchange link and haven't found a way to refresh the code window to reflect the external file changes.

我的公司无权使用最新版本的Visual Studio,也不会购买在不久的将来都可以。

My company doesn't have access to the latest edition of Visual Studio and will not be purchasing it anytime in the near future. Until then, there is code to fix.

问题

除了重新启动程序外,还有其他方法可以修复可以用来刷新VB6编辑窗口中显示的代码?

Question
Aside from restarting the program are there any methods that can be used to refresh the code displayed in the VB6 editing window?

推荐答案

我认为找到了一个可能的解决方案。

I think a found one possible solution.

MZ工具集具有称为从磁盘重载文件的功能。它还允许我通过MZ-Tools选项菜单为此功能创建快捷方式,因此我将其分配给了自己选择的快捷键。

The MZ-Tools set has an function called Reload file from Disk. It also allowed me to create a shortcut for this function through the MZ-Tools options menu, so I assigned it to the shortcut keys of my choosing.

这是一个解决方案,但我仍在寻找可能更好的方法。

It's a solution, but I'm still looking for anything that might be better.

这篇关于在Visual Basic 6 IDE外部检测文件更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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