Click here to Skip to main content
15,867,851 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,
How to Install a .ttf file automatically while installing the vb.net application?
How to include this file with the vb.net application?
Plz help
Posted
Comments
Sergey Alexandrovich Kryukov 25-Jun-13 10:51am    
It depends on the installation toolkit you use...
—SA

1 solution

That depends on what kind of installation, but if we assume that you create a setup project in Visual studio, this link might be of help to you:

http://brutaldev.com/post/2009/03/26/Installing-and-removing-fonts-using-C[^]
 
Share this answer
 
Comments
thisisacs@gmail.com 25-Jun-13 11:09am    
thanku..
assume that my bin contain bin/fontfile.ttf
how can i install this file to the system automatically while installing my application?
Johnny J. 25-Jun-13 11:11am    
It's explained in the article I linked to. The crucial thing is this:

Add your font file (the one you want to install) into the Fonts Folder by right clicking the right hand panel -> Add -> File... You will notice that the Register property of the font file is vsdrfFont. This will automatically register your font in Windows when your application installs.
thisisacs@gmail.com 25-Jun-13 23:35pm    
thaku..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900