>Can anyone please show me some VFP5 code to install the foxfont.fon font programmatically using the API.
>
>I know it uses the AddFontResource function but I would love to see the solution if someone has it available.
>
>Thanks,
David,
AddFontResource doesn't install the font, but simply loads it for use by adding it to the Windows font table. When finished with the font, it should be removed using RemoveFontResource. There isn't an API function that I'm aware of that installs this information. I think it's done by adding items to the registry.
George
Ubi caritas et amor, deus ibi est