installing a font by using code
From: Willie jan (unknown_at_unkown.com)
Date: 01/11/05
- Next message: Cor Ligthert: "Re: VB.NET vs C#"
- Previous message: Cor Ligthert: "Re: VB.NET vs C#"
- Next in thread: Ken Tucker [MVP]: "Re: installing a font by using code"
- Reply: Ken Tucker [MVP]: "Re: installing a font by using code"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 13:20:18 +0100
Hi,
i tried to install a font by using code like:
res = CreateScalableFontResource(0, Fontlst.Item(i), Fontlst.Item(i),
String.Empty)
res = AddFontResource(Fontlst.Item(i))
That works fine when the pc does not reboot,
however after a reboot these added fonts disappear.
Is there a way to keep them installed also after a reboot?
There was a doc saying to find the fonts in the registry under the local
machine\microsoft\software\currentversion\fonts, but under xp this key does
not exist.
Thanks for your help.
Willie.
- Next message: Cor Ligthert: "Re: VB.NET vs C#"
- Previous message: Cor Ligthert: "Re: VB.NET vs C#"
- Next in thread: Ken Tucker [MVP]: "Re: installing a font by using code"
- Reply: Ken Tucker [MVP]: "Re: installing a font by using code"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|