WinForms FAQ - In IE

What are some common UI limitations while running code in the Internet Zone?

1) Cannot override methods like WndProc, ProcessCmdKey, etc in a derived Control. The class ref for a particular property will let you know about the permission requirements.

2) Cannot call Control.Parent.

3) Cannot call Control.Focus() method.

Permalink
What are some common gotchas while trying to embed a Windows Forms Control in IE?

The issues listed here are pertaining to code running in IE in the default Internet Zone.

1) You cannot view Controls inside IE using the 1.0 framework (when running with the permissions in the default Internet Zone). This is however possible with the 1.1 (Everett) framework.

2) Use only one . in the assembly file name and ‘Assembly Name’(in Project Properties Dialog). For example, ‘Syncfusion.Shared.dll’ is an invalid dll name, but ‘Shared.dll’ is valid.

3) Signed assemblies couldn’t be loaded.

Permalink
How can I use a WinForms Control in IE?

You cannot use a WinForms Control directly in IE, you will have to instead derive from it and then use the derived instance from a custom assembly.

Permalink
How do I clear the download cache in my client machine?

The following command line will do the trick:

gacutil /cdl

Permalink