none
Code for Visual basic (Wingding program) RRS feed

  • Question

  • I want to enter regular characters on one textbox, hit a "translate" button and have those regular characters be translated into a new texbox as winding. 

    http://prntscr.com/lgjiiu Like this

    Saturday, November 10, 2018 2:52 AM

All replies

  • To make the example put two textboxes on a form (multiline - true) and copy the code. Type in the top box and the translation is shown in the bottom.

    Public Class Form6
        Private Sub Form6_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    
            TextBox1.Font = New Font("arial", 12, FontStyle.Bold)
    
            TextBox2.Font = New Font("Wingdings", 12, FontStyle.Bold)
    
        End Sub
    
        Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
    
            TextBox2.Text = TextBox1.Text
    
        End Sub
    End Class


    • Edited by tommytwotrain Saturday, November 10, 2018 8:30 AM
    • Proposed as answer by Alex Li-MSFT Monday, November 12, 2018 7:28 AM
    Saturday, November 10, 2018 8:28 AM
  • Hi,

    Do you solve the issue?I think tommytwotrain provided a good way, it can help you.And you also can use button to trigger.

     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            TextBox2.Text = TextBox1.Text
        End Sub

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 12, 2018 8:32 AM