473,803 Members | 3,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"please wait" message

36 New Member
How can I display a friendly "please wait" message to the user, while running a time consuming module at the back end?
Oct 3 '07 #1
13 6423
debasisdas
8,127 Recognized Expert Expert
Try to display some .GIF file while the process is going on.
Oct 3 '07 #2
Killer42
8,435 Recognized Expert Expert
How can I display a friendly "please wait" message to the user, while running a time consuming module at the back end?
Is the time-consuming task being done by your program, or are you calling something else, which doesn't return for a while?

Also, what version of VB are you using?
Oct 9 '07 #3
codeCruncher
8 New Member
One simple way you can do it is by using a label saying that the process is still running and set the visibility of the label to False when the process ends. Or if it is just for a short while, you can just set your cursor to hourglass.
MousePointer = 11
Oct 9 '07 #4
tezza98
38 New Member
how its done in Using MSACCESS and VB in one of the programs that i have helped write.

create a simple form, with the text you want to display

Put the time consuming code into the form, so that it runs when the form is activated.

On the next line of code, close the form.


so when you want to run the code, open the form, and the code runs, then the form closes.

There are other ways but this is the way i have seen it run. you could probably do it without moving the code but i am not sure
Oct 9 '07 #5
majel
3 New Member
I had googled looking for an easy way to have a please wait...message appear. That label suggestion worked great!
Thanks.
m
Oct 30 '07 #6
Killer42
8,435 Recognized Expert Expert
Glad we could help, majel. :)

That's why we like people to post complete questions with as much detail as possible, and fully describe the solutions they come up with, so those who come along later with a similar question can find the answer more easily.
Oct 30 '07 #7
jamesd0142
469 Contributor
One simple way you can do it is by using a label saying that the process is still running and set the visibility of the label to False when the process ends. Or if it is just for a short while, you can just set your cursor to hourglass.
MousePointer = 11
Could anyone explain this? How do you set your mouse to hourglass?
Nov 1 '07 #8
QVeen72
1,445 Recognized Expert Top Contributor
Hi James,

use this :

Expand|Select|Wrap|Line Numbers
  1. Me.MousePointer = vbHourGlass
  2. ' To make it Normal:
  3. Me.MousePointer = vbNormal
  4.  
Regards
Veena
Nov 1 '07 #9
Ali Rizwan
925 Contributor
Hey,

Have you seen ever fading message which ask user to wait for a while if not then try this you will get happy to see this which help you a lot.

GOOD LUCK
ALI
Attached Files
File Type: zip PW.zip (5.8 KB, 669 views)
Nov 1 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2780
by: mvr | last post by:
Hi all Can some one give me a sample code to display a "please wait" message while retrieving results from the database in ASP. Thanks mvr
1
1011
by: metsymani | last post by:
In my web application, I have a search screen coded in ASP.Net. The Search process takes lot of time. So, I need to show a wait page informing the user that "Search is in progress. Please wait" along with an animated gif. I have placed a div in the search page which contains the message and animated gif. I hide the div by making "display: none" in the onload function of the body tag. On click of the Search button(type = Submit), I call a...
3
4644
by: John Dalberg | last post by:
Hi I have a form that opens a new window for the results. Because the results might take a few seconds due to server processing, I would like to display a message "please wait" in the new window, erase that message when the processing is done and show the results. How is this done? John Dalberg
9
3341
by: John Walker | last post by:
Hi, I have a datagrid with a radiobutton template column, with AutoPostBack set to TRUE. When the user clicks on a radiobutton the application will PostBack, and in the PostBack there will be certain logic performed, and the dataview will be re-binded to the datagrid. There turns out to be about 2-5 seconds delay between the time the user clicks the radiobutton and when the page is completely re-loaded. During this time the user may try...
1
4118
by: VMI | last post by:
In my Windows App, how can I add a nice "Please wait" message to my datagridview? With a datagrid I would be able to clear all columns, add one table with one row with the messsage, and bind it to the grid. But I added the columns to the gridview through the designer, so I'm not sure how to add the columns programmatically. Anyone have any suggestions? Thanks. VS2005 v2.0
2
5367
by: =?Utf-8?B?Z2VvZmZh?= | last post by:
I cannot figure this out and would appreciate any help..... I have a datagrid view that displays the results from a Stored Procedure. it can take awhile to load..... the stored procedure fires when a Calendar is clicked. ( a date is part of the stored procedure ) How can i just show a new page or a pop-up that says "please wait" until the stored procedure has run and gotten all the data and the page is completely loaded? In all the...
3
5172
by: =?ISO-8859-1?B?Rvpsdmlv?= | last post by:
Hello all, My application delay some minutes when I press a button(it's doing some working ). How can I put a message: "Please wating" during this delay? It is important that after the execution finish this message disappear. Fúlvio
5
3237
by: Jeremy | last post by:
Hi all, I have database actions that will potentially take several seconds to complete. My normal page uses AJAX so keeping the user informed of what is happening is not a problem. However, the page also has fallback code in case of no Javascript. In this case I would like to display temporary "please wait" type page
1
2379
by: =?Utf-8?B?Sm9obiBXYWxrZXI=?= | last post by:
Hi, I have a webpage designed with asp.net 2.0. Is there a way to display a "please wait" message to the screen horizontally centered and veritcally 20px from the VISIBLE top of the page, regardless of what kind of scrolling the user has done? I am currently displaying a "please wait" message (the DIV section shown below, which i'm showing/hiding) when the user clicks save, but the user is
0
9703
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
10555
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10317
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
10300
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
10069
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
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
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
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2974
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.