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

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • CentreCorp is a fully integrated and diversified property management and real estate service company, specializing in the "shopping center" segment, and is one of the premier retail service providers in North America. Company executives travel a great deal, carrying a number of traveling laptops with critical current business data, and no easy way to back up to the network outside the office. Read this case study to learn how CentreCorp implemented a suite of business continuity services that included …

Most Popular Programming Stories

More for Developers

RSS Feeds