Results 1 to 4 of 4

Thread: Error with the Common Dialog

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    28

    Post

    Hi I'm trying to change the font in a Rich Text Box. So when I run a line like this

    CommonDialog1.Action = 4

    I get A msgBox Saying
    "There are no fonts installed. Open the fonts folder from the Control Panel to install fonts."
    then I press OK and it gives me a Run-time error '24574' no fonts exist Error, so I go to the fonts folder and there are plenty
    of fonts.

    Does any body have a solution or alternative?

    Thanks all

  2. #2
    Hyperactive Member jeba's Avatar
    Join Date
    Feb 2000
    Posts
    265

    Post

    Hi!
    have u set the flag property of Commondialog?
    if not assign the according value to this property and try.
    Bye!
    Jebs.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    28

    Post

    Thanks a lot

    but wut dos the flag peoperdy do?


  4. #4
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    It sets the various options for the Font Dialog, ie.

    Which types of fonts to show; Screen, Printer or Both, etc.


    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Certified AllExperts Expert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width