Link to home
Start Free TrialLog in
Avatar of oesys
oesys

asked on

Reverse Mirror text in VB

How can a make reverse mirror text in VB. also how can in stop my words in Hindi  fonts from getting truncated.
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To display Hindi fonts/ characters correctly in your forms, you may probably can do that by using M$ Form 2.0 Object Library.

For more info, see:
http://support.microsoft.com/default.aspx?scid=kb;en-us;193540
http:Q_20336162.html
To reverse string by words itself, you can 1st try to split the string with space " ", and then do a loop backwards to re-attach the string again..

Try look for the Split function and For .. Loop, let me know if you want to provide an example.

regards
Here is an example:

Private Sub Command1_Click()
    Dim myStr As String, newStr As String, tmpArr() As String
    myStr = "Hey! How are you ?"
   
    tmpArr = Split(myStr, " ")
    For i = UBound(tmpArr) To 0 Step -1
        newStr = newStr & tmpArr(i) & " "
    Next i
    'Remove last extra " "
    newStr = Left$(newStr, Len(newStr) - 1)
    MsgBox newStr
End Sub

Will this helps?
How's the progress, oesys ? Still need help here?