Solved

Reverse Mirror text in VB

Posted on 2004-09-22
7
262 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 49

Accepted Solution

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

Syntax:
StrReverse(string1)

Example:

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

Expert Comment

by:Ryan Chong
Comment Utility
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 49

Expert Comment

by:Ryan Chong
Comment Utility
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 49

Expert Comment

by:Ryan Chong
Comment Utility
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 49

Expert Comment

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
seriesUp challenge 7 106
Visual xHarbour 1 74
wordsWithoutList  challenge 24 73
Microsoft C++ code failing in executable that worked 9 50
Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now