As a WinForms alternative to Solution 2
Me.TextBox1.TextAlign = HorizontalAlignment.Right
or as
Karen Mitchelle [
^] pointed out in the comments, you can change this property at design time.
For either ASP code-behind or winforms...
If the text is to be used for other purposes you can "right-align" the string itself by padding left with spaces e.g.
Dim s As String = "Some Text".PadLeft(15, " ")
produces
| Some Text|
For example you could use this method to right align items in a combobox like this
For i = 1 To 10
Me.ComboBox1.Items.Add(i.ToString().PadLeft(15, " "))
Next