如何在 VB6 中写入调试控制台? [英] How to write to a debug console in VB6?

查看:28
本文介绍了如何在 VB6 中写入调试控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 VB 新手.我想测试一些旧的 VB 代码,但我需要能够打印到控制台才能测试代码中设置的某些值.如何从VB打印到控制台?

I am new to VB. I want to test some old VB code, but I need the ability to print to the console to be able to test certain values that are set in the code. How to print to the console from VB?

推荐答案

使用debug.print.但是 VB6 应用程序上没有控制台,可以打印到调试窗口.

Use debug.print. But there is no console on a VB6 application, that will print to the debug window.

这篇关于如何在 VB6 中写入调试控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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