Recently discovered that Web apps developed in some customers ' IE (8,9,11) were not able to pop the Windows Font dialog box.
With F12 tracing, the error code is "2146827850" and the error message is "object does not support Showfont properties and methods"
Cause analysis of the problem:
It should be caused by IE not loading the appropriate ActiveX control correctly. Two cases
1, the client computer is not registered good Comdlg32.ocx
Workaround:
For 32-bit Windows: Copy the Comdlg32.ocx to the C:\windows\system32 directory;
For 64-bit Windows: Copy the Comdlg32.ocx to the C:\windows\system64 directory;
Run regsvr32 C:\windows\system32\ComDlg32.ocx with administrator status
2. The HTML does not write an ActiveX reference statement as required by Microsoft
If the following code is missing, the problem will also appear above
<object classid= "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" >
<param name= "LPKPath" value= "COMDLG.LPK" >
</object>
Workaround: Add the appropriate statement
Test code: Http://files.cnblogs.com/files/finema/ComDlgTest.rar
Questions about HTML using Comdlg ActiveX cannot eject the corresponding dialog box 1