Visual Basic Express Thread 2 (7, permasaged)

1 Name: nobuyuki!GfMr2LTKW. : 2006-07-26 01:53 ID:mv44LYZh

I slopped this one together to decode those silly 1=a 2=b cyphers cause I was too lazy to do it manually to figure out the secret codes for the phoenix wright objection generator. lol. You're gonna want two textboxes and a button for this one. put this code in the button's click event.

    Dim x As Integer
Dim s As String = ""
Dim lastSpace As Integer = 1
    MsgBox(Len(TextBox1.Text))
    For x = 1 To Len(TextBox1.Text)
        If Mid(TextBox1.Text, x, 1) = " " Then
If Val(Trim(Mid(TextBox1.Text, lastSpace, x - lastSpace))) > 0 Then
s = s & Chr(Val(Trim(Mid(TextBox1.Text, lastSpace, x - lastSpace))) + 64)
Else
s = s & Mid(TextBox1.Text, lastSpace, x - lastSpace)
            End If
            lastSpace = x
End If
Next
    TextBox2.Text = s
s = ""

2 Name: #!/usr/bin/anonymous : 2006-07-26 05:43 ID:hOC0tSjg

a=1 b=2 then...
how about A? (capital A).. is 1 too or A=27?

3 Name: #!/usr/bin/anonymous : 2006-07-26 11:40 ID:Heaven

Don't start new threads when you've already started another one on the same subject. "Part 2" threads are only used when the original thread reaches 1000.

4 Name: #!/usr/bin/anonymous : 2006-07-28 05:33 ID:Heaven

Jesus Christ >>3. Go back to moderating a fucking phpBB board. Alternately, maybe you can give some guidance on how long our sigs are allowed to be? What a joke this site has become.

5 Name: nobuyuki!GfMr2LTKW. : 2006-07-29 13:45 ID:mv44LYZh

listen, guys. Unless I'm missing something here, the reason I created a new thread is because the old one -died- and is no longer on the board. Help me make sense of the loser permasage

6 Name: nobuyuki!GfMr2LTKW. : 2006-07-29 13:46 ID:mv44LYZh

nevermind, found it. Will post new stuff in old thread.

7 Name: #!/usr/bin/anonymous : 2006-07-29 16:57 ID:Heaven

Things don't get automatically deleted here.. text boards don't haemorrhage bandwidth the way imageboards do, so it isn't needed yet.

This thread has been closed. You cannot post in this thread any longer.