Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

display progress on the screen from vbs script.

Posted on 2006-07-09
4
Medium Priority
?
343 Views
Last Modified: 2008-02-01
Not using visual basic here, but vbs script from the desktop.

What I want to do as an example is display the progress of a vbs script to the screen.

e.g

for x= 1 to 2000

put the value of x on the screen

do some more stuff

next

The simple output is normally wscript.echo,
But this stops the code waiting for an ok response from the user.

Any ideas please.



0
Comment
Question by:harveygs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 15

Accepted Solution

by:
dave4dl earned 900 total points
ID: 17068848
execute your code using cscript (and continue to use echo)
0
 
LVL 15

Expert Comment

by:dave4dl
ID: 17068852
'save as text.vbs
'execute with: cscript test.vbs

for x = 1 to 10
    wscript.echo x
next
0
 
LVL 15

Expert Comment

by:dave4dl
ID: 17068855
does this work for you?
0
 
LVL 15

Assisted Solution

by:Ralf Klatt
Ralf Klatt earned 600 total points
ID: 17069586
Hi,

This might seem a fade too much to your question ... but I'd still suggest reading this article: http://www.microsoft.com/technet/scriptcenter/topics/help/wmidiag.mspx

... I'm referring to this article because it gives you a professional approach (including source code!) to: "As the tool runs it displays detailed progress information on the screen" ...


Hope this helps!
Best regards,
Raisor
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Simple Linear Regression

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question