Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Urgent: How to get Fonts Directory - Thanks
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00390425
Message ID:
00390450
Views:
9
>Hi all, I need to knows where are fonts in the client machine and how to register new fonts in the distribution or programmatically.
>
>Thanks in advance!!!!!!

While Doug's correct that in most cases the directory is WINDOWS\FONTS, it may not be necessarily true in every case. The Windows Script Host can retrieve this information this way:
oShell = CREATEOBJECT("WScript.Shell")
lcfontdir = oShell.SpecialFolders.Item("Fonts")
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform