×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Display progress bar while script is running

Display progress bar while script is running

Display progress bar while script is running

(OP)
Hi all,
I am currently using IE to display a progress bar while my script is running. Now that IE will be decommissioned I am looking for a replacement, any alternative implementations that you can suggest?
Thanks

RE: Display progress bar while script is running

Difficult to say without more context but these days VBScript is probably no longer the best medium.

For basic progress bars have a look at PowerShell's Write-Progress cmdlet or, for more visual effects and granularity, look at something like AutoHotkey, for example:

RE: Display progress bar while script is running

(OP)
Hi,

I don't have much flexibility in terms of using VBScript as it is used for some legacy applications at my company. For more context, I am copying a bunch of files so I create the IE object and increment the progress bar based on the ratio of files uploaded. The change would need to be implemented across a number of legacy applications so trying to keep it simple. I found some suggestions about using HTA but have no previous experience with it, is that a suitable alternative? are there better suggestions?

RE: Display progress bar while script is running

I would also try the HTA option. At least for the future, when IE stops working in newer Windows, you'll have a replace solution.

I've had a similar experience in the past. Originally I used some object for file open dialog which no longer worked in Windows 7, so I had to revise it and used the File Open Dialog from Excel.
Then for the latest script I also wrote it first in Vbscript in the same way but then I made a decision to try it in Powershell using the file open dialog System.Windows.Forms.OpenFileDialog. It's also good to write a script in Powershell, but there are other problems with Powershell that doesn't exist with Vbscript ...

RE: Display progress bar while script is running

Hi all,

take a look at this : Link

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close