INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Embedding fonts into a VB.NET program.

Embedding fonts into a VB.NET program.

(OP)
Hello,

This is my first post, so, sorry for any errors on my part!

I have a custom font which I have included in my program. I want to incorporate this into the software without needing to install it on any users' systems. I utilized FAQ article FAQ796-4747: Embedding fonts into your application., but I seem to have issues executing this.

I have included the FAQ's code into a separate class and am instancing it in my main code. For the life of me, I cannot seem to get the "GetFonts" function to work at all, or determine what string I am supposed to send to it to begin using the font.

The font was properly changed in my resx file to an "Embedded Resource". Other than following the article specifically as instructed, I am kind of at a loss with what to do with the code now. Any help that anyone could provide would be greatly appreciated. Thank you!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close