format library missing

C

Chris Cerrito

Hello,

I have created a word doc with an MSHFlexGrid. I have a
MSHFlexGrid_Click event that uses the format
(.text,"$0.00") line to format certain fields to currency
rounded. When I run this on my machine it works fine. When
I move this to another machine I get a "Missing format
library or reference" error, VB opens and highlights this
format line. How do I get this reference on any machine?

Thank you
 
J

Jay Freedman

Hi, Chris,

Have a look at the first part of this article:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaskdr/html/askgui05152001.asp

The article is written for an ASP application where the browser can download
the ActiveX control from Microsoft's web site. I don't think you can do that
from Word, so you'll have to distribute the .ocx file with your template and
provide instructions. Each user will need to copy the .ocx into their
\winnt\system32 or \windows\system32 folder and run a command line like

regsvr32.exe "C:\winnt\system32\MSHFLXGD.OCX"
 

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

Top