From: John H. <jd...@bi...> - 2001-01-17 17:39:47
|
> > Is there a programmatic way to get the location of the font > > directory? > > I'd like the path to my fonts in a variable. Right now, I use > > getenv("WINDIR") and tack a \\fonts onto the end of it. There has > > to be a cleaner way. Any and all help will be appreciated. > You could use a registry read. Typically that is a variable based > on which user is currently active. Look at HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Fonts Cheers, john |