Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to? process pop-up or bar

Status
Not open for further replies.

lcisa

Programmer
May 16, 2005
7
US
I haven't be able to figure this one out. I created a VBscript that takes a few minutes to run. I was wondering what is the easiest way to notify the user that the script is running? After you double-click to run it, it's hard to figure out if it's running or not. Keep in mind that this VBscript is pretty much stand alone(no IE or ASP) only using WSH. I'm thinking something like a pop-up window that says "Processing...Please wait.". Then disappear after it is complete. Maybe even a processing bar or something. The easier the better. Any ideas on how to do this? Some examples maybe?

 
There are a few possiblities.

1) Some people will commonly use IE to popup a progress bar. You can find examples of that by searching this forum.

2) You can search the web. There are several COM enabled progress bars available that you could use. The drawback is the COM object would need to be installed and registered wherever you wanted to use it. I have used one called JProgBar in the past.

3) you can simply pop up a message box telling the user that the script is running. This is the lowest tech least cool solution.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top