Solved

'No Fonts' invoking commondialog.showfonts in W2K VB6

Posted on 2001-06-30
3
284 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 50 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…
Suggested Courses
Course of the Month7 days, 3 hours left to enroll

623 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