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

Create a Timed Progress Bar in MS Access

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 23578
NeoPa
32,556 Expert Mod 16PB
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 Expert 8TB
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 Expert 8TB
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
thank you, ADezii , your code worked! My project will not be postponed any longer.
Mar 19 '09 #5
ADezii
8,834 Expert 8TB
@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
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...
3
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...
10
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...
9
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...
4
by: neehakale | last post by:
Can you pls tel me how to create smother progress bar in C3v.net(visual studio 2003)
1
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. ...
3
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...
0
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...
0
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...
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: 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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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...
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...

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.