Page 4 of 4 <1234
Topic Options
#51202 - 2000-09-22 04:47 PM Re: I want to add a progress bar in my login script
Anonymous
Unregistered


Paul, I will get the VB source up on my web site this afternoon. Once up, I will post another message here...
Top
#51203 - 2000-09-22 10:48 PM Re: I want to add a progress bar in my login script
Anonymous
Unregistered


JPols,

Can this little snippet be of use to you?

code:

$pbPercent = (($numerator * 1000) / $denominator)
$pbPercent = $pbPercent / 10

Just another way to come up with 100%...

Paul

Top
#51204 - 2000-09-23 11:14 AM Re: I want to add a progress bar in my login script
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Certainly Sir,
deep in mind i knew that i have to blow the integers up to max possible to keep rounding errors low...
Thanx Paul for Kixtarting my poor overstressed brain

Greets Jochen

_________________________



Top
#51205 - 2000-09-25 01:20 PM Re: I want to add a progress bar in my login script
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Paul,

didn't saw the forrest for the trees !
It wasn't caused by 'rounding errors' but
by additional lines in the logfiles that worked against my ref_count ...
It was a colleague that saw it after looking 2 minutes to my script...SHAME!!!
[*Jochen thinks of giving back his Existence-licence*]

will post soon
J.

[This message has been edited by jpols (edited 25 September 2000).]

_________________________



Top
#51206 - 2000-10-24 04:56 PM Re: I want to add a progress bar in my login script
Anonymous
Unregistered


Paul and all... sorry about the delay, but I finally got the Visual Basic status window up on my web site. The site doesn't refer to the page yet, so you'll need to hit the page directly. http://www.primenet.com/~morbid/Applications/Kix-Status

Top
#51207 - 2000-10-26 04:41 PM Re: I want to add a progress bar in my login script
Anonymous
Unregistered


Sorry... the animation file is now included with the kix-status distribution.
Top
#51208 - 2000-10-30 03:28 PM Re: I want to add a progress bar in my login script
Anonymous
Unregistered


er, eh.... well, as was originally intended, the source is now included with the archive. Sorry for the inconvenience, but I am not accustomed to including the source code for my applications....

Top
#51209 - 2001-10-05 03:03 PM Re: I want to add a progress bar in my login script
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
One more concept bar for posterity ...

break on
color w+/b
cls
box(0,0,24,80,chr(176))
$wait = 40 ; max number of seconds to wait
$count = 0 ; count of seconds so far
color w+/n
box(7,22,18,52," ")
color w+/b+
box(5,20,16,50,"single")
at(8,25) "Installing software..."
box(10,22,12,48,"single")
$c = 0
while exist ("c:\ready.txt") = 0 and $count < $wait
sleep 1
$count=$count+1
color w+/b+
at(11,$c+23) chr(166)
color w/n
$c = $c + 1
if $c = 25
color w+/b+
at(11,23)" "
color w/n
$c = 0
endif
loop
color w/n
cls
exit

-Shawn

[this is still one of my favorite thread of all time ...]

Top
Page 4 of 4 <1234


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 310 anonymous users online.
Newest Members
Praveer, Ollero, rayyo, Foxlicht, DonChild
17742 Registered Users

Generated in 0.033 seconds in which 0.013 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org