How to write to a debug console in VB6?

前端 未结 4 1029
慢半拍i
慢半拍i 2021-02-13 13:44

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 c

4条回答
  •  抹茶落季
    2021-02-13 14:34

    This isn't something that Vb6 can easily do (I'm sure it can be done, but you'd be calling native Win32 APIs, and isn't worth the pain if you're just using it for debugging)

    Your best bet (IMHO) is to write those values to a log file.

提交回复
热议问题