Solved

How to get a combobox that I can define the dropdown list FONT.

Posted on 2004-10-18
7
368 Views
Last Modified: 2013-12-03
I have an application developed under win 98 (arabic support) using ACCESS 97 and VB6
the comboboxes used to display the arabic data correctly.
when I Try to use the same application in win 2000 (although I have arabic support) The combo displays the saved data correctly in arabic in the textbox part of it, but displays non-readable characters in the drop down part of it. I beleive that the font property affects only the test box part not the drop down part of the control.
Is there a way that makes me keep the customer data (arabic) while using the same control in my code?.
If not do you have another drop down control that can do that ? I prefer if it is free (I really need to fancy features, all what I want Is to display, drop down, and select text. Thanks

0
Comment
Question by:fmichail
  • 3
  • 2
  • 2
7 Comments
 
LVL 14

Expert Comment

by:Shiju Sasidharan
Comment Utility
Hi
i think Not all fonts support Arabic
i tried with Times New Roman and  MS Sans Serif successfully
try with any of these fonts or u can also find more ...

if u still having the problem try to change the
Control Panel->Regional Settings ->  Locale settings -> Arabic
and set this as default and try

again u r having the same problem then install Visual Studio Service Pack5 and try the above
it is better to have latest updations of the operating system as well..

;-)
Shiju



0
 
LVL 16

Expert Comment

by:jimbobmcgee
Comment Utility
Some of the concepts posted in http://www.microsoft.com/middleeast/msdn/VB_aApplic.aspx may be of use to you.  Otherwise, are you using a Microsoft Forms 2.0 Combo box?  I am of the impression that these support Unicode characters, which may assist you...

J.
0
 

Author Comment

by:fmichail
Comment Utility
jimbobmcgee

The article is great, it states that the arabic support is in SP3 ov VB6. In microsoft site I found SP6. If i install SP6 should it include the updates done in SP3 Or I have to search for SP3?, and if I have to search for it where can I.
by the way, The combo control displays the characters in real arabic (Arabic transparent forn), but the problem is in the list part of the combobox, where I can not define the font to be (Arabic transparent). also I do not want to use unicode, because the application has already data on MSACCESS 97 since 1999, and I do not want to loose it (Unless if you have an easy way to map it to Unicode).
Thanks
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 14

Expert Comment

by:Shiju Sasidharan
Comment Utility
0
 
LVL 14

Expert Comment

by:Shiju Sasidharan
Comment Utility
0
 
LVL 16

Accepted Solution

by:
jimbobmcgee earned 250 total points
Comment Utility
Yes, SP6 should contain all the updates in SP3.

If this doesn't help, try using the MS-Forms 2.0 Combobox (right-click toolbar, click add components, choose from list).

I also found this download which may provide the MS-Forms 2.0 Controls, if you do not already have them:   http://www.elec.state.nj.us/Download/setuppad.exe.

No idea about Unicode in Access, but I was under the impression that Access has been using Unicode for a while now -- VBA certainly does...

HTH

J.
0
 

Author Comment

by:fmichail
Comment Utility
Dear Jimbobmcgee
sorry for being late I was out of country (and far from development for some time). your guide to me was great, thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now