Way back in my VB6 days (I know, I know), I could create a tab-delimited file that used tabs to specific characters, like this:
Print #i, sNow; Tab(25); sVer; Tab(35); sType; Tab(45); sUser; Tab(60); sFlag; Tab(65); CStr(gUserID); Tab(72); sMsg
This would cause things to appear at specific tab points, irregarless of the size of the text I was writing. I can see in .NET how I can use the ControlChars.Tab to create tabs in a line, like this:
Now.ToString & ControlChars.Tab & My.Application.Info.Version.Major.ToString & "." & My.Application.Info.Version.Minor.ToString & ControlChars.Tab & sType
However, these are just like hitting the "tab" key on the keyboard - they don't go to a specific character spacing. Therefore, my text does not line up as well as I would like.
Is there a similar method in .NET to do this same tab spacing?
Thanks in advance!