In VB6, there was a function that moves the print position along to the next tabstop, like so:
Print #1, "Total run time: "; _
Fix(tmpTick / 60000) & " min and " _
& Fix((Abs((tmpTick / 60000) - Fix(tmpTick / 60000)) _
* 60)) & " Sec"
I have rewritten this VB6 into VB.NET, but with the semicolon still intact:
mainoutputwriter.WriteLine("Total run time: "; _
Fix(tmpTick / 60000) & " min and " _
& Fix((Abs((tmpTick / 60000) - Fix(tmpTick / 60000)) _
* 60)) & " Sec")
What do I replace the semicolon with to move the print position?
Thanks
The ControlChars class is probably what you want to use.
Try replacing the semicolon with
ControlChars.Tab.