473,386 Members | 1,609 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,386 software developers and data experts.

hourglass control during execution of code ?

I have a procedure that takes certain time to finish. It is triggered by
pushing botton, but a user can't see whether the procedure started or not,
because Access starts showing hourglass cca 20 seconds after the button was
pushed.
I would like to add some hourglass or a message that would be present on the
screen while procedure is runing. How to accomplish it ?

Thanks.
Nov 13 '05 #1
3 6511
Per Zlatko Mati?:
I would like to add some hourglass or a message t


DoCmd.HourGlass True
..
..
..
..
..
DoCmd.HourGlass False
--
PeteCresswell
Nov 13 '05 #2
thank you very much :)!

"(Pete Cresswell)" <x@y.z.invalid> je napisao u poruci interesnoj
grupi:od********************************@4ax.com.. .
Per Zlatko Mati?:
I would like to add some hourglass or a message t


DoCmd.HourGlass True
.
.
.
.
.
DoCmd.HourGlass False
--
PeteCresswell

Nov 13 '05 #3
Zlatko:

You will also want to make sure that you turn off the hourglass in any error
handling in your code. If you do not do this and your code encounters an
error before in gets to the line where you turn off the hourglass, the
hourglass will remain visible.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"Zlatko Matiæ" <zl***********@sb.t-com.hr> wrote in message
news:d5**********@ss405.t-com.hr...
I have a procedure that takes certain time to finish. It is triggered by
pushing botton, but a user can't see whether the procedure started or not,
because Access starts showing hourglass cca 20 seconds after the button was pushed.
I would like to add some hourglass or a message that would be present on the screen while procedure is runing. How to accomplish it ?

Thanks.

Nov 13 '05 #4

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

Similar topics

1
by: José Joye | last post by:
Hello, I'm playing around with dynamically loading user controls ...and having problems I created a really simple userControl (in fact contains a plain text box) and placed it into the...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
6
by: Art | last post by:
Hi I'm new at this and need some help. I have a "solution" with 2 projects - the main project and a library. The library is simple, it contains a text box that will appear many times in the form...
8
by: Eddie | last post by:
Hi All, I just want to change the mouse cursor during a process. I want a hourglass... How may I do it ? Thx
6
by: Lars | last post by:
Hi, I have created a simple custom PrintPreviewDialog consisting of a simple standard PrintPreviewControl (.NET 1.1) on a WindowsForm with a few buttons (for printing, zooming, etc.). It is...
4
by: Raghu | last post by:
I have developed a web portal that uses ReportViewer web control to connect to a remote SQL 2005 Report server and displays the reports on the client side. The asp.net page has been coded to...
0
by: nate | last post by:
the error returned is this: Server Error in '/AnnAccRpt' Application. -------------------------------------------------------------------------------- Could not find control 'DropDownList1' in...
7
by: Henry Stockbridge | last post by:
Hi, I am running the following code and the visibility of the Hourglass appears late, instead of immediately. Any ideas of how I can remedy this? ============= Private Sub...
0
by: =?Utf-8?B?Sm9ieTY0?= | last post by:
I really do not understand what I am doing wrong. I was trying to get familiar with WebParts and I am getting the following error: The DataSourceID of 'DataList1' must be the ID of a control of...
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: 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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...
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.