473,387 Members | 1,638 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.

Working Message in taskbar

Hi Group,
I've got a search screen whereby it could take a couple of seconds or
minutes for the results to be returned. Is there a way to place a "working
message" in the taskbar area, so the user can see that it is doing
something? I did this years ago in MS Access. Should be able to do this in
..NET.

I'm querying a SQL database using a DA.

Thanks

Jul 31 '08 #1
5 1013
On Jul 31, 6:05*am, "axapta" <jas.jac...@gmail.comwrote:
Hi Group,
I've got a search screen whereby it could take a couple of seconds or
minutes for the results to be returned. *Is there a way to place a "working
message" in the taskbar area, so the user can see that it is doing
something? I did this years ago in MS Access. *Should be able to do this in
.NET.

I'm querying a SQL database using a DA.

Thanks
1) Spawn the search on a thread separate from the UI.
2) Show whatever you want on the form while the search is in process
3) When the search is over, remove the "wait content" and replace it
with the search results.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/
Jul 31 '08 #2
For x = 0 To 5555555
Application.DoEvents()
Label1.Text = x
Next
work fine

"axapta" <ja********@gmail.comwrote in message
news:23**********************************@microsof t.com...
Hi Group,
I've got a search screen whereby it could take a couple of seconds or
minutes for the results to be returned. Is there a way to place a
"working message" in the taskbar area, so the user can see that it is
doing something? I did this years ago in MS Access. Should be able to do
this in .NET.

I'm querying a SQL database using a DA.

Thanks
Jul 31 '08 #3
axapta wrote:
I've got a search screen whereby it could take a couple of seconds or
minutes for the results to be returned. Is there a way to place a
"working message" in the taskbar area, so the user can see that it is
doing something? I did this years ago in MS Access. Should be able
to do this in .NET.
I think that if you change the application's name that will be reflected in
the TaskBar:

http://bytes.com/forum/thread482730.html

Andrew
Jul 31 '08 #4
Thanks for your replies but it still does not help. I'm after some code
samples.

Regards

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:bc**********************************@d45g2000 hsc.googlegroups.com...
On Jul 31, 6:05 am, "axapta" <jas.jac...@gmail.comwrote:
Hi Group,
I've got a search screen whereby it could take a couple of seconds or
minutes for the results to be returned. Is there a way to place a "working
message" in the taskbar area, so the user can see that it is doing
something? I did this years ago in MS Access. Should be able to do this in
.NET.

I'm querying a SQL database using a DA.

Thanks
1) Spawn the search on a thread separate from the UI.
2) Show whatever you want on the form while the search is in process
3) When the search is over, remove the "wait content" and replace it
with the search results.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/

Jul 31 '08 #5
Thanks for your replies but it still does not help. I'm after some code
samples.
Sorry, but I only write quick code samples, and unfortunately,
converting a project to a multithreaded design isn't one that will fit
under that category.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/
Jul 31 '08 #6

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

Similar topics

0
by: D Witherspoon | last post by:
An application I've just finished developing is not showing up in the taskbar on startup until the application is clicked on. This makes it difficult as it is being launched as a No Touch...
1
by: vijay | last post by:
To add a taskbar to a C# application Am currently developing a windows console application in C# (.NET 2003) and have a requirement to build a taskbar. The windows application is designed to...
2
by: JohnProgrammer | last post by:
I know I can fill the screen in VB.NET by starting my window maximized and without a border. My question is; in VB.NET is there a way to enable/disable the taskbar much like doing the "always on...
2
by: Geoff Jones | last post by:
Hiya Can anybody help me with the following question? I have an application which has a maximised main form. At startup, the form is maximised but the taskbar is still visible at the bottom of...
6
lotus18
by: lotus18 | last post by:
Hello World I have an API here that shows and hides the windows taskbar. My question is ... how can I completely hide the taskbar without a space below? Like setting it to Auto-hide the taskbar on...
3
by: BlackShadow33p1 | last post by:
I'm trying to write a program in C++ that gets the handles of all the visible entries in the windows taskbar. The method I've used so far is to send the TB_GETBUTTON message to the taskbar. ...
10
by: Mark Rae [MVP] | last post by:
Hi, This is really just a theoretical question for my own interest, and not for any nefarious purpose... :-) Say we have three applications running - Notepad, Wordpad and Excel - and each...
8
by: hiranmaie | last post by:
Hi, I am using the messagebox code as System.Windows.Forms.MessageBox.Show("WELCOME"); , in my application to get a message box. I get as a minimised window of the messagebox on the taskbar. I...
10
dzenanz
by: dzenanz | last post by:
I had a small project based on Qt4, ITK and OpenSceneGraph. It's main function is shown below. int main( int argc, char **argv ) { QApplication app(argc, argv); MainWindow mainForm = new...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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.