Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #543
| From | Brigand <markashall@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | VB6 - use a custom, non-installed font? |
| Date | 2011-12-08 06:53 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <01c876ed-6902-4586-92a0-c98edf461cdc@c13g2000vbh.googlegroups.com> (permalink) |
So I want to include a custom font with a program I am working on in VB6. The program will simply be distributed as an executable in a folder of the resources it uses - I really want to avoid forcing the user to install the code. So I want to have a form use a custom font that I include in the folder. How do I do this at runtime? I tried Set frmMain.Font.Name = App.path & "\resources\customfont.ttf" and other various permutations, with no luck. The only way I can get it to work is to actually install the font in question on the users machine, which is simply an extra level of unnecessary burden. Any advice? Is it even possible to point to a custom font at runtime and use it? Thanks for you help!!
Back to comp.lang.basic.visual.misc | Previous | Next — Next in thread | Find similar
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