Installing Fonts

Thanks.

Yeah that will work. But there's usually some sort of 'special' .NET way of doing things that seems unlogically complicated. Just wondered if there was for this as well.

Just to test it i added these lines below.

Visual Basic:
        MsgBox(File.Exists("%windir%\fonts\arial.ttf"))
        MsgBox(File.Exists("c:\winnt\fonts\arial.ttf"))

The %windir%/fonts opens the right directory if i enter it into Start-Run. But returns a false message, the second line returns a True message. Why isnt the %windir% working??
 
Last edited:
when you make a setup project i think theres a dir you can add for fonts.. im not really sure.
 
I suppose this question doesnt really fall within the topic really mentioned, so i should probably create a new thread about it.
 
Back
Top