473,325 Members | 2,816 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,325 software developers and data experts.

giving info on form while doing process long time

Hi,
My application is processing a database(selecting data using execute
reader)
It takes much time.
I want to show user the application is running, showing some
information in the form
I tried with thread, timer, but not helpful
any simple idea to show user application is not frozen

Thanks,
Mani

Jun 15 '07 #1
5 2368
Hello.
Take a look at the BackgroundWorker control. I think that's exactly what you
are searching for.

http://msdn2.microsoft.com/de-de/lib...9b(VS.80).aspx

"Manikandan" wrote:
Hi,
My application is processing a database(selecting data using execute
reader)
It takes much time.
I want to show user the application is running, showing some
information in the form
I tried with thread, timer, but not helpful
any simple idea to show user application is not frozen

Thanks,
Mani

Jun 15 '07 #2
On 15 Jun, 11:24, Christian <Christ...@discussions.microsoft.com>
wrote:
Hello.
Take a look at the BackgroundWorker control. I think that's exactly what you
are searching for.

http://msdn2.microsoft.com/de-de/lib...9b(VS.80).aspx

"Manikandan" wrote:
Hi,
My application is processing a database(selecting data using execute
reader)
It takes much time.
I want to show user the application is running, showing some
information in the form
I tried with thread, timer, but not helpful
any simple idea to show user application is not frozen
Thanks,
Mani
Hi,
My application uses .NET framework 1.1 only but backgroundworker is
in .NET2.0

Jun 15 '07 #3
ok, it's a little bit harder without backgroundworker, because you have to do
the threading-things on your own.

look at this article:
http://www.code-magazine.com/article...0403071&page=1

i didn't reasearch in detail now, but you can search for it on your own when
you search for "asynchronous programming"...
you have to use methods like BeginInvoke(), EndInvoke() and so on.

i hope this was helpful.

"Manikandan" wrote:
On 15 Jun, 11:24, Christian <Christ...@discussions.microsoft.com>
wrote:
Hello.
Take a look at the BackgroundWorker control. I think that's exactly what you
are searching for.

http://msdn2.microsoft.com/de-de/lib...9b(VS.80).aspx

"Manikandan" wrote:
Hi,
My application is processing a database(selecting data using execute
reader)
It takes much time.
I want to show user the application is running, showing some
information in the form
I tried with thread, timer, but not helpful
any simple idea to show user application is not frozen
Thanks,
Mani

Hi,
My application uses .NET framework 1.1 only but backgroundworker is
in .NET2.0

Jun 15 '07 #4
* Manikandan wrote, On 15-6-2007 12:37:
On 15 Jun, 11:24, Christian <Christ...@discussions.microsoft.com>
wrote:
>Hello.
Take a look at the BackgroundWorker control. I think that's exactly what you
are searching for.

http://msdn2.microsoft.com/de-de/lib...9b(VS.80).aspx

"Manikandan" wrote:
>>Hi,
My application is processing a database(selecting data using execute
reader)
It takes much time.
I want to show user the application is running, showing some
information in the form
I tried with thread, timer, but not helpful
any simple idea to show user application is not frozen
Thanks,
Mani

Hi,
My application uses .NET framework 1.1 only but backgroundworker is
in .NET2.0
Some people ported the backgroundworker back to .NET 1.1.

http://weblogs.asp.net/rosherove/art...undWorker.aspx
http://www.vsdotnet.be/blogs/tommer/...190e3cdb7.aspx

Jesse
Jun 15 '07 #5
* Manikandan wrote, On 15-6-2007 12:37:
On 15 Jun, 11:24, Christian <Christ...@discussions.microsoft.com>
wrote:
>Hello.
Take a look at the BackgroundWorker control. I think that's exactly what you
are searching for.

http://msdn2.microsoft.com/de-de/lib...9b(VS.80).aspx

"Manikandan" wrote:
>>Hi,
My application is processing a database(selecting data using execute
reader)
It takes much time.
I want to show user the application is running, showing some
information in the form
I tried with thread, timer, but not helpful
any simple idea to show user application is not frozen
Thanks,
Mani

Hi,
My application uses .NET framework 1.1 only but backgroundworker is
in .NET2.0
A direct download link for th e1.1 background worker:

http://www.idesign.net/idesign/Deskt...9&download=115

Jesse
Jun 15 '07 #6

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

Similar topics

3
by: Michael | last post by:
Dear All I have problem with my database server which running SQL server 2000. The server running very slow. The worst case, to save a record required more than 20-30 seconds. Since this...
385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
16
by: TD | last post by:
This is the code under a command button - Dim ctl As Control For Each ctl In Me.Controls If ctl.BackColor <> RGB(255, 255, 255) Then ctl.BackColor = RGB(255, 255, 255) End If Next ctl
6
by: MattC | last post by:
I noticed when storing large amounts of information in the StateServer Service that this does not increase in size, the worker process itself seems to grow. I set up a test case to try and prove...
7
by: Pepi Tonas | last post by:
I have a form that takes some time to load because it has to populate some Data. I was trying to display a form on top of it with an activity bar so that user can see that something's going on. ...
8
by: PAPutzback | last post by:
How do I keep the form up.
12
by: JohnR | last post by:
I have narrowed a problem down to a simple example. A form with two buttons. One EXIT and one FBD. The exit button does an "END" to end the application. The FBD button does a...
0
by: Terry | last post by:
I want to open a form if it is not already open, otherwise I want to set focus to the existing instance. I have tried three solutions from Google to check activate the existing instance but none...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.