By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,695 Members | 1,597 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,695 IT Pros & Developers. It's quick & easy.

Common Dialog Box Not working

P: 52
I have an error using the Common Dialog Box control. I got an error that says "No fonts installed. Open Control Panel to install fonts.". I checked the fonts folder and there is so many fonts there.

Here is my code:

ComDlg.Flags = cdlCFBoth Or cdlCFEffects
rtfDoc.SelFontName = ComDlg.FontName
rtfDoc.SelFontSize = ComDlg.FontSize
rtfDoc.SelBold = ComDlg.FontBold
rtfDoc.SelItalic = ComDlg.FontItalic
rtfDoc.SelUnderline = ComDlg.FontUnderline
rtfDoc.SelColor = ComDlg.Color

I'm using Access 2003. It is working in Access 2000 file format but not in Access 2002-2003 format.
Oct 2 '06 #1
Share this Question
Share on Google+
2 Replies

P: 143
Not quite sure what code you are using, as I have not come across any references to fonts. Have a look at this web site for, what I think, is a better example.
Oct 2 '06 #2

P: 143
Sorry, I think I gave you the wrong link. Try this one.
Oct 2 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.