473,806 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem managing gui updates in multithreaded application...H elp 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 IndexListChange d event are overridden...an d 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....whic h 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...begini nvoke...?
Should I manaully update the grid in this scenario,instea d 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 937

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

Similar topics

7
3010
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 folder. Paul Kimmel has a new book http://www.amazon.com/exec/obidos/ASIN/0672324075/internco m-20/002-4611773-6304806 that discusses this in depth... I can send you some code to do it. Effectively you need two assemblies, one that calls the...
4
7212
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 Server (2000, SP3). The SQL Server is on a dedicated Proliant computer with 2GB RAM (the actual SQLServer.exe process has dynamic memory assignment and can reach up to 1.6GB RAM). Nothing else is running on that specific computer.
1
1230
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 that requires us to input those changes and eventually hand write the update scripts. I was wondering if anybody has any solutions that may help automate this process. Is there a way to write an application that will compare a current (updated)...
2
2147
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 problem, just getting large so needed to migrate to SQL. I've converted the tables in SQL tables (I've used SQL quite a lot) and link the tables when the login screen for the application pops up using the following code Dim CurrTableTDF As TableDef
14
4828
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 connection open all the time (as it's single user, this shouldn't be a problem). There is logic in the code to ensure that the connection is
0
1516
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 is based on the countdown / controlinvoker quickstart at GotDotNet.com. The problems are: (1) There's a memory leak somewhere. I don't know where, but it's
1
4637
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 area, but here goes: For the local mirror on my development PC of a site I've been managing for some years, I use the built in IIS (XP pro sp2) to act as a server for local web pages, and some of them use a little bit of simple ASP scripting. ...
2
1765
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. Requirements are: a. highly secure b. run on internet or intranet e. RDBMS read/write intensive
12
1243
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? I read some posts warning against ADP, (plus I don't want to re-write extra code.). If ODBC is ok, I presume the remote DB could be managed via a local client application. Are there any networking issues to be aware of which possibly could...
0
9719
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10371
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.