Install TT Font

'****************************************************
'modFonts (Fonts.bas)
'
'Exported functions:
'
' InstallTTFont (ret.: 0: An error occured
'                      1: Successful
'                      2: Same or newer file exists
'                      3: System must be rebooted)
'    strSourcePath As String
'    strFontFileName As String
'    Optional bolShowError As Boolean
'
' ShutdownSystem
'    eType As eShutDown
'****************************************************
'NOTE: If the return value of InstallTTFont equals 3,
'      you should call ShutdownSystem(shtForceReboot)
'      after your installation succeeded (ask user).
'****************************************************


Downloads

Comments

  • You are the best

    Posted by sohailch on 10/07/2009 03:06pm

    Thanks R. Whitworth, I was looking for this solution from couple of days. I tried your solution it is very easy to use and working well. It has little problem that we need to restart the system after installation. In fact i am using vb installation program to install it install fonts that will be used by an Visual C++ application. My be thats why i have to restart the machine. But thanks for such an nice help.

    Reply
  • very nice

    Posted by ahsanm.m on 04/22/2007 07:32am

    it's very helpful for me.

    Reply
  • How to use this bas

    Posted by Legacy on 09/09/1999 12:00am

    Originally posted by: Randy

    I wonder is there an example on how to use this bas module.

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

  • It's time high-level executives and IT compliance officers recognize and acknowledge the danger of malicious insiders, an increased attack surface and the potential for breaches caused by employee error or negligence. See why there is extra emphasis on insider threats.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds