VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



get Font types on computer

by V. B. Fool (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (1 Votes)

This code takes every font from the computer it is run on, and places it into a combo box. (not using printer.fonts but using screen.fonts)

Assumes
Must have a combo box called ftype

Rate get Font types on computer

''for loop adds all font types in computer to combo box
  fType.Clear  ''clears combo box
  For i = 0 To Screen.FontCount - 1 ''counts # of fonts
    fType.AddItem Screen.Fonts(i) ''adds font to combo box
  Next i

Download this snippet    Add to My Saved Code

get Font types on computer Comments

No comments have been posted about get Font types on computer. Why not be the first to post a comment about get Font types on computer.

Post your comment

Subject:
Message:
0/1000 characters