|
-
Jul 12th, 2000, 05:53 AM
#1
Thread Starter
New Member
I've written a small Word97 macro that supports the Right-Left direction of writing Arabic characters in the standard Win95/98 environment (i.e not Arabic windows). Characters are entered either via a virtual keyboard or a hidden textbox and reproduced on the document using wordbasic's "selection.typetext" command. It supports any fonts with Unicode Arabic characterset (U+0600-U+06FF, U+FB50-U+FDFF & U+FE70-U+FEFF)
As far as word97 is concerned, this macro satisfies my needs. The problem arises when I decided to port this macro to the standard VBasic (I've installed VB6 Ent Ed). The "ChrW" command that works in Word97 doesnt really work in VB.
For example in Wordbasic the statement:
(Assuming the font used has Arabic charset)
TextBox1.Text=ChrW(&HFEED) ---> gives you the Arabic "Wau"
If this is written in VB:
Text1.Text=ChrW(&HFEED) ---> gives you a "?"
How can I resolve this problem?
I plan to come up with a stand alone simple editor (along the line of Window's notepad) that supports R-L Arabic writing.
Helps appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|