Hourglass or Progress Bar

Hourglass or Progress Bar

Anonymous
Not applicable
569 Views
8 Replies
Message 1 of 9

Hourglass or Progress Bar

Anonymous
Not applicable
is there some kind of hourglass or progress bar in VBA so the user doesnt
think the program crashed during a process? How can i add it?
Thanks...Sean
0 Likes
570 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable
> is there some kind of hourglass or progress bar in VBA

ARProgBar.ocx
"ARProgBarCtrl.ARProgressBar"
If you don't have it let me know & I'll email it to you...
0 Likes
Message 3 of 9

Anonymous
Not applicable
A real cheap way to solve the problem is to update a label:

' In your loop

lblProgress.Caption = nPercent & "% complete"
DoEvents

Fair warning: if you use DoEvents, disable the button the
user pressed to kick off the processing or they might press
it again and start it all over. If you don't use DoEvents,
the label most likely will not update leaving you right you
started.

If you're not opposed to third party controls, visit
http://www.mvps.org/ccrp and grab a free copy of their
ProgressBar control.

--
http://www.acadx.com


"Sean Jman" wrote in message
news:4562DD774B82D22D93EB8BFFCB5D30FE@in.WebX.maYIadrTaRb...
> is there some kind of hourglass or progress bar in VBA so
the user doesnt
> think the program crashed during a process? How can i add
it?
> Thanks...Sean
>
>
0 Likes
Message 4 of 9

Anonymous
Not applicable
> ARProgBar.ocx

Who is the author and what are the licensing terms?

--
http://www.acadx.com
0 Likes
Message 5 of 9

Anonymous
Not applicable
BTW, if you like, you can also use AutoCAD's own progress
bar (the one in the status bar). There are several
applications that expose it to VBA including my own
vbXtender freeware. You can get a copy in the Downloads
section of my site.

--
http://www.acadx.com
0 Likes
Message 6 of 9

Anonymous
Not applicable
whats the nPercent?
do i need to declare that?

"Frank Oquendo" wrote in message
news:220A12060CA2C54CAD7A83C489A1D86C@in.WebX.maYIadrTaRb...
> A real cheap way to solve the problem is to update a label:
>
> ' In your loop
>
> lblProgress.Caption = nPercent & "% complete"
> DoEvents
>
> Fair warning: if you use DoEvents, disable the button the
> user pressed to kick off the processing or they might press
> it again and start it all over. If you don't use DoEvents,
> the label most likely will not update leaving you right you
> started.
>
> If you're not opposed to third party controls, visit
> http://www.mvps.org/ccrp and grab a free copy of their
> ProgressBar control.
>
> --
> http://www.acadx.com
>
>
> "Sean Jman" wrote in message
> news:4562DD774B82D22D93EB8BFFCB5D30FE@in.WebX.maYIadrTaRb...
> > is there some kind of hourglass or progress bar in VBA so
> the user doesnt
> > think the program crashed during a process? How can i add
> it?
> > Thanks...Sean
> >
> >
>
>
0 Likes
Message 7 of 9

Anonymous
Not applicable
It simply was installed when I installed AutoCAD 2000i


"Frank Oquendo" wrote in message
news:7DB6B36502B60D7AB12FCC0F463B7549@in.WebX.maYIadrTaRb...
> > ARProgBar.ocx
>
> Who is the author and what are the licensing terms?
>
> --
> http://www.acadx.com
>
>
0 Likes
Message 8 of 9

Anonymous
Not applicable
I have 2000i on my workstation but no ArProgbar.ocx. You may
want to do a little checking before you distribute ant
copies of it.

--
http://www.acadx.com


"Thomas Smith" wrote in message
news:15291B13697A52BD890ED03DBC9F0137@in.WebX.maYIadrTaRb...
> It simply was installed when I installed AutoCAD 2000i
0 Likes
Message 9 of 9

Anonymous
Not applicable
nPercent would be an integer value that you increment within your
loop.

--
http://www.acadx.com


"Sean Jman" wrote in message
news:2DA82513D127B271EC50BEDAD4733561@in.WebX.maYIadrTaRb...
> whats the nPercent?
> do i need to declare that?
0 Likes