Thomas,
As Charles stated, Print is now Write & WriteLine in VB.NET
Debug.Write(strAString)
Debug.WriteLine(strAString)
In addition to the Debug class, there is also a Trace Class. Normally calls
to the Debug class are removed during release builds, while calls to the
Trace class are available in both Debug & Release builds.
In addition to Write & WriteLine both classes have: WriteIf, WriteLineIf,
Indent, Unindent, Assert, and Fail methods. Which allow for a richer
formatting of the output.
Oh! Write, WriteLine, WriteIf, and WriteLineIf support giving a category,
which is useful to label your output.
Debug.WriteLine(strAString, "strAString")
Debug.WriteLine(index, "index")
Trace.WriteLine(strAString, "strAString")
Trace.WriteLine(index, "index")
Hope this helps
Jay
"Thomas Pecha" <th**********@firstinex.at> wrote in message
news:O4**************@TK2MSFTNGP10.phx.gbl...
Sorry for all who think this is easy, I was not able to handle this
Coming from VB6 where with simple
debug.print strAString
you could write to debug window, I am totalling failing in vb.net 2003
The sample in the help file does not work. I tried now for days ...
Pls could anybody post a sample, including necessary imports and so on -
thank you so much in advance