Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text Flip [TuT]
#1
Ok Many people has been asking for this source so i decided to share.

Ok so Lets Begin.

1.First of you Will Need Two Text Boxes.


2. Under Public Class Form1 paste this code

Code:
Dim X As String = "¿/˙'\‾¡zʎxʍʌnʇsɹbdouɯlʞɾıɥƃɟǝpɔqɐ", _
    V As String = "?\.,/_!zyxwvutsrqponmlkjihgfedcba"

3. Now Double Click On Textbox1 and enter this code

Code:
Dim str As String, Newstr As String = Nothing
        str = TextBox1.Text
        For Each StrText As String In str
            Select Case True
                Case StrText = "b"
                    StrText = "p"
                Case StrText = "p"
                    StrText = "b"
                Case StrText = "q"
                    StrText = "d"
                Case StrText = "d"
                    StrText = "q"
                Case StrText = "u"
                    StrText = "n"
                Case True
                    For I = 0 To X.Length - 1
                        StrText = StrText.Replace(V.ElementAt(I), _
                        X.ElementAt(I))
                    Next
            End Select
            Newstr &= StrText
        Next
        TextBox2.Text = Newstr
        TextBox2.Text = StrReverse(TextBox2.Text)

* Note: YOu do not Need any buttons for this Only Textboxes (Unless you would like to Put this In your Project you can do anything You want with the Source)
* Make Sure You give Credits To me If you do use this.
* If you so happen Not to Get The source I posted Above you can just copy and paste this Into or as I should say Onto your Project.

Quote: 'Give Credits To Optiikzz If you use this'
'TechnicForums.com use Optiikzz As Referrer


Public Class Form1
Dim X As String = "¿/˙'\‾¡zʎxʍʌnʇsɹbdouɯlʞɾıɥƃɟǝpɔqɐ", _
V As String = "?\.,/_!zyxwvutsrqponmlkjihgfedcba"

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Dim str As String, Newstr As String = Nothing
str = TextBox1.Text
For Each StrText As String In str
Select Case True
Case StrText = "b"
StrText = "p"
Case StrText = "p"
StrText = "b"
Case StrText = "q"
StrText = "d"
Case StrText = "d"
StrText = "q"
Case StrText = "u"
StrText = "n"
Case True
For I = 0 To X.Length - 1
StrText = StrText.Replace(V.ElementAt(I), _
X.ElementAt(I))
Next
End Select
Newstr &= StrText
Next
TextBox2.Text = Newstr
TextBox2.Text = StrReverse(TextBox2.Text)
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
End Class
[Image: OGForumsbanner.png]
Reply
#2
Great tutorial, nicely done. Smile
Reply
#3
I never thought about creating such as application in .NET.

This has given me more ideas on what to create next.

Thank you for this awesome share.
Reply
#4
I am not to familiar with script but it looks good, and the premise is hilarious.
Reply
#5
Nice release, but what is this usefull for?
Reply
#6
(04-05-2010, 12:51 PM)Pi[X]el Wrote: Nice release, but what is this usefull for?

Chatting on MSN, just having fun with it really. lol
Reply
#7
Ohh, okah. Drake do you know as much PHP as VB.NET?
Reply
#8
thanks for the tut
Reply
#9
(04-05-2010, 01:31 PM)Pi[X]el Wrote: Ohh, okah. Drake do you know as much PHP as VB.NET?

Yes, I know many different programming languages.
Reply
#10
Awesome, I was thinking maybe you could help me with a Youtube 2 MP3 script? How can I make it convert to .mp3 from .flv?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [TUT] How to make a simple WebBrowser in VB 2010! [TUT] - [ Pictures] Statics 95 61,902 10-07-2012, 06:56 AM
Last Post: a99
  [TUT]Auto-Update System[TUT] HB Virus 3 2,428 01-07-2012, 02:21 PM
Last Post: Mastermrz
  TextBox2.Text | Transfer Text to ListBox Die 3 2,673 01-02-2012, 06:09 PM
Last Post: AceInfinity
  [TUT]Enable and Disable TaskManger in vb.net [TUT] HB Virus 4 3,174 12-19-2011, 10:10 AM
Last Post: euverve
  Text Converter. Turn your text upside down! Red X 29 8,703 08-01-2011, 07:46 AM
Last Post: Red X

Forum Jump:


Users browsing this thread: 2 Guest(s)