Write to console in VBScript
Posted on 2003-11-29
I have a simple but extreamly frustrating problem. I have a .vbs file that I am writing to help me debug a web service. It has a variety of MsgBox statements to show me things I am interested in.
My problem is, I need to pose a question here, and the data being reflected in these baxes is not copy/paste able. That is all I want to accomplish is to copy what is in the message box.
I tried to write to the console directly, but to no avail.
WScript.StdOut.WriteLine " " & responseDocument.xml
Gives me "The handle is invalid. Code 80070006. I am new to vbs. (Give me perl any day.)
Please help me. I need something quick and effective.