Sei sulla pagina 1di 2

DevEnterprise.NET: Installing and removing fonts using C# http://deventerprise.blogspot.com/2009/03/installing-and-removing-fonts-...

Compartir Informar sobre mal uso Siguiente blog» Crear un blog Acceder

DevEnterprise.NET
www.deventerprise.net

Thursday 26 March 2009


Installing and removing fonts using C#
In this article I am going to describe how to install a font when
your application is installed on a user's machine. You can do this
directly in the application code which I will demonstrate, but for
completeness I will demonstrate how it could be done when
creating setups files for your application in Visual Studio.

1. To install the font using a Windows Installer MSI:


First thing you need to to after you add a Setup Project is add
the Fonts Folder. Do this by right clicking File System on Target
Machine -> Add Special Folder -> Fonts Folder.

Add your font file (the one you want to install) into the Fonts

1 de 2 10/6/2010 11:23 AM
DevEnterprise.NET: Installing and removing fonts using C# http://deventerprise.blogspot.com/2009/03/installing-and-removing-fonts-...

Subscribe To

Posts

Comments

Training on
Photovoltaics
6 free webinars to
design, finance,
construct and operate
PV systems
www.leonardo-energy.org

HP Impresora
Profesional
Imprime y Muevete a
la velocidad de los
negocios. ¡Ideal para
Empresas!
www.hp.com/Impresora-Empresas

PDF solution for


ASP/.NET
PDF Forms, PDF-to-
Image, security
HTML-to-PDF,
stitching, barcodes.
www.AspPDF.com

DexToNET
Develop Dynamics-GP
add-ins using
standard .NET tools.
www.DexToNET.com

Exchange Server
reporting
Download a free
evaluation version
with more than 80
reports.
www.promodag.com

Blog Archive

▼ 2009 (1)
▼ March (1)
Installing and
removing fonts using
C#

► 2008 (7)

2 de 2 10/6/2010 11:23 AM

Potrebbero piacerti anche