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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add progress bar to vb script

Status
Not open for further replies.

TheNewOne

Technical User
Mar 27, 2004
117
SI
Hi forum. I'd like to add a progres bar to my vb script.
I have a script which copy folder from server to mapped network drive. My script looks like this:

Const OverWriteFiles = True
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objNetwork = Wscript.CreateObject("Wscript.Network")

objNetwork.RemoveNetworkDrive "K:"
objNetwork.Mapnetworkdrive "K:", "\\remotcomputername\share", , "remotecomputer\Admin", "password"

objFSO.CopyFolder "c:\FolderName\*.*" , "k:\FolderName\*.*" , OverWriteFiles

I allready search the forum for this solution, but I havent enough knowlidgement to use posted topics in my script. Can some expert there help me. Any adwice is wellcome. THX

Jure from Slovenija
 
Hello TheNewOne,

Take a look of a posting of member markdmac which was particularly well-received and appreciated:

An activex wrapping extensive gui functionality is the GooeyScript that I learned from dilettante's posting in:
The documentation and download site is:

I confess I have not looked deep into the above options to form an opinion.

A more focused approach is to getting progress bar with an out-of-process activex. I can single out one for instance by joeware:
Joeware also has a very down-to-earth simulation using ie only without adding component:

So you see this is something where many efforts, perhaps too many, have been vested into. It must be the responses to high demands from the community. Gui has never been a natural territory and/or a vital functionality for scripting. But, if so desire, it is good to have one within reach.

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top