I have written a calculator emulator which uses an LCD font in VB.NET in
VS2005. This application will be installed by means of an MSI file and I
dont want the user to have to manually install the font. So I have made the
font an embedded resource and, by adapting code from
http://www.bobpowell.net/tipstricks.htm, I now have the font working
correctly in debug mode. I set the Font property of my control to the
required font, which is held in a private font collection. This is on a
machine where the font has not been installed in windows. However ...
If I create my MSI file (using the deployment project) and run setup to
install it on another machine then my control displays using courier (which
is the font I have assigned to it in the form designer). If I install the
font in windows on that machine then the application finds it and the control
displays in the LCD font.
I thought that an embedded resource would be bundled with the exe and
therefore there wouldnt be the need to install the font on the destination
machine. I guess I am doing something wrong ...