New Thread

J

John Smith

Hey folks,

This is really simple, but a little hard to explain, so bare with me.

I have a C# MDI application. On one of my child Windows there are multiple
tabs. One of the tabs is fully populated by a User Control which has on it
a 3rd party control. The 3rd party control runs very slow on semi-old PCs.
It takes about 5 or 6 seconds to load. As such, when the form is loaded, it
takes 5 or 6 seconds before the form appears.

Is there a way I can force my User Control Tab (with the 3rd party control
on it) to open on a seperate UI thread? This way the form will load and
appear right away. Only the tab with the slow control on it won't be
accessible right away.

Or, if not a seperate UI Thread, is there anything I can do to make the form
appear while the slow tab is loading?

Thx!
 
H

Herfried K. Wagner [MVP]

John Smith said:
Is there a way I can force my User Control Tab (with the 3rd party control
on it) to open on a seperate UI thread? This way the form will load and
appear right away. Only the tab with the slow control on it won't be
accessible right away.

UI elements that are "connected" to each other should run on the same
thread.

Is the control an old ActiveX control?
 
J

John Smith

Herfried K. Wagner said:
UI elements that are "connected" to each other should run on the same
thread.

Is the control an old ActiveX control?


The control is actually an Outlook Style Calendar control (I made another
posting asking if alternatives exist). It's the WinSchedule Form From
Infragistics
(http://www.infragistics.com/products/schedule.asp?sec=1&cat=2). It works
fine on newer machines, but the client has 3 year old PCs and it's very slow
on them.
 
J

John Smith

John Smith said:
The control is actually an Outlook Style Calendar control (I made another
posting asking if alternatives exist). It's the WinSchedule Form From
Infragistics
(http://www.infragistics.com/products/schedule.asp?sec=1&cat=2). It works
fine on newer machines, but the client has 3 year old PCs and it's very slow
on them.

Hmm....I think my problem may be more related to a need for some better
indexes on the db. I'm giving that a go and I'll see how that works for the
client.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top