Computing.Net > Forums > Programming > Font list in VB 6.0

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Font list in VB 6.0

Reply to Message Icon

Name: wheelspinner99
Date: September 18, 2004 at 11:10:47 Pacific
OS: n/a
CPU/Ram: n/a
Comment:

I was wondering if there was a way to get a listing of all the fonts on a particular system for use in an array? Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: livingdecay
Date: September 18, 2004 at 12:36:53 Pacific
Reply:

for i = 0 To Screen.FontCount - 1
X.AddItem Screen.Fonts(i)
Next i

x is the name of what you want to list them in. I'm sure you can figure out how to put them in an array.

Leadtek Geforce6800
Thermaltake 360W PSU
56X CD-ROM
52x24x52 Samsung CD-RW
20 GB Maxtor HDD
80 GB Hitachi HDD
Gigabyte GA-7DX+ MOBO
SMC 10/100 LAN


0

Response Number 2
Name: wheelspinner99
Date: September 18, 2004 at 23:51:44 Pacific
Reply:

Thanks so much. I got it from here.


0
Reply to Message Icon

Related Posts

See More


display copyright charact... Mac C++ Compiler



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Font list in VB 6.0

Declaring Variables in VB 6.0 www.computing.net/answers/programming/declaring-variables-in-vb-60/9957.html

VB 6.0 Write datagrid in 4.0 www.computing.net/answers/programming/vb-60-write-datagrid-in-40/8630.html

Vb 6.0 www.computing.net/answers/programming/vb-60/18825.html