Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I install my own font?
Message
From
16/01/2001 14:38:32
 
 
To
16/01/2001 12:02:24
Zoltan Hermann
Unit Informatics Ltd.
Budapest, Hungary
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00464252
Message ID:
00464339
Views:
20
>Hi, I need a quick help.
>I use a non-standard font in my application, and I need to intall it to the client's computer. This would be a universal setup application created with the VFP6 setup wizard. Is it possible to install it with my application's files?
>
>I need a really fast help...

You have to copy it to the Windows/Font directory. Of course, the problem is that the Windows directory is not always in the same place. In NT it is generally WINNT (in this machine is just NT), and so on...

But you can get to where it actually is trought the Window Scripting Host:
loShell = CreateObject( "WScript.Shell" )
? loShell.SpecialFolders("Fonts")
So you can make an executable and launch it at the end of the installation (the setup wizard allows you to do that), that copies your fonts there.

Just remember that to be sure that WSH is installed your client machines have to have IE 4.0 or higher installed (there are other alternatives, but I really can't find many machines without it lately).

Hope this helps. Tell me if you need something else.
Previous
Reply
Map
View

Click here to load this message in the networking platform