vb6 - 如何在vb6 Debug模式下保存代码更改

标签 vb6

当应用程序在 Debug模式下停止并且我对代码进行更改时 有没有办法在不停止应用程序的情况下保存更改后的代码?

最佳答案

尽管 VB6 IDE 本身不提供此功能,该 IDE 有一个名为 MZTools 的插件。添加此功能已经存在很长时间了。

我个人已经使用MZTools 3.0很多年了,而且效果非常好。

它的帮助系统是这样说的:

Shortcut To Save File At Debug-Time

The Shortcut To Save File At Debug-Time feature allows you to define a keyboard shortcut (Options window, Shortcuts tab) to save the selected file at debug-time. The Visual Basic IDE does not allow to save files at debug-time, but often it is useful to save the modifications that you have made to the source code at debug-time.

Remarks:

This feature is not available in the VBA version of MZ-Tools. This feature only works at debug-time. Since Visual Basic disables buttons or menus of add-ins at debug-time, the only way to save a file at those times is through a keyboard shortcut. The file must be previously saved at design-time, that is, MZ-Tools does not prompt for a name to save the file (it shows an error message instead).

这是我如何在本地配置它的选项窗口:

enter image description here


请注意,MZTools 在版本 3 中最初是免费的,后来他们切换到付费版本;如果我最初没有获得 v3,那么它是非常值得付费的,不仅仅是为了这个功能。

关于vb6 - 如何在vb6 Debug模式下保存代码更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70703546/

相关文章:

c# - VB 6.0 中的 String(33, 0) 和 C# 中的等效项

vb6 - 使用 Visual Basic 6 运行 exe 文件的有效方法?

windows - VB6 应用程序支持何时结束?

vb6 - VB6 中 bool False 和 True 的整数值是什么?

vb6 - VB6函数名中&符号的意义?

c# - 如何处理从 VBA 中的 C# 方法返回的字符串数组

java - 我怎样才能打败类似 RC4 的混淆?

vb6 - 从 VB6 调用 C++ DLL 传递垃圾数据作为参数?

vba - 为 MS Access 制作 QRCode ActiveX 控件 : Control Source Property

vb6 - 有没有办法从 Visual Basic 6 中的 UserControl 之外继承自定义控件?