Setting Font to a control from a file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ali Rizwan
    Banned
    Contributor
    • Aug 2007
    • 931

    Setting Font to a control from a file

    Hi all,
    I have a label and i have a font not installed and i want to set that font to my label.
    How can i do this?

    I don't wanna install the font.
    Using vb6.0
    XP
    Thanx
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    How you come to know thst the font is not installed ?

    Are you using commondialog control to set font ?

    Comment

    • Ali Rizwan
      Banned
      Contributor
      • Aug 2007
      • 931

      #3
      Originally posted by debasisdas
      How you come to know thst the font is not installed ?

      Are you using commondialog control to set font ?
      Actually i don't know how to set an uninstall font to a control.
      I know that font is not installed because i have not install it yet and don't want to do this.

      I want to set font using Combobox where a list of available fonts is available.
      That is why i raise a post for adding files to a combo from a folder.

      I have tried using Label1.Font="Fo nt Path"
      but nothing done.

      Thanx

      Comment

      Working...