Solved

Reverse Mirror text in VB

Posted on 2004-09-22
7
267 Views
Last Modified: 2010-04-17
How can a make reverse mirror text in VB. also how can in stop my words in Hindi  fonts from getting truncated.
0
Comment
Question by:oesys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
7 Comments
 
LVL 52

Accepted Solution

by:
Ryan Chong earned 250 total points
ID: 12121704
>>reverse mirror text
Try use StrReverse function.

Syntax:
StrReverse(string1)

Example:

Dim MyStr
MyStr = StrReverse("VBScript") ' MyStr contains "tpircSBV".
0
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 12121723
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
0
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 12131760
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
0
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 12139921
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?
0
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 12270398
How's the progress, oesys ? Still need help here?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question