Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

'No Fonts' invoking commondialog.showfonts in W2K VB6

Posted on 2001-06-30
3
Medium Priority
?
287 Views
Last Modified: 2013-12-03
Hi

I wish to invoke the commondialog1.showfonts function. The colour pallette works fine under win 2000 but it claims There are no fonts installed, please go to control panel and install fonts. There are lots of fonts !
I am running VB6.0 SP3

Any ideas?

Stewart
0
Comment
Question by:nvms
[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
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
JonFish85 earned 200 total points
ID: 6241012
cdl.Flags = cdlCFBoth
cdl.ShowFont

where cdl = name of commondialog control. hope that helps!
0
 

Author Comment

by:nvms
ID: 6241597
ey that did the trick... must have been late and I didn't read the help file hard enough. Thanks alot.. What would we do with EE !

Regards

Stewart
0
 
LVL 6

Expert Comment

by:JonFish85
ID: 6241606
I dono where I found that, but it wasnt in MSDN. A book somewhere I think :-)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

704 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