|
-
Apr 8th, 2003, 03:03 PM
#1
Thread Starter
Hyperactive Member
Font in Resource file - RESOLVED
being a web designer, i have paid good money for a bunch of fonts i have, and i want to use one of these fonts in my app.
however, since i paid for it, i just dont want to install the font onto the system, cause then it can be freely distributed.
now, when i goto add a font to the resource editor, it puts it under a custom user resource heading, and when i go to access it using LoadResData(101,8) i get a runtime error
on msdn it has that you can add it especially as a font resource, but in the editor there is no button to add it as a font resource.
Any ideas on how i can accomplish this?
Last edited by Colonel Klink; Apr 8th, 2003 at 03:50 PM.
Our Father, who 0wnz heaven, j00 r0ck!
May all 0ur base someday be belong to you!
May j00 0wn earth just like j00 0wn heaven.
Give us this day our warez, mp3z, and pr0n through a phat pipe.
And cut us some slack when we act like n00b lamerz, just as we teach n00bz when they act lame on us.
Please don't give us root access on some poor d00d'z box when we're too pissed off to think about what's right and wrong, and if you could keep the fbi off our backs, we'd appreciate it.
For j00 0wn r00t on all our b0x3s 4ever and ever, 4m3n.
-
Apr 8th, 2003, 03:38 PM
#2
Addicted Member
According to KB Article ID: Q171731
Value Description
1 Cursor resource
2 Bitmap resource
3 Icon resource
4 Menu resource
5 Dialog box
6 String resource
7 Font directory resource
8 Font resource
9 Accelerator table
10 User-defined resource
12 Group cursor
14 Group icon
However, formats 4, 5, 7, 8, 9, and 10 are not supported in Microsoft Visual Basic.
-
Apr 8th, 2003, 03:44 PM
#3
You should be carefull when distributing or embedding fonts in your application. You might not be allowed to do so even if you've paid for them.
-
Apr 8th, 2003, 03:49 PM
#4
Thread Starter
Hyperactive Member
Our Father, who 0wnz heaven, j00 r0ck!
May all 0ur base someday be belong to you!
May j00 0wn earth just like j00 0wn heaven.
Give us this day our warez, mp3z, and pr0n through a phat pipe.
And cut us some slack when we act like n00b lamerz, just as we teach n00bz when they act lame on us.
Please don't give us root access on some poor d00d'z box when we're too pissed off to think about what's right and wrong, and if you could keep the fbi off our backs, we'd appreciate it.
For j00 0wn r00t on all our b0x3s 4ever and ever, 4m3n.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|