Hi

I've created simple windows form application with two windows forms.
On each form IE WebControl is embeded.

I'am loading into IE control page with .Net applet with TextBox and
CheckBox (IE is hosting .Net UserControl)

When the application starts I'm loading Form1. All is working fine. I
can set focus to TextEdit and change state of CheckBox.
When I'm pressing a button on that form, Form2 loads.
When I'm trying to set focus to EditBox I have SecurityException.

When I click continue (not terminate), then select other window (Form2
must lost focus), then set focus to Form2, all works great, no security
warning.

I'm working with default permission sets in .Net.

Why this is working in that way ?

Here is the sample application: http://www.abc.com.pl/download/test_ie.zip

I'm using: WinXP SP2, .Net 1.1 Sp1


Thx 4 Hlp