Installing font with VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written an excel template that uses a font I distribute with the
spreadsheet. Most of the computers that use this spreadsheet don't have this
particular font, so Excel falls back to a default font.

How would I install a font from within Excel using VB?

Thanks

Joe V.
 
You basically use the windows API.

I couldn't find anything VB specific, but this foxpro article shows how and
should be easily convertable. I didn't study it, but it appear to be 90%
API calls (done very similar to how you would do it in VB) and little foxpro
specific stuff.

On thing you need to be sure of is that you have authority to distribute the
font.

http://support.microsoft.com/default.aspx?scid=kb;en-us;186722
How To Programmatically Install a True Type Font (visual foxpro)
 
Thanks Tom,

I appreciate your response.

Joe V.

Tom Ogilvy said:
You basically use the windows API.

I couldn't find anything VB specific, but this foxpro article shows how and
should be easily convertable. I didn't study it, but it appear to be 90%
API calls (done very similar to how you would do it in VB) and little foxpro
specific stuff.

On thing you need to be sure of is that you have authority to distribute the
font.

http://support.microsoft.com/default.aspx?scid=kb;en-us;186722
How To Programmatically Install a True Type Font (visual foxpro)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top