Tag Archives: control

Accessing unmanaged code in separate context in WPF

In order for Windows Forms controls to work correctly in .NET Framework it is necessary to access their methods and properties from the same context that they were created in, otherwise they may display unpredictable behaviour. Usually this is a concern when using multiple threads, some of which need to modify a control’s state. All of this is also relevant for Windows Presentation Foundation (WPF) technology. However, in WPF such an issue may also arise when using a DLL with unmanaged code — this does not occur in WinForms. We’ll show an example how one can solve this issue by calling methods from the DLL in a separate context.

Continue reading

ActiveX publisher name not available

Testing the installation of our ActiveX controls (used in I-Plan for rich-functionality — grid, graph and date/week/month picker), we noticed that in IE8 the controls display string “Control name is not available” instead of the publisher name. How does one solve such a problem?

Continue reading