-
I'm interested in writing a small vb app to be distributed with a file containing font updates. Essentially, I want to go into the c:windows\fonts folder, find all fonts containing a string (ex: bondo), delete them and replace them with the current fonts in the folder attached to the app. It has to be a one button kind of deal, since I'm dealing with salespeople and other field types who apparently can't just download and replace the damned things. BTW, the program has to work even if there aren't any of the font types ob the machine.
I really appreciate any and all responses and thank you all in advance. I trust the challenge is nothing you folks haven't scoffed at before.
Bill Staley
-
Umm...i'm not 100% sure, but i think you can just add the new fonts to the folder and if there are other fonts with the same name in there they will be replaced. So basicly just use the copy code to copy the fonts in the app directory to the font directory.
Code:
'i think it's
FileCopy App.Path & "\font.font", "C:\Windows\Fonts\text.txt"
Hope that helps,
D!m
[Edited by Dim on 07-29-2000 at 03:08 AM]