469,626 Members | 883 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

Common Dialog Box Not working

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
ComDlg.ShowFont
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
2 1857
Tanis
143 100+
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.

http://www.mvps.org/access/api/api0002.htm
Oct 2 '06 #2
Tanis
143 100+
Sorry, I think I gave you the wrong link. Try this one.

http://www.mvps.org/access/api/api0001.htm
Oct 2 '06 #3

Post your reply

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

Similar topics

5 posts views Thread by John Lauwers | last post: by
3 posts views Thread by CaribSoft | last post: by
23 posts views Thread by George | last post: by
reply views Thread by Bo Gusman | last post: by
6 posts views Thread by Steve Barnett | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.