Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Hebrew / Arabic Bi-directional Text


We have a requirement to produce right justified text based on an Arabic / Hebrew font.

Using the 'RightToLeft' property only works based on a machine's locale, ie English/US installations of an OS seem to render this property unusable. Installing a machine as an hebrew / arabic OS allows this option to be used - but unfortunately this is not an option for the people using our system (they MUST install their OS as an English based OS).

Does anyone know of any control that will allows us to have Right to left justified text as a multi-line text box?

Any suggestions / idea gratefully received....




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Convert Text To UTF-8 For Hebrew?
Hi All,

I need to create a XML string and send it via http.
The XML string contains node values in Hebrew.
I dont use any parser (msxml), just write the xml string and send it.

The problem is the hebrew nodes should be in UTF-8 for hebrew, and i get an error message back saying mine is not in UTF-8.

The hebrew values are taken from oracle database.

How do i do that?

Hebrew Text Handling Problem
I've got a very simple program that produces a list of path names & throws them into a textbox.

The problem accures when there is a path name in Hebrew.

in that case the Hebrew path apears correctly in the textbox, but when I copy the content of the text from the textbox & paste it into any other target file (txt, doc, xls, csv, e-mail, etc..) the hebrew text is shown as gibrish.

- The textbox encoding is Hebrew
- Changing the encoding of the target file doesn't help

Any suggestions?

Full Text Index - Hebrew Problem ??
Any problem using hebrew in FTS ?

I get an error msg that the word I look for (hebrew word) is an ignored word...

Any config to do ??

Thanks

Translating From Arabic Dos Code Page To Arabic Windows Codepage
dear sers:

i have files written in arabic code page (aptec) and database files too ,i want to preview and print them in through windows ,but i do not know how to translate my files (*.txt and *.dbf ) data to windows supported arabic language

with my best regards

Arabic Text
Dear friends...
I'm looking for a visual basic code through which i can able to type arabic text in the textbox...
So can anybody help me with it please..
Thanks in Advance...

Arabic Text...
Hi dude's

I developed one telnet client for on air graphics rendering machine... its taking data from access database and send to render telnet command..

here i got one error.. my access db's table have one field named "cname" cname have arabic company name's

when i pulling data from vb string shows "?????? " how i replace that...

i need arabic text there...

any one have better solution lemme know..

regards
sajeer

Arabic And FM20.dll Text Box
Hi Folks,
Before 2 years I have designed a database application in VB5/vb6 - with MS-Access 97 as database. supporting Arabic Language.
Recently I upgraded the Arabic-Enabled Win98 to Win2000 Pro.

But the problem is that, whener I type in Arabic text in textboxes - of FM20.dll type, the characters appear as dots only. while typing in the standard Text boxes the Arabic characters appear fine.
How to overcome this. ?
Regards,
Yasir

Arabic Text Problem
plz help me
why my arabic text appears garbage

thanks

I Want Arabic Text To Speech ??
hi there

i want to know ...

where to get arabic Text to speech ???
or
how to made it ???

thanks

Problem With Arabic Text
i have a problem with the Arabic text.
There are two applications one application is desktop application and the second is online web site.Desktop application is developed in the vb and the website is developed in the ASP.both application having the same database.
When i entered the arabic text in the desktop application it display i.e ???C???? in the web site and when i entered the arabic text in the website it display i.e ???C???? in the desktop application.

Arabic Text Support With IE5.5
Hello,

I want to install IE5.5 with quiet option (/Q) and inforcing setup to install Arabic Text Support. I have downloaded IEAK 5 and installed it, but it requires customization code to run. Here are some details:

I use webbroser control in my VB project, that will display HTML files that use Arabic character set. I install IE5.5 with my program setup using the following command (ie5setup /Q). I use (/Q) option so I can install IE without interaction with the end user. It seems that IE setup is a part of my program setup.

The problem is that this option installs IE with the typical setup options that don't install Arabic Text Support. so when the user runs my program, he sees a dialogue box with the following message:

"To display language character correctly you need to download and install the following component: Arabic Text Support".

A capture of of this dialogue box is attached in the file: "Arabic_Text_Support.jpg"

Thank you



Edited by - bmarzouk on 5/29/2002 12:58:44 AM

Show The Arabic Text
i want to show the text or image while a sentence is speak by computer. at the end the next sentence automatically shown in the window, and similarly go on, and at the end its again back to the initial point. can any one help me. thanx. the main problem is that how i get information that computer speak first sentece, b/c i showed the text and images, but not at that time when sentence end.

you can responce it at uiwpk@msn.com

thanx very much

Right To Left Arabic Text Problem
Friends,

I need an arabic text like ": (hrs)work Employee" (here i have written in english)
this is working fine in the design mode.
when i run the report iam getting like ": )work ( Employee"
how come?
very strange....I am using crystal reports 9 with sp5
can anyone help me in this regarding?

Thanks

Convert Numbers To Arabic Text In VB6
Hello,

I was wondering if anyone got a code for a function to convert numbers to arabic text ...

I got one for converting numbers to English text .. It's like:


Code:


Option Explicit
Public Numbers As Variant, Tens As Variant

Sub SetNums(NType As String)
Numbers = Array("", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen")
Tens = Array("", "", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety")
End If
End Sub

Function WordNum(MyNumber As Double) As String

Dim DecimalPosition As Integer, ValNo As Variant, StrNo As String
Dim NumStr As String, n As Integer, Temp1 As String, Temp2 As String

If Abs(MyNumber) > 999999999 Then
WordNum = "Value too large"
Exit Function
End If

SetNums (NumType)

' String representation of amount (excl decimals)
NumStr = Right("000000000" & Trim(Str(Int(Abs(MyNumber)))), 9)
ValNo = Array(0, Val(Mid(NumStr, 1, 3)), Val(Mid(NumStr, 4, 3)), Val(Mid(NumStr, 7, 3)))

For n = 3 To 1 Step -1 'analyse the absolute number as 3 sets of 3 digits
StrNo = Format(ValNo(n), "000")

If ValNo(n) > 0 Then
Temp1 = GetTens(Val(Right(StrNo, 2)))
If Left(StrNo, 1) <> "0" Then
Temp2 = Numbers(Val(Left(StrNo, 1))) & " hundred"
If Temp1 <> "" Then Temp2 = Temp2 & " and "
Else
Temp2 = ""
End If

If n = 3 Then
If Temp2 = "" And ValNo(1) + ValNo(2) > 0 Then Temp2 = "and "
WordNum = Trim(Temp2 & Temp1)
End If
If n = 2 Then WordNum = Trim(Temp2 & Temp1 & " thousand " & WordNum)
If n = 1 Then WordNum = Trim(Temp2 & Temp1 & " million " & WordNum)

End If
Next n

NumStr = Trim(Str(Abs(MyNumber)))

' Values after the decimal place
DecimalPosition = InStr(NumStr, ".")
Numbers(0) = "Zero"
If DecimalPosition > 0 And DecimalPosition < Len(NumStr) Then
Temp1 = " point"
For n = DecimalPosition + 1 To Len(NumStr)
Temp1 = Temp1 & " " & Numbers(Val(Mid(NumStr, n, 1)))
Next n
WordNum = WordNum & Temp1
End If

If Len(WordNum) = 0 Or Left(WordNum, 2) = " p" Then
WordNum = "Zero" & WordNum
End If

End Function

Function GetTens(TensNum As Integer) As String
' Converts a number from 0 to 99 into text.
If TensNum <= 19 Then
GetTens = Numbers(TensNum)
Else
Dim MyNo As String
MyNo = Format(TensNum, "00")
GetTens = Tens(Val(Left(MyNo, 1))) & " " & Numbers(Val(Right(MyNo, 1)))
End If
End Function

Need Help About Urdu Arabic Text In Grid
i save Urdu or arabic text in access database in join characters form but it is not showing joined in datagrid and in report want i do for this

Right To Left Arabic Text Problem
Friends,

I need an arabic text like ": (hrs)work Employee" (here i have written in english)
this is working fine in the design mode.
when i run the report iam getting like ": )work ( Employee"
how come?
very strange....I am using crystal reports 9 with sp5
can anyone help me in this regarding?

Thanks

Crstal Repor Arabic Text And VB 6.0
Hi,
I have a crystal report in which i use a textbox with arabic text and when i tried to run that that report in crystal report 8.0 it shows me the arabic but when i tried to run that report thru vb 6.0 it shows the arabic text in un-readable shape.


Any idea how i can solve this problem



Thanks in advance

How To Display Arabic Text In PictureBox?
I am using Windows NT 4.0 (normal English version) and VB 6.0. How do I display Arabic text in a PictureBox? I was hoping it would be as easy as saying

Picture1.Font.Name = "Traditional Arabic"
Picture1.print "Hello in Arabic"



Thanks! (Gert Lombard - gertl@osias.com)

Typing Arabic Text Inside Textbox
dear friends...
can anybody help me to type arabic text inside a textbox at run time..

thanx in advance..

Textbox Control That Accept Arabic Text
Hi
How can I use the textbox control in vb 6 that accept Arabic text as an input.

Directional Lights
Hi if have made an directional light. It lights down (0,-1,0) however it also shines down inside the building :S how can i change this so it only shines outside. When i'm standing inside the building that the light only shines inside through the windows or cracks or whatever?

Directional Keys
How can I make something happen when I push down each of the directional keys (up, down, left, right) and when I let go of them again?

Directional Keys
anyone know how to send directional the keys?

need help, I am sure that someone out there can help.

thanks, Oscar

Directional Arrows
hi again Sarah
I assume that this is to do with ur moving items from one listbox to another? If u dont want to use the simple < and > symbols for button captions u can change the button's Style property to Graphical and then click on the ... button in the Picture property to load any arrow gif that you have on your machine

regards
Stuart

Directional Keys
Has anybody got any ideas for moving a image on a form when run with the up,down , right, left keyboard buttons??

Ian

Up,Down,Left,right Directional Buttons
Hi,

I can't seem to find these directional buttons anywhere in the ASCII table. This would mean I can't program these buttons through keypress. I've look at other functions such as keyup and keydown but it doesnt seem to be related. Are these buttons programmable?

Directional Arrow *****Resoved*****
My problem is:

I need to draw an arrow (size 200) inside a picturebox, pointing towards a given angle.

Ex: angle=90 size=200 = ------------>

How can I do this??

Thanks in advance.

DSERKEZ

Newbie Alert: Directional Keys And Transparent Images?
I know these topics are often discussed on this forum, but the answers are rarely to the point. I am unfamiliar with the ActiveX libraries, but I'm not a dunderhead--just too lazy to look these things up.

My questions:

1.) If I have a transparent gif, is there a simple way to load that image as transparent? Is DrawTransparent from msimg32.dll the best/easiest way to do this? I don't need anything fancy and I don't want to go through the trouble of merging two images at runtime to simulate the effect (surprisingly, I know how to do that but not how to load a transparent image). I have not had any success with DrawTransparent so far, so if there are any quirks that I should know about, please let me know.

2.) I want to use directional keys (not the keys on the number pad) for input in a simple game--how can this be accomplished with the DirectInput libraries?

I am sure these are two commonly asked questions with simple answers. If anyone has those answers and wants to save me some time, I would greatly appreciated it.

<^iMp^>

I Don't See Hebrew In VBA Editor
hello everyone.

i am using hebrew in my excel project. one of the sheet's name is in hebrew but in VBA project explorer i turns into ???????.
does someone know how to fix it ?

thanks, tal.

Datagrid And Hebrew
i am looking a datagrid in which i can write in hebrew and it will apppaear ok
and that the written text cn be read /wrtite to acces with no problem
thnaks in avance
peleg

Hebrew Font(s)
This is (possibly) the wrong place to ask, but does anyone know whether there are any special fonts for writing in Hebrew? I have been requested to create a website in English with Hebrew pages & I have no idea how IE will parse the hebrew pages?

Any help would be greatly appreciated!

Metal Shine, Antialias Edges And Better Drop Off With Directional Light
Hello guys

I do not know if this is the correct forum to post this in, but anyway, here it goes.

I am developing an application(in C#) that uses directx to show some geometry. I am trying to make it as close as possible to the Viewpoint technology(www.viewpoint.com) regarding the GUI experience. I am not trying to develop a new format, nor to be able to show the geometry over the internet.

I have come quite close, and yet... then again.... I have some problems which I cannot solve:
1) Viewpoint gives the geometry a metal shine, which makes it look really cool? How do you do that? I have been trying to make it using material specular settings, but I totally burned (over lighted) the geometry. Is there a standard way to do this?
2) The edges shown by the viewpoint player are somehow antialiased, which makes the geometry look awesome. How can this be achieved using DirectX?
3) It looks like that the use of light are more manually made. It looks like it is a directional light, but that the angle between the normal and the light is controlled so the dropoff looks bigger. Can this be achieved using vertexshader in DirectX, or how can this be made?

Well, a lot of questions. I hope this is the correct forum for this.

Regards and thanks in advance for any answers,

Lasse Johansen

RTB Hebrew And English Get Mixed Up.
Hello Everybody,
Can you please tell me how can i use RTL Language And LTR Language together on a RTB?

if I use both Languages i get mixed sentances and it dosent look good.

USING RichTextBox1.TextRTF I CAN see it well
But USING RichTextBox1.Text - make it Mixed up.

Anyone?


Thank you all in advance,
Eran

RichTextBox In Hebrew Environment
Hello!

While using RichTextBox in Hebrew enveronment, I met following problem :
when I try to add a text(or replace with a text) that begins or ends with something other than hebrew letter, the RichTextBox changes text direction to Left-To-Right. So, when I try to Find-And-Replace something in hebrew with, say, a number, the text becomes absolutely unreadible.

Maybe somebody has solve this problem in the past?

Thank you in advance,

Jack.

Translate Cp437 Hebrew Chars From Dos
Hi all .

I'm trying to translate an old ms dos file *.dat
the *.dat file was written in code page 437.

MyCode
======
Open "2000wiy.dat" For Random As #1 Len = Len(MyRecord)
Do While Not EOF(1) ' Loop until end of file.
Get #1, Position, MyRecord
Position = Position + 1
Loop
Close #1

problem 1
=======
In access 97 when using the debugger, all chars in code page 437
are display as gibrish.
I need a way to "tell" access to work in code page 437

problem 2
=======
Can i convert this gibrish some how , and store my hebrew text chars
to access 97, on the fly ?

Need To Convert Vb6 Application To Use Hebrew Language, What To Do ?
hello,

i do have one application written in VB6 using Ms-Access.
it's a large application having many user entry forms/dialog and
reporting is done in excel. though i managed to make it work with
different date format setting, it's not compatible with other RTL
languages.

can somebody help to convert it in Hebrew ?

Any Suggestion / Links / Demos / Code snippets / Tutorials / White
Paprers / How to guides
will be highly appreciated.

thanks in advance,

Niraj sikotara.

Need To Convert Vb6 Application To Use Hebrew Language, What To Do ?
hello,

i do have one application written in VB6 using Ms-Access.
it's a large application having many user entry forms/dialog and
reporting is done in excel. though i managed to make it work with
different date format setting, it's not compatible with other RTL
languages.

can somebody help to convert it in Hebrew ?

Any Suggestion / Links / Demos / Code snippets / Tutorials / White
Paprers / How to guides
will be highly appreciated.

thanks in advance,

Niraj sikotara.

Need To Convert Vb6 Application To Use Hebrew Language, What To Do ?
need to convert vb6 application to use Hebrew language, what to do ? ...?

Hebrew Wont Show In Listbox
how do i enter hebrew characters into a listbox in a stand alone vb6 application ?i have sp5, and i am putting hebrew fonts that work with textbox but not with the listbox, what is the work around ? thanks all.

 

Need To Convert Vb6 Application To Use Hebrew Language, What To Do ?
hello,

i do have one application written in VB6 using Ms-Access.
it's a large application having many user entry forms/dialog and
reporting is done in excel. though i managed to make it work with
different date format setting, it's not compatible with other RTL
languages.

can somebody help to convert it in hebrew ?

Any Suggestion / Links / Demos / Code snippets / Tutorials / White
Paprers / How to guides
will be highly appreciated.

thanks in advance,
Niraj sikotara.

Data Report Doesn't Support Hebrew?
Hello Everybody,

I resume my quest to get to the latest level of DB development again(WITHOUT BOOK yet).

I was asked to do some little program for a company: Record Workers and calculate fees, etc etc.

I've done most of the programming stuff but now everything I've done is doomed if I cannot make the DataReport print Hebrew. I've tried to change the font to hebrew ones and set the Script to hebrew with no effect.


it's a matter of life or death, help please

Arabic In VB 6
hi all

i have a problem and wish someone can help me

i wrote a simple VB 6 code to export the clipboard contents to a text file using clipboard.gettext command . it worked well when the clipboard content is written into English , but when it is Arabic the output is ?????????? ?????? ?????? ? ????? and so on . so what to do???


Note:
1)My non-unicode language is set to be Arabic
2)I checked the option "Extend support of advanced text services to all programs"
3)I have VB 6 service pack 6
4)I have no problem to write in Arabic in VB but the problem is in using the clipboard.gettext command


thanks for being concerned

Arabic In VB 6
hi all

i have a problem and wish someone can help me

i wrote a simple VB 6 code to export the clipboard contents to a text file using clipboard.gettext command . it worked well when the clipboard content is written into English , but when it is Arabic the output is ?????????? ?????? ?????? ? ????? and so on . so what to do???


Note:
1)My non-unicode language is set to be Arabic
2)I checked the option "Extend support of advanced text services to all programs"
3)I have VB 6 service pack 6
4)I have no problem to write in Arabic in VB but the problem is in using the clipboard.gettext command


thanks for being concerned

I Need Arabic TTS ?
PEACE BE WITH YOU

I REALLY NEED arabic TTS to add it in my program ?

how to solve this case ?

thanks

Arabic In VB
I'm making an application on VB6 with a database using MS SQL.

Some fields in SQL are written in arabic.
But when I read them in VB, I they appear as question marks ("?"); knowing that the text box has the Arabic font selected.

Can anyone please tell me what seems to be the problem?

Thank you all

Arabic In Vb
I would like to make a simple arabic text editor for an english windows, can I use richtextbox control and how? or what should I do?
arabic is written from right to left and some characters are connected to each other (by the computer), I am able to write in arabic in an english microsoft word 2000
Thanks

Arabic?
hi Mathew, Megatron, Kedaman Jop and all..

does anyone of you know where to get/buy a control or OCX maybe, to allow me to use arabic script in VB?

(so that users can type in arabic key words in my search program using the ussull english windows operating system)

any information of any kind on this would be help full,


thanks guys!
Abdul

Arabic In VB 6
hi all

i have a problem and wish someone can help me

i wrote a simple VB 6 code to export the clipboard contents to a text file using clipboard.gettext command . it worked well when the clipboard content is written into English , but when it is Arabic the output is ?????????? ?????? ?????? ? ????? and so on . so what to do???


Note:
1)My non-unicode language is set to be Arabic
2)I checked the option "Extend support of advanced text services to all programs"
3)I have VB 6 service pack 6
4)I have no problem to write in Arabic in VB but the problem is in using the clipboard.gettext command


thanks for being concerned

Copyright © 2005-08 www.BigResource.com, All rights reserved