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

How to display progress messages

I'm struggling my way through building an Access 2k application,
learing how to do each step as I get to it .... in other words I'm
pretty new at this ......

I'm running a series of processes that update local tables from a data
warehouse connected through ODBC, some of which are pretty time
consuming, all as a result of the user clicking one button. I'd
really like to display a list of the tasks that are being done and
check each of them off as they're completed. It'd be cool to show
something like the Windows Uninstaller's progress dialog, but
whatever's achievable will satisfy me.

Any help would be GREATLY appreciated. And please remember that I
haven't been doing this for very long.

Thanks!!!
Nov 12 '05 #1
6 11578
RE/
I'm running a series of processes that update local tables from a data
warehouse connected through ODBC, some of which are pretty time
consuming, all as a result of the user clicking one button. I'd
really like to display a list of the tasks that are being done and
check each of them off as they're completed. It'd be cool to show
something like the Windows Uninstaller's progress dialog, but
whatever's achievable will satisfy me.


Chuck's on the Good Right And Holy Path, but I use the status bar a lot.

Like when running a series of queries or stored procedures.... I'll just update
the status bar with a little message like "Rating Import: Getting raw rating
data from JJK....", then "Rating Import: Checking ratings for matches against
held securities..." and so-on and so-forth.

Only two catches:
- At startup time, make sure the status bar is visible
- Don't forget to clear the status bar at the end.
For processes that go through a number of iterations that can be at least
roughly estimated in advance, of course I use SysCmd's InitMeter and
UpdateMeter... But that's not going to work for something that's being done by
the server unless you can write some sort of loop that gets updates from the
server - which I haven't even thought about yet, much less attempted....
-----------------------
PeteCresswell
Nov 12 '05 #2
I looked for the statusbar control (and the progressbar control) and
see that they're ActiveX controls included with the MOD. I'm just
running with the standard Office 2k Professional package.

On Fri, 05 Sep 2003 00:20:40 GMT, "(Pete Cresswell)" <x@y.z> wrote:
RE/
I'm running a series of processes that update local tables from a data
warehouse connected through ODBC, some of which are pretty time
consuming, all as a result of the user clicking one button. I'd
really like to display a list of the tasks that are being done and
check each of them off as they're completed. It'd be cool to show
something like the Windows Uninstaller's progress dialog, but
whatever's achievable will satisfy me.


Chuck's on the Good Right And Holy Path, but I use the status bar a lot.

Like when running a series of queries or stored procedures.... I'll just update
the status bar with a little message like "Rating Import: Getting raw rating
data from JJK....", then "Rating Import: Checking ratings for matches against
held securities..." and so-on and so-forth.

Only two catches:
- At startup time, make sure the status bar is visible
- Don't forget to clear the status bar at the end.
For processes that go through a number of iterations that can be at least
roughly estimated in advance, of course I use SysCmd's InitMeter and
UpdateMeter... But that's not going to work for something that's being done by
the server unless you can write some sort of loop that gets updates from the
server - which I haven't even thought about yet, much less attempted....
-----------------------
PeteCresswell


Nov 12 '05 #3
Ragtimer wrote:
I looked for the statusbar control (and the progressbar control) and
see that they're ActiveX controls included with the MOD. I'm just
running with the standard Office 2k Professional package.


Check out http://www.attcanada.net/%7ekallal.m.../msaccess.html. Albert has
a WordMerge download that contains a status bar and does what you want.
Nov 12 '05 #4
I have a simple progress bar function that takes the number of records
in the dataset and scales the bar automatically so you see record by
record progress in a digital and analog display.
Write to me directly if you want the code.
Hank Reed ha********@aol.com
Nov 12 '05 #5
RE/
I looked for the statusbar control (and the progressbar control) and
see that they're ActiveX controls included with the MOD.


I didn't mean status bar, the control - just the status bar that's built in to
the MS Access window.

e.g.
------------------
Sub statusSet(theMessage As String)
debugStackPush mModuleName & ": statusSet"
On Error GoTo statusSet_err

' PURPOSE: To provide a tool for setting the 'Status' line in the
' lower left of MS Access' window
' ACCEPTS: A free-form text message or an empty string
' SETS: Status bar at bottom of screen to contents
' of message or, if empty string, clears it

Dim v As Variant

If theMessage & "" = "" Then
On Error Resume Next
v = SysCmd(SYSCMD_CLEARSTATUS)
On Error GoTo statusSet_err
Else
v = SysCmd(SYSCMD_SETSTATUS, theMessage)
End If

statusSet_xit:
debugStackPop
On Error Resume Next
Exit Sub

statusSet_err:
bugAlert True, ""
Resume statusSet_xit
End Sub
--------------------------
-----------------------
PeteCresswell
Nov 12 '05 #6
Thanks for that offer, Hank.

Actually, I'd rather leave email out of it, so if you could post it as
a response here I'd much appreciate it. But if you'd rather not and
would prefer using email, I understand.

Thanks again.
On 5 Sep 2003 08:59:28 -0700, ha********@aol.com (Hank Reed) wrote:
I have a simple progress bar function that takes the number of records
in the dataset and scales the bar automatically so you see record by
record progress in a digital and analog display.
Write to me directly if you want the code.
Hank Reed ha********@aol.com


Nov 12 '05 #7

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

Similar topics

9
by: Brian Roberts | last post by:
I have a command line Python program that sometimes takes a bit (several minutes) to run. I want to provide an optional method for an impatient user (me!) to check the status of the program. The...
0
by: Lasse Vågsæther Karlsen | last post by:
I was wondering if someone knew about a control for .NET that allows me to display log messages from an application while it is running. The following things are necessary: - word-wrap -...
1
by: Ziggy | last post by:
Please excuse this elementary question...but I am just dumb.... I have taken a simplistic Dialog Box and added a Progress Control. When I did that, my Dialog Box was no longer able to intialize...
5
by: GB | last post by:
Okay, here is what I am trying to do We have a dialog of windows that collects information for generation of a dynamic HTML report. The last page in the wizard dialog accepts all report options...
7
by: Oleg | last post by:
I have a web form let's say 'YYZ.aspx'. It has an iframe in it. When it loads it shows progress bar in IE this way: loading for page then again loading for page in iframe. This part is fine....
2
by: Bill Nguyen | last post by:
How can I create a shared function to display process progress that can be called from other routines within an application? Any example that I can follow? Thanks Bill
2
by: Robert Smith | last post by:
Hello, I have a problem with my progress bar, as shown in the attached code, the values on the bar are incremented within a threaded timer event. The timer works fine and ticks all the way...
1
by: mgoold2002 | last post by:
Hi. I have a class that call another class which handles progress messaging. The progress messaging class has an RTF that's supposed to display progress messages using the appendtext method. ...
5
matrekz42
by: matrekz42 | last post by:
Hello there, I currently have a form that has a button to run multiple queries and I want to add a bar to show the user the progress. I tried using the Microsoft Progress Bar Control 6.0, but I'm...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.