TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
lijo sebastian
NA
28
0
Installing Font programmatically using C# without rebooting the system
Dec 21 2011 11:53 PM
Hi friends,
Please help me to provide a good solution for this. How to install a font permanently in your system programmatically, using C#. I want the font immediately available in Windows Fonts folder, without system reboot. I googled a lot, but no luck. I found AddFontResource from msdn and tried that, but that also not reflecting properly. Also SendMessage after AddfontResource hangs the system sometimes.
So, currently i opt a COPY function which will copy the font into fonts folder, and later adding the font entry in Regristry executing a batch file.
But, then the font is available from next system logon only.
What i'm missing here.
thanks in advance.
Reply
Answers (
0
)
Inserting multiple records into database when more than one checkbox in the gridview is selected and the user moves from one page to another
How to disable validation check for button