Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How To Get A List Of Installed Fonts In Visual Basic 2010 (Works In Visual Basic 2008)

Loading...

Sign in or sign up now!
4,143
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 15, 2009

Visual Basic 2010/2008 - Get a list of fonts installed on your computer. Just a simple tutorial on getting a listbox to show all your installed fonts :) Works with Visual basic 2008 aswell.
Codes: (remove spaces if any)
Imports System.Drawing.Text

Dim fonts As New InstalledFontCollection
For Each X As FontFamily In fonts.Families
ListBox1.Items.Add(X.Name)
Next

Label1.Font = New System.Drawing.Font(ListBox1.SelectedItem.ToString, 25, FontStyle.Regular)

  • likes, 3 dislikes

Link to this comment:

Share to:
see all

All Comments (37)

Sign In or Sign Up now to post a comment!
  • @PkKingX11 to what?  java or object cobol?

  • @johnnytheprick Here's your answer: Upgrade.

  • sheeeeeesh im still using vb 6.0. i see vb has come a long, long way.............

    ok smarty pants, how do you get a list of installed fonts using vb6.0?

  • thnx!

  • u include code in description, which is why i love ur vids even though ive never seen em completely

  • @nehalvpatel Oh, ok i thought there was a option to add it to the program

  • @TehPhoenixOwnage

    You can make a font.. But when you use it for your program, you have to give it to the people that use it too...

  • Is there a way to make you're own fonts for you're program ?

  • I hate that question, just type them... but if you're to lazy look in the description (This was useless because you posted that comment over 2 months ago.)

  • Tip for people:

    Use this code to make a custom font chooser in your notepad ;)

    I did.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more