|
-
Jul 27th, 2005, 01:36 PM
#1
Thread Starter
Hyperactive Member
Chat Font
I'm creating a chat program and each user can choose their own font, at the moment what happens if you're talking to someone who is using a font that you dont have is that the chat window just shows a standard system font instead, but what i want is for the font to be sent over the connection and for it to be automatically installed on the computer that doesn't have it. so how can you access installed font files in vb6 and how would you install one?
Do you wake up in the morning feeling sleepy and grumpy? Then you must be Snow White
-
Jul 27th, 2005, 02:39 PM
#2
Fanatic Member
Re: Chat Font
All of windows, or at least the installed fonts, are located C:\windows\fonts. Im assuming you'r using winsock, you send "FONT" first or something so the other person's client knows its a font comming. Then what you could do is do the file chunck dance to send it to the other person. And when the other person gets the file, it could be copying to their C:\windows\fonts. <-- Although, I havn't tested it, thats how I would do it. Or transfer it to a dummy folder first so windows doesn't know the different then copy it over to the C:\windows\fonts.
Oh, hey look at what a google search turned up....
[VB6] Registering Fonts Through VB
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
|