| haughki 2004-10-15, 9:09 pm |
| Hi all,
I've started working on ACT in Dev Studio. It's a much nicer
interface for me than the stand alone test runner. One thing that's
really nice is watching the test status in the Output Window. It
seems like it should be possible to trace out to this window as well,
but I haven't been able to figure out a way yet.
Anyone know how? I'd like to be able to see debug/trace statements in
the DevStudio output window instead of having to refer to my ACT log
after each test run to see the Test.Trace statements.
I've tried monkeying around with the following:
' File System Object.
Dim fScriptObj
Set fScriptObj = CreateObject ("Scripting.FileSystemObject")
' get the stdout stream
Dim stdout
Set stdout = fScriptObj.GetStandardStream(1)
stdout.WriteLine "Hello, VBScript."
This seems like it should work, but apparently the Output Window isn't
stdout or stderr.
1>ScriptError,The handle is invalid.(33,1)
Anyone know how to use VBScript to get a handle to the Output Window
stream?
|