Solved

Using Special fonts in VB

Posted on 1998-08-04
8
219 Views
Last Modified: 2013-12-02
Can the VBasic text box object support a font that works from ritght to left like in Arabic ?

1.If so how can I  include such a font in the VBasic? What would I have to do to make such a font work in VBasic?

2. What about contextual analysis of the font? Will that be supported? If not how do I get THAT to work in VBasic?
0
Comment
Question by:khurshid
8 Comments
 

Author Comment

by:khurshid
ID: 1467824
Edited text of question
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1467825
You will need to have the font installed on your computer.  
Set the RightToLeft property = True

I can't test this (so I'm leaving it as a comment) but that's pretty much the gist of it.
0
 
LVL 1

Expert Comment

by:KEWL
ID: 1467826
I think if you set the width to a negative value it reverses the text. I havnt tried this but I read it somewhere
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Accepted Solution

by:
jf26028 earned 50 total points
ID: 1467827
You can put the font into a resource file and use it that way.  I think you can do this without installing the font.
0
 

Author Comment

by:khurshid
ID: 1467828
To jf26028,
      What exactly do you mean by a resource file? Explain.
     
0
 

Author Comment

by:khurshid
ID: 1467829
To jf26028,
      What exactly do you mean by a resource file? Explain.

To KEWL,
      It does not accept a negative value and returns an error message as soon as I press Enter after giving it a -ive value..
To clifABB,
    I'm using VB 4.0, if you are referring to setting the Right to Left  property of the textbox object, then it does not exit in the properties menu for the textbox in VB 4.0      
0
 
LVL 1

Expert Comment

by:jf26028
ID: 1467830
A resource file is a file that can contain every resource that your program uses, such as bitmaps, avis, strings, and, I think, fonts.  If you store the font in the resource file, you can refrence it instead of just the installed fonts on the machine.  Look up resource in the help file, and also in the owners area at the microsoft site, there is a resource editot upgrade that might help you.
0
 

Expert Comment

by:EdJ
ID: 3155157
What you wanted is to Shift the Direction From left To Rigth to Right To left

In VB5 you can set the Right To Left property to True

Also Set the font to Arabic so the text will be readable

Hope this will help u !

Want it in Runtime ?

Why i'm not getting points ? Also 'm losing some watching this answers ....


E-mail Me

edjohnson@parsmail.com

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best way to parse out a json string in VB6? 10 275
Windows Script Host failed (Access is denied.) error 6 314
How are Button Fonts Created? 2 41
Sub or Function is not defined 6 50
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question