Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

VBScript(Tutorial) Number Counter

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,764
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 26, 2008

Hello Today it's time for more vbscript =) very
simple. Im going to show you how to make a msgbox
number counter Enjoy. =)

Code:

do
Dim a
b=inputbox("Enter a number to count up from:")
c=inputbox("Enter another number")
if not isnumeric (b) then
wscript.quit
end if
if not isnumeric (c) then
wscript.quit
end if
For a = (b) to (c)
Msgbox a
Next
loop

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • can anyone make a counter that count make a msgbox with: you need to wait 10 seconds to see the message that comes now. then you click ok and then its counting down from the 10 and if he is at 0 then it says:it 10 seconds ago that you see the first msgbox

    can anyone make that for me or something like that

  • @xXFireCubeXx

    type exit 2 times

  • type exit 2 times to close

  • Wow nice. :) I wouldn't ever think that is possible with VBS.

  • strtimes = inputbox ("How many message you want?")

    dim foo

    foo = strtimes

    Do until foo = 0

    msgbox "Hello, this is message: "&foo,,foo

    Foo = Foo -1

    loop

  • or like akavaram said above, or just write LETTERS in the inputboxes, since it has

    If not isnumeric then

    wscript.quit

  • go to task manager processes and then end wscript

  • i cant close it!! say ne how to close!!

  • nice! 5/5

    try to make one that counts down if you can please tell me!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more