Solved

'No Fonts' invoking commondialog.showfonts in W2K VB6

Posted on 2001-06-30
3
281 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

810 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