473,835 Members | 2,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create a Timed Progress Bar in MS Access

6 New Member
I want to complete a project and I want to place a timed progress bar on my splash screen, I want to find out a method of timing my progress bar to update every 10 seconds.

here's what I got so far:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Open(Cancel As Integer)
  2. If (ProgressBar0.Value <0) then
  3. ProgressBar0.Value = ProgressBar0.Value +10
  4. End If
  5. ProgressBar0.Value =100
  6.  
  7. End Sub
** contact details removed **
Please help me
Maniesh
Feb 17 '09 #1
5 23699
NeoPa
32,584 Recognized Expert Moderator MVP
I moved your thread into the Answers section (It was posted in Insights).

I suspect that you need to look at the Timer facility for this, but your existing code means nothing as far as I can see.

You will need to post a clearer question before you can expect much help.

PS. I noticed you'd reposted so caught the problem. Not a good idea but we appreciate the thought. I've deleted the other one so there is now only this one to worry about.
Feb 17 '09 #2
ADezii
8,834 Recognized Expert Expert
You can take a look at this to get some idea of how to use the Status Bar of Access to indicate relative progress of an operation.
http://bytes.com/topic/access/insigh...s-meter-access
Feb 17 '09 #3
ADezii
8,834 Recognized Expert Expert
Here is another example using the Microsoft Progress Bar ActiveX Control, but as NeoPa has previously stated, you must expand on your original question. These samples are only to provide you with basic ideas on how to visually indicate progress on some type of operation:
  • Insert the Microsoft Progress Bar on your Form.
  • Change the Name of the Progress Bar Control to ProgressBar1.
  • Manually set the Max Property of this Control to 100.
  • Set the Form's TimerInterval Property to 10000 (10 seconds).
  • Place the following code in the Form's Timer Event:
    Expand|Select|Wrap|Line Numbers
    1. Private Sub Form_Timer()
    2. Static intCounter As Integer
    3.  
    4. intCounter = intCounter + 1
    5.  
    6. Me![ProgressBar1].Value = (intCounter * 10)
    7.  
    8. 'Disable Timer at 100
    9. If intCounter = 10 Then Me.TimerInterval = 0
    10. End Sub
Feb 17 '09 #4
maniesh
6 New Member
thank you, ADezii , your code worked! My project will not be postponed any longer.
Mar 19 '09 #5
ADezii
8,834 Recognized Expert Expert
@maniesh
Glad it worked out for you.
Mar 19 '09 #6

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

Similar topics

2
10613
by: Rob | last post by:
Hi all, Quick question, how do you create a table in MS Access from with an asp script? I will be creating the table name from Request.querystring("name"), also needs fields of branchname and branchcode guess something like CREATE TABLE & Request.querystring("name") branchname. branchcode.
3
3041
by: John | last post by:
Hi, I am a beginner looking for example code on how to create an access database for a local application. I need to create the database when the app is first installed. I can do it with SQL 2000 but I am not sure how to do create a db, tables and fields as a local mdb. Any help or pointers to where I can find example code on this much appreciated. Thanks John
10
7470
by: Minh | last post by:
I search in all the Disscussion but can not found. How can I create a MS Access Database file using C# code with a given Table Structure ? For example, I want to create a Access Database File with 2 tables: Student and Department, of course, using C# code, not using MS Access to create manually. In Department table, I will have 3 Columns: DepartmentID (primary key, auto
9
2467
by: badboybrown | last post by:
Hello, Is it possible to step through the "Create MDE" process and see what is causing Access to crash? I tried, unsuccessfully, many times to create an MDE from my database. But, randomly, I checked the "Allow Full Menus" in the Startup section. I was then able to create an MDE. That worked once. It has not worked since and I don't particularly
4
2176
by: neehakale | last post by:
Can you pls tel me how to create smother progress bar in C3v.net(visual studio 2003)
1
1678
by: bienwell | last post by:
Hi all, Do you have the source code to declare a progress bar and make it display and run on the web page along with the upload file process in ASP.NET program? Please give me some hints. Thanks in advance.
3
1681
by: hanz | last post by:
Hello everyone, I am trying to create an MS Access file using Perl in a Linux environment. By the way I am on a SuSE Linux envrironment. I have already installed the DBI module. I am looking for some direction on how to go about accomplishing my task. Thanks in advance, Hanz
0
1536
by: maniesh | last post by:
I want to complete a project and I want to place a timed progress bar on my splash screen, I want to find out a method of timing my progress bar to update every 10 seconds. here's what I got so far: Private Sub Form_Open(Cancel As Integer) If (ProgressBar0.Value <0) then ProgressBar0.Value = ProgressBar0.Value +10 End If ProgressBar0.Value =100
0
1132
by: John James | last post by:
I need to create a new Access DB based on one already existing...Hence, I am attempting to copy the db struture and not the data; It's a yearly db I need to track/create. I looked on this site and deligtfully found a same question (printed below)...I worked through the process suggested to create the new db, but I can only get tables to transfer, or any query or report also transfers as a table??? And I don't have any table or queries in my...
0
9810
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
9653
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10815
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...
1
10563
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,...
1
7770
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6970
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5640
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5808
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3094
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.