gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 01:47:43 24 4
gpt4 key购买 nike

当应用程序在 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 (Optionswindow, Shortcuts tab) to save the selected file at debug-time. TheVisual Basic IDE does not allow to save files at debug-time, but oftenit is useful to save the modifications that you have made to thesource code at debug-time.

Remarks:

This feature is not available in the VBA version of MZ-Tools. Thisfeature only works at debug-time. Since Visual Basic disables buttonsor menus of add-ins at debug-time, the only way to save a file atthose times is through a keyboard shortcut. The file must bepreviously saved at design-time, that is, MZ-Tools does not prompt fora 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com