Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Vb question

Thread Tools
 
Search this Thread
 
Old 21 November 2002, 08:19 PM
  #1  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

before marko views ive STFW and RTFM.

i want ot use the process bar while i load my data base, 10secs or so, how do i actually set this up?

Doesnt seem to be any thing on MSDN about it?

cheers

Si
Old 21 November 2002, 09:56 PM
  #2  
chiark
Scooby Regular
 
chiark's Avatar
 
Join Date: Jun 2000
Posts: 13,735
Likes: 0
Received 0 Likes on 0 Posts
Post

Try S'ing T F'ing W for "progress" rather than process. There's looooads of information in there

Count records in DB, initialise progress bar with that as the max value, on your loop that loads data update the progress bar...

Nick.
Old 21 November 2002, 10:04 PM
  #3  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

d'oh.

cheers matey ill do it Saturday being on the go since 5am sleep time

Si
Old 22 November 2002, 08:55 AM
  #4  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

still complex, most are Web based not to be used on a form
Old 22 November 2002, 09:18 AM
  #5  
chiark
Scooby Regular
 
chiark's Avatar
 
Join Date: Jun 2000
Posts: 13,735
Likes: 0
Received 0 Likes on 0 Posts
Post

The progress bar is a standard control in comctl32.ocx! It isn't complex, it's as easy as it gets.

What's the problem that you're having??? I'm intrigued...
Old 22 November 2002, 10:14 AM
  #6  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

The ones ive being reading seem to be activex objects!
All i want it to do is simply show the progress for 10secs, the bar moves left to right in 0-100%.

then database has loaded questionaire and im away.

Si
Old 22 November 2002, 10:24 AM
  #7  
chiark
Scooby Regular
 
chiark's Avatar
 
Join Date: Jun 2000
Posts: 13,735
Likes: 0
Received 0 Likes on 0 Posts
Post

Add the Microsoft Common Controls pack to your toolset (tools / components menu option IIRC)

You'll have more icons in your toolbar. One will look like a progress bar.

Drag that onto your form. Set properties of maxvalue to 20

Add a timer to your form with a 500ms tick time.

Have the timer increment the value of the progress bar when it fires.

That's it. It really is that easy...

Nick.
Old 22 November 2002, 10:42 AM
  #8  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

Ill try it tomorrow, im in lecture at the moment.

Cheers

Si
Old 22 November 2002, 10:59 AM
  #9  
chiark
Scooby Regular
 
chiark's Avatar
 
Join Date: Jun 2000
Posts: 13,735
Likes: 0
Received 0 Likes on 0 Posts
Post

Try paying attention?
Old 22 November 2002, 11:13 AM
  #10  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
Post

good one...............
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
slimwiltaz
General Technical
20
09 October 2015 07:40 PM
IanG1983
Wheels, Tyres & Brakes
2
06 October 2015 03:08 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
the shreksta
Other Marques
26
01 October 2015 02:30 PM



Quick Reply: Vb question



All times are GMT +1. The time now is 07:01 AM.