smith4595
New member
- Joined
- Jan 24, 2013
- Messages
- 3
- Programming Experience
- Beginner
I'm relatively new to programming in VB.Net. I've dabbled in it before, but I'm trying to be more proactive at work and create some applications to make some of my work easier (and also help out our end-users).
I've created a tool that will pull information about a computer such as username, computer name, serial, etc. The tool places this information into a multi-line text box. What I'm trying to figure out how to do is display the text as follows so it fills the entire width of the text box.
User Name..........................XXXXXXX
Computer Name...................XXXXXXX
Serial Number......................XXXXXXX
Etc
Where the the text will be autoformated to right justification with the appropriate number of "....." Hopefully this makes sense.
To recap, I want the text box display info like this "User Name" & APPROPRIATE NUMBER OF ...... & (Right Justification "XXXXXXXX") & vbclrf _ next line...
The problem maybe I just don't know how to explain what I'm trying to accomplish. Any help would be much appreciated.
I've created a tool that will pull information about a computer such as username, computer name, serial, etc. The tool places this information into a multi-line text box. What I'm trying to figure out how to do is display the text as follows so it fills the entire width of the text box.
User Name..........................XXXXXXX
Computer Name...................XXXXXXX
Serial Number......................XXXXXXX
Etc
Where the the text will be autoformated to right justification with the appropriate number of "....." Hopefully this makes sense.
To recap, I want the text box display info like this "User Name" & APPROPRIATE NUMBER OF ...... & (Right Justification "XXXXXXXX") & vbclrf _ next line...
The problem maybe I just don't know how to explain what I'm trying to accomplish. Any help would be much appreciated.