Results 1 to 3 of 3

Thread: Real problem with RightToLeft in VB6 ??!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    1

    Question

    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

  2. #2
    Guest
    RightToLeft never worked for me. But you can always manipulate it .

    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

  3. #3
    Fanatic Member BrianHawley's Avatar
    Join Date
    Aug 2001
    Location
    Saudi Arabia
    Posts
    796

    Lightbulb 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width