473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem managing gui updates in multithreaded application...Help Needed!

Hello all,

Let me first explain my windows application....

I have a grid which is bound to a dataview of a dataset...
Now this dataset is updated from a separate thread and therefore I've
used a Custom class which is inherited by dataview...and the
OnListChanged and IndexListChanged event are overridden...and in those
funtions im using begininvoke to make sure that when dataset changes
from separate thread the grid does'nt hang.....and then I assign object
of this class to the grid's DataSource property....

But, im also invoking asynchronous events after dataset is
updated....which performs some change of coloring thing in that
datagrid...and that too using begininvoke....

NOW...
the PROBLEM is that the dataset is updated very frequently......due to
which after sometime the gui starts to slow down a bit....and the msgs
coming from the backend dont get displayed quickly....

Like f.e. someitmes it happens that ive received msg3 but the gui still
showing msg1....

Is it happening becuz of asynchrounous events...begininvoke...?
Should I manaully update the grid in this scenario,instead of binding
it to dataset....?
Is there any Microsoft Application Block specially designed for
managing gui in MT apps...?

What is the suitable solution in this case....?

Please any suggestions..

Thanks
Cheers...

Bye.

Aug 29 '06 #1
0 917

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: William Ryan | last post by:
Are you using an intranet or the internet to push the updates? If the internet, you probably can't get there without a web server. If you are using an intranet, you can do it from a shared...
4
by: Mee Yamo | last post by:
Fellas!! This is a very complicated one and it took me a few days to figure out exactly what's going on, but here's the final story: I have a production environment running on .NET with a SQL...
1
by: Duncan | last post by:
I'm looking for ideas on how to write SQL scripts for updates that are pushed out to clients for product updates. Obviously, We could just keep track of the changes on a pad or write a database...
2
by: Shaun | last post by:
Ok here is the situation… Have an access 20002 application that I'm converting to have a SQL Server backend (2000), the application has been in use with an access backend for years, no real...
14
by: Nick Gilbert | last post by:
Hi, I have an asp.net application which runs from a CD-ROM using Cassini. As such, it is single user only. The application connects to an Access database when it is loaded, and keeps the same...
0
by: Andy Roxburgh | last post by:
Hi all, I'm trying to program a multithreaded application - it currently works, but I have two problems. I'm relatively new to VB.NET (C and VB6 are my things) so I'm a bit lost here. The code...
1
by: dcnicholls | last post by:
This is my first post to this forum: I use ASP occasionally but don't know a lot of it, and the Windows IIS was invented by MS to torture me :) So I'm not sure if this should be herre or on the IIS...
2
by: rynt | last post by:
Hello all. I'm Looking for suggestions for which Python web framework(e.g. Django, Turbogears,etc.) would work best to develop a cross platform browser based system to manage lab specimens. ...
12
by: helveticus | last post by:
Because of licensing reasons, I plan on using ASP.NET 3.5 /Access 2K for a specific site.. What tools could I use to remotely manage the Access 2K DB? Would a simple ODBC connection be adequate?...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.