Geoff,
Check
BUG: License Error with ActiveX Control Added at Run-Time mskb #
192693.
>I have a program that uses the the common dialog ocx. When I run it on another computer I get a
>
>
OLE error code 0x80040112: Class is not licenced for use
>
>Needless to say there is no problem on my development computer.
>
>I was unaware that a license was needed for this and thought that it was part of Windows. Has anyone else had this problem and how do I resolve the issue.
>
>The ocx ({system32}\comdlg.ocx) exists on the computers where I am attempting to run the program.
>
--sb--