Many thanks, Steve and Shawn. I can see where I need to go now.
Regards, Gary Harpin ________________________________ The other day upon the stair, I saw a man who wasn't there. He wasn't there again today, I think he's from the CIA. [No Disclaimer] >-----Original Message----- >From: Discussion of advanced .NET topics. [mailto:ADVANCED- >[EMAIL PROTECTED] On Behalf Of Steve Johnson >Sent: Friday, November 10, 2006 12:25 PM >To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM >Subject: Re: [ADVANCED-DOTNET] Fonts as resources?? > >>On 11/10/06, Gary Harpin <[EMAIL PROTECTED]> wrote:I would like to >store >a custom font as a resource for an application, is >>this possible? >> >>I don't want to install the font in the computers font directory because >>it is too easy for people to 'borrow' it. > > >When your app starts, you can write the font out to a file, then install >it, >using the following APIs: > CreateScalableFontResource > InstallFontResource > >When the app shuts down, remove the font by calling: > RemoveFontResource > >-- >Steve Johnson > >=================================== >This list is hosted by DevelopMentor(r) http://www.develop.com > >View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com