Results 1 to 6 of 6

Thread: Installing fonts

  1. #1

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Installing fonts

    To install fonts on Windows XP, you can simply copy the TTF files over to the %WinDir%\Fonts\ folder. Will this work on other versions of Windows? Even Vista?

    I'm using a font that isn't available on all Windows versions, and in Sub Main() I'm wanting to install the fonts before the application loads.

    Will this work?

    I would do it using an installer, but unfortunately, that isn't an option.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Installing fonts

    If I remember correctly after installing the font, you want to broadcast to all windows that the font is available. Ahh, that triggered a old man's brain... see if this works. Here's another one. Neither tested on Vista by me.

    If you don't have a response tomorrow evening, I have access to all O/S from Win95 and up. I can run a test for you on the O/S you are interested in. If so, upload a quick sample project with the font (as file or resource as your project requires it).
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Installing fonts

    Quote Originally Posted by LaVolpe View Post
    If I remember correctly after installing the font, you want to broadcast to all windows that the font is available. Ahh, that triggered a old man's brain... see if this works. Here's another one. Neither tested on Vista by me.

    If you don't have a response tomorrow evening, I have access to all O/S from Win95 and up. I can run a test for you on the O/S you are interested in. If so, upload a quick sample project with the font (as file or resource as your project requires it).
    Thanks a bunch LaVolpe.

    I'll check out the links and have a sample posted up. It might a little over an hour though as I have to go somewhere in a few minutes.

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Installing fonts

    DigiRev, if you can get it to me within 20 minutes, I can test it. Otherwise as I mentioned in my post, it will have to wait til I get home from work tomorrow evening. Of course someone else with similar O/S configs may be able to test it for you sooner.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Installing fonts

    Quote Originally Posted by LaVolpe View Post
    DigiRev, if you can get it to me within 20 minutes, I can test it. Otherwise as I mentioned in my post, it will have to wait til I get home from work tomorrow evening. Of course someone else with similar O/S configs may be able to test it for you sooner.
    Really wish I could, but I gotta leave in just a few minutes.

    Tomorrow will be fine, though. Not in a huge hurry.

    Thanks again.

  6. #6
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Installing fonts

    One more thing (not positive about Vista), I do recall, been quite a while, that there is a relatively easy way to just use the font for your app. In that case, you'd only need the path to the font, i.e., app/path maybe. I don't know if you want the font available to the entire system or not.

    Edited: http://allapi.mentalis.org/apilist/A...Resource.shtml
    Last edited by LaVolpe; Sep 24th, 2009 at 10:28 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Tags for this Thread

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