WebVize's WebLog

An independent C# Developer in the Netherlands

November 2004 - Posts

(HELP) Unexpected IE behaviour when hosting winform controls

I have build the major part of a quite complex CMS in ASP.NET (C#).
I use a couple of hosted winform controls and here is where my problems start.

Somehow it seems that IE locks up ( wait a loooong time) before the controls will become alive again. It looks like they fall in a deep sleep mode J

When I wait long enough it will correct itself but it is a absolute unwanted behavior.
I have placed interfaces on the objects so I can control them with javascript from the client. This all seems to be working.

Setting properties from the javascript, up to raising events from the WinForm Controls that will be picked up by the JavaScript.

So the COM interface seems to be OK!!

 

But now and then it all comes to a hold and is in a undefined state. (my network adapter starts pumping data)
Could it be that I have forgotten something ??

 

I make use of webservices from the Winform controls.. and it loads up fine, interacts but on indefinable moments IE freezes.

The moments of freezing seems to be on right on the moment of raising an event.

 

Has anybody have the same experience and offcourse a solution for this.
These controls are always visible for the user so they are constantly running. Even let it raise events that will trigger a javascript to update a counter in the winform control (this works).

But it keeps locking from time to time...

 

Got no clue where I could search for the problem!! 

 

New laptop ordered

Ok .. I've had it with my current ACER Travelmate 660. This is not the machine you want for developing complex webapplications where need to compile, run,test,rewrite and so on....Like my latest project of rewriting the kids community.. running 1200MB ram at some moments
I called Dell to get me up to date with the specs of the various laptops and their final prices if I wanted a killer Machine..

Ended up with the following specs
Inspiron 9100
3.4 Ghz, 1mb L2 cache,800 Mhz FSB
15.4 " WUXGA  (1900x1220)
128 MB radeon 9700 
2 GB dim 400Mhz
60 GB 7200rpm
DVD+/-RW
Leather XL Case
Bluetooth module
1350 Wireless module
Graphite Swirl back cover
1 year Next business day on site

Now awaiting my confirmation from dell.
Then hopefully it will be put on production.
So perhaps at the end of the next week I am a hopefully happy owner of a 9100 fully loaded machine and can replace my cripple ACER

More Posts