|
-
Apr 1st, 2015, 02:26 AM
#1
Thread Starter
Junior Member
Difficulty in opening the font
Hello Friends
This is my language Farsi
Similar to Arabic
My problem is that the font can not open this file and do a "TextBox"
In fact, in the form of exotic displays
My files
VB Project Attachment 125253
Text File 1.txt
This form must be
Attachment 125245
Please help me
-
Apr 1st, 2015, 02:32 AM
#2
Thread Starter
Junior Member
-
Apr 1st, 2015, 02:35 AM
#3
Thread Starter
Junior Member
-
Apr 1st, 2015, 06:48 AM
#4
Re: Difficulty in opening the font
The built-in VB textbox does not support the Unicode needed to display that text.
Krool's common controls replacement project contains a TextBoxW control that does:
http://www.vbforums.com/showthread.p...mmon-controls)
-
Apr 1st, 2015, 03:24 PM
#5
Re: Difficulty in opening the font
In order for VB6 to read and display UTF-8 encoded text files, you need a routine (such as this) that reads and converts UTF-8 text files to the UTF-16 LE format that VB6 Strings uses and you also need a Unicode Edit (or Rich Edit) control (such as these).
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
-
Apr 1st, 2015, 04:09 PM
#6
Re: Difficulty in opening the font
You can to use this font.
ArabicUI.zip
-
Apr 2nd, 2015, 09:35 AM
#7
Thread Starter
Junior Member
Re: Difficulty in opening the font
 Originally Posted by The trick
Thank you to guide you
Your project is working correctly
But my project with the font "Arial" is not even a "Script" I could not put it into practice Arabic
-
Apr 2nd, 2015, 09:54 AM
#8
Re: Difficulty in opening the font
You should select an Arabic codepage.
-
Apr 2nd, 2015, 09:57 AM
#9
Thread Starter
Junior Member
Re: Difficulty in opening the font
 Originally Posted by Bonnie West
In order for VB6 to read and display UTF-8 encoded text files, you need a routine (such as this) that reads and converts UTF-8 text files to the UTF-16 LE format that VB6 Strings uses and you also need a Unicode Edit (or Rich Edit) control (such as these).
Thank you so much it worked
-
Apr 2nd, 2015, 10:09 AM
#10
Thread Starter
Junior Member
Re: Difficulty in opening the font
 Originally Posted by fafalone
Thank you very much to guide you
-
Apr 2nd, 2015, 10:10 AM
#11
Thread Starter
Junior Member
Re: Difficulty in opening the font
 Originally Posted by Bonnie West
In order for VB6 to read and display UTF-8 encoded text files, you need a routine (such as this) that reads and converts UTF-8 text files to the UTF-16 LE format that VB6 Strings uses and you also need a Unicode Edit (or Rich Edit) control (such as these).
Thank you very much to guide you
-
Apr 2nd, 2015, 10:11 AM
#12
Thread Starter
Junior Member
Re: Difficulty in opening the font
 Originally Posted by The trick
You should select an Arabic codepage.
Ops! Ko
Thank
Tags for this Thread
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
|