Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

using right to left font in VB5

Posted on 1998-11-25
7
Medium Priority
?
197 Views
Last Modified: 2013-12-02
Hi,
   I need this quickly and in detail:
  1. How can i change the text box object properties of VB so that it can entertain a font which works from right to left like in Arabic.
  2. I have come to know that i will have to create a selection of ocx objects for use in VB. So, how is an ocx created?
  3. Is  there any way i could do it without the creation of     ocx objects.  i.e. within the VB environment. IF so then       how.
 Once again please do give me details.
0
Comment
Question by:khurshid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 4

Expert Comment

by:idcanada
ID: 1446730

Ok.

I would be able and would like to solve your question but I am confused...
Could you please post some more information on what it is that you want to do.

Details...

0
 

Author Comment

by:khurshid
ID: 1446731
hi,
   ok, i think point 2 of my question may have confused u. I want the text box of VB to be able to use font which works from right to left like in Arabic or Urdu. This way i can create a database which can be stored in the Urdu language. How can i make my font to work from from right to left. Can it be done within the VB environment? If not then do i need to create an ocx for it to work? If so then how do i create the ocx ( include format)? Please give details. I need the easiest way to make this work if possible.
   thanks.
0
 

Author Comment

by:khurshid
ID: 1446732
Adjusted points to 210
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:khurshid
ID: 1446733
Its been a long time and i havent had any response . Please Respond.
0
 

Author Comment

by:khurshid
ID: 1446734
its been over a month, if u cant answer than let me know so that i could ask someone  else!
0
 
LVL 1

Accepted Solution

by:
bear454 earned 420 total points
ID: 1446735
The right to left property of objects in VB is determined by the OS, and the the application version.  In order to use a reversed font, you have to be running your system in a language that uses a reversed font.  The property is, as you have noticed, read-only because it depends on the version of windows.

There is a cheat, assuming that the characters in the font you are using are facing the correct direction, you can reorder the string input in the inverse order, so it appears to be reversed:

Dim OldString as string 'The original input
Dim NewString as string 'The reversed string

Do Until OldString.length = 0
    NewString = NewString & Right(OldString,1)
Loop
0
 

Expert Comment

by:EdJ
ID: 3155145
Little bit Confused ! Ok Here is my Suggestion..

YOU WANT IT IN DESIGN TIME ?

set the Right to Left Property of the text box property to True

Set the font property to any Arabic fonts, like "traditional Arabic"

Hope it will help you !

WANT IT IN RUNTIME ?

E-mail Me

Edjohnson@parsmail.com

0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

719 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