Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include Font in project

Status
Not open for further replies.

MrGandalf

Programmer
Joined
Jul 19, 2005
Messages
35
Location
NL
Hi all,

Is it possible to include a paricular font in a windows form project. I have a form where I use a particular font, but when I install the application the font isn't recongnized. How can I export this font to a client?

 
You can contain that font within the setup project (deployment).

You can also include the font file as embedded resource, in the exe file. You may extract it from the .exe, but the first way; the setup project is this you want
 
Is it possible to also install this font with the setup project?
 
Yes, you have to add it in the setup project.

-Right click on Solution '<name>' at the solution explorer
-Add -> new project
-Click setup and deployment -> Setup project and then OK
-At the left column ""file system on target machine right click on "application folder" -> Add -> File...


You can also check out where it will be installed: Click application folder, goto to properties. The default value of the property "DefaultLocation" is "[ProgramFilesFolder][Manufacturer]\[ProductName]"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top