Solved

Reverse Mirror text in VB

Posted on 2004-09-22
7
264 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
  • 5
7 Comments
 
LVL 50

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 50

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 50

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 50

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 50

Expert Comment

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 82
C# code editing and collaboration 3 131
Base1 Encode/Decode 3 81
draw a Christmas tree by using a nested loop? 26 76
This article will show, step by step, how to integrate R code into a R Sweave document
A short article about a problem I had getting the GPS LocationListener working.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

839 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