Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 29th, 2005, 09:55 AM
Jaykappy Jaykappy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2005
Posts: 739 Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 9 h 12 m 28 sec
Reputation Power: 22
Status Bar

I am using a Form as my front end in Microsoft Access. I have a FOR NEXT loop that I want to Display a Status bar when its running. I would also like to add some discriptive text while its running.

I dotn want the status bar to be attached to the form rather pop up when its inthe FOR NEXT loop.

I have been online looking for examples and have come up with message box alert but I have to click the message box every time for it to go away.

I am looking for a nicer appearence....

Anyone have a tid-bits or examples of coding for this.....

THIS IS THE MESSAGE BOX CODE I HAVE: BUT I AM LOOKING FOR A COOL STATUS BAR THAT HAS MOTION OR A PROGRESS STATUS....

For intLoopIndex = 1 To 10

Dim counter
counter = 0
MsgBox "The counter is: " & intLoopIndex

Reply With Quote
  #2  
Old September 29th, 2005, 10:37 AM
Alias-Zero Alias-Zero is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: localhost
Posts: 40 Alias-Zero User rank is Lance Corporal (50 - 100 Reputation Level)Alias-Zero User rank is Lance Corporal (50 - 100 Reputation Level)Alias-Zero User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 14 h 44 m 12 sec
Reputation Power: 4
Send a message via ICQ to Alias-Zero Send a message via AIM to Alias-Zero Send a message via MSN to Alias-Zero Send a message via Yahoo to Alias-Zero
Quote:
Originally Posted by Jaykappy
I am using a Form as my front end in Microsoft Access. I have a FOR NEXT loop that I want to Display a Status bar when its running. I would also like to add some discriptive text while its running.

I dotn want the status bar to be attached to the form rather pop up when its inthe FOR NEXT loop.

I have been online looking for examples and have come up with message box alert but I have to click the message box every time for it to go away.

I am looking for a nicer appearence....

Anyone have a tid-bits or examples of coding for this.....

THIS IS THE MESSAGE BOX CODE I HAVE: BUT I AM LOOKING FOR A COOL STATUS BAR THAT HAS MOTION OR A PROGRESS STATUS....

For intLoopIndex = 1 To 10

Dim counter
counter = 0
MsgBox "The counter is: " & intLoopIndex



Create a seperate form, and when you enter the for/next have it pop up that form, have a label for status and have a progress bar(Component: Microsoft Windows Common Controls)

Reply With Quote
  #3  
Old September 29th, 2005, 10:56 AM
Jaykappy Jaykappy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2005
Posts: 739 Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 9 h 12 m 28 sec
Reputation Power: 22
How do I make the Second form display a status bar. I know that I can call another form but I am unsure as to how I get a label/listbox etc to actually show a progress bar

Thanks for you response

Reply With Quote
  #4  
Old September 29th, 2005, 11:01 AM
mehere's Avatar
mehere mehere is offline
Senior Sarcasm Wizardess
Click here for more information.
 
Join Date: Feb 2005
Location: Dreamland
Posts: 12,867 mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)mehere User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 10976 Folding Title: Novice Folder
Time spent in forums: 4 Months 4 Weeks 15 h 20 m 54 sec
Reputation Power: 1762
although i've never done it ... here's some links that may help:

http://www.eggheadcafe.com/articles/20010610.asp

http://www.atgconsulting.com/progressbar.asp

http://www.webconcerns.co.uk/javascript/progressbar/progressbar.asp
__________________
Come JOIN the party!!!

Quote of the Month:
Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use.

Questions to Ponder:
What do you do when you see an endangered animal eating an endangered plant?

iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
copyright© 2008 sbenj69

Reply With Quote
  #5  
Old September 29th, 2005, 02:15 PM
Alias-Zero Alias-Zero is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: localhost
Posts: 40 Alias-Zero User rank is Lance Corporal (50 - 100 Reputation Level)Alias-Zero User rank is Lance Corporal (50 - 100 Reputation Level)Alias-Zero User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 14 h 44 m 12 sec
Reputation Power: 4
Send a message via ICQ to Alias-Zero Send a message via AIM to Alias-Zero Send a message via MSN to Alias-Zero Send a message via Yahoo to Alias-Zero
Quote:
Originally Posted by Jaykappy
How do I make the Second form display a status bar. I know that I can call another form but I am unsure as to how I get a label/listbox etc to actually show a progress bar

Thanks for you response


Add the component Microsoft Windows Common Controls, it will add a progress bar control for you.


Edit: If you want any help with it or an example, feel free to drop me a line on msn

MSN: vaelfore@hotmail.com

Reply With Quote
  #6  
Old September 30th, 2005, 09:50 AM
Jaykappy Jaykappy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2005
Posts: 739 Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level)Jaykappy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 9 h 12 m 28 sec
Reputation Power: 22
The major problem I am having is that as I go through the FOR NEXT Loop there is a call to another function. If I use a message box I have to click OK everytime it goes through the loop. If I call another Form within the Loop it does not display the whole form untill it loops through 10 times. I am not sure how to code it so the Second form shows up the entire time....

Does that make sense?

Thanks

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Status Bar


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT