Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #549

Re: VB6 - use a custom, non-installed font?

From Brigand <markashall@hotmail.com>
Newsgroups comp.lang.basic.visual.misc
Subject Re: VB6 - use a custom, non-installed font?
Date 2011-12-08 11:41 -0800
Organization http://groups.google.com
Message-ID <27706558-976b-4301-b176-b2d9f1166973@q11g2000vbq.googlegroups.com> (permalink)
References <01c876ed-6902-4586-92a0-c98edf461cdc@c13g2000vbh.googlegroups.com> <01ccb5c0$1bdbf510$6d01a8c0@k8s8x> <7363a3b2-fe07-49b8-8ecc-7ecdc59217b6@c13g2000vbh.googlegroups.com>

Show all headers | View raw


On Dec 8, 1:28 pm, Brigand <markash...@hotmail.com> wrote:
> This appears to do exactly what I want. Thank you so much - it is very
> appreciated :)

Actually, its missing something. How is sMyFont associated with the
font you just added? To reference the font in VB, you use
frmMain.Font.Name = sMyFont, but I dont see how you are assigned the
name to the added resource. The code just assigns the name of the font
to a variable and does nothing with it. When I run the code, it adds
the font, but then loads the first one in the list.

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

VB6 - use a custom, non-installed font? Brigand <markashall@hotmail.com> - 2011-12-08 06:53 -0800
  Re: VB6 - use a custom, non-installed font? "Thorsten Albers" <gudea@gmx.de> - 2011-12-08 15:43 +0000
    Re: VB6 - use a custom, non-installed font? Brigand <markashall@hotmail.com> - 2011-12-08 10:28 -0800
      Re: VB6 - use a custom, non-installed font? Brigand <markashall@hotmail.com> - 2011-12-08 11:41 -0800
        Re: VB6 - use a custom, non-installed font? "Mike Williams" <Mike@WhiskyAndCoke.com> - 2011-12-08 21:31 +0000
          Re: VB6 - use a custom, non-installed font? Brigand <markashall@hotmail.com> - 2011-12-09 06:42 -0800
            Re: VB6 - use a custom, non-installed font? Thorsten Albers <gudea@gmx.de> - 2011-12-09 23:08 +0100
            Re: VB6 - use a custom, non-installed font? Jim Mack <no-uce-ube@mdxi.com> - 2011-12-09 20:14 -0500
            Re: VB6 - use a custom, non-installed font? "Thorsten Albers" <gudea@gmx.de> - 2011-12-09 17:43 +0000

csiph-web