How To Mark Pocket Internet Explorer Download Files as Trusted (293106)



The information in this article applies to:

  • Microsoft Windows CE Operating System, Versions 3.0
  • Microsoft Pocket Internet Explorer 1.0
  • Microsoft Pocket Internet Explorer 1.1
  • Microsoft Pocket Internet Explorer 2.0

This article was previously published under Q293106

SUMMARY

When you access files locally or over the Web with Pocket Internet Explorer, you may receive a dialog box that warns that the file is not trusted. To prevent a file from generating this warning dialog box, you must mark it as a trusted file.

MORE INFORMATION

To prevent a warning dialog box from appearing when you access files through the Web with Pocket Internet Explorer, use one of the following methods:
  • If the file is an HTML file that embeds an ActiveX control, the control must implement the IObjectSafety interface. IObjectSafety is defined in the Objsafe.h file for Microsoft Pocket PC with Windows CE version 3.0. For earlier platforms, you can borrow the interface definition from the Pocket PC header.
  • If the file is an executable file, you must define a class type for the file type through its extension in the device's registry, and then set bit 16 of the edit flags for the class description. For example, to open .yen files without receiving the warning dialog box, use the following code:
    HKCR\.yen
           default = "yenfiles"
    HKCR\yenfiles
          "EditFlags" = DWORD:65536    ;  = 10000 hex, setting bit 16 of the flags
    					
    Code signing is not currently supported in Pocket Internet Explorer. However, this exclusion does not apply to Microsoft Internet Explorer for Windows CE.

Steps to Reproduce Behavior

With Pocket Internet Explorer, access an executable file over the Web, or access a Web page that contains an ActiveX control that does not implement IObjectSafety.

Modification Type:MinorLast Reviewed:8/30/2004
Keywords:kbhowto KB293106