-
HI,
I use the RightToLeft Property in some of my Programs .. the problem is while working on my computer ( That the VB6 which I use installed on ) their is no problem and everythink OK .. but After moving the program ( Through Setup ) and install it on other computer the RightToLeft property Stop working and all the design fall down ...
Is the RightToLeft Works on the computer that VB6 installed on only ??
Thanks To you All
VBSecret
-
RightToLeft never worked for me. But you can always manipulate it :rolleyes:.
Code:
Private Function RightToLeftText(Text As String) As String
Dim vArray As Variant
Dim iArray As Integer
Dim sArray As String
vArray = Split(Text, " ")
For iArray = 0 To UBound(vArray)
sArray = sArray & Chr(32) & StrReverse(vArray(iArray))
Next iArray
RightToLeftText = StrReverse(sArray)
End Function
Or is this the RightToLeft function you are looking for?
Code:
Private Function RightToLeftText2(Text As String) As String
Dim vArray As Variant
Dim iArray As Integer
Dim sArray As String
vArray = Split(Text, " ")
For iArray = 0 To UBound(vArray)
sArray = sArray & Chr(32) & vArray(iArray)
Next iArray
RightToLeftText2 = StrReverse(sArray)
End Function
-
vbame.dll
You need to have vbame.dll in the system directory of the other machine. Also, it should be running a right-to-left OS.
Hope this helps.
What operating system is the target using? We have had a few problems with Arabic Win 2000 and XP, but 98, ME and NT seems pretty stable.
Brian.