Home All Groups Group Topic Archive Search About

Issues with User Interface running in secondary application domain.

Author
12 Dec 2006 1:50 AM
skatukojwala
I am adding new feature where C# is used as a scripting language which
means, I am dynamically compiling and running C# code.

I am creating a seperate domain for this dynamic assembly, run it and
unload the assembly.

I am also giving option to create user interface which generates a .NET
Form.
I am running into issues with running Windows Forms in seconday domain.

The UI controls does not reflect changes in the properties.

For example _textBox.Text="Blah Blah" does display text in the text
box.

I can see the values getting set for the properties, but I don't see
them working.

Any ideas, why I am running issue?.

Thank U,
Srinivas.

Author
12 Dec 2006 1:57 AM
skatukojwala@gmail.com
I called all kinds of updates on the control to show the values, but
nothing works.

skatukojw***@gmail.com wrote:
Show quote
> I am adding new feature where C# is used as a scripting language which
> means, I am dynamically compiling and running C# code.
>
> I am creating a seperate domain for this dynamic assembly, run it and
> unload the assembly.
>
> I am also giving option to create user interface which generates a .NET
> Form.
> I am running into issues with running Windows Forms in seconday domain.
>
> The UI controls does not reflect changes in the properties.
>
> For example _textBox.Text="Blah Blah" does display text in the text
> box.
>
> I can see the values getting set for the properties, but I don't see
> them working.
>
> Any ideas, why I am running issue?.
>
> Thank U,
> Srinivas.

AddThis Social Bookmark Button