Monday 10 March 2014

On 10:01 by Unknown in , , , , ,    No comments
Picture of VBS scripts

year 2.JPG
Hello there, Welcome to our blog. How you all are, Hope you all doing great. On our blog you will find support for tech, hacking and social tweaks. We provide networking solutions for any type of problem. You can contact us through this blog. We will do whatever we can do for your problem. 

What you need is just a notepad to write this few lines code. And little brain haha!!, so let's start.

Step 1: First Trick
Picture of Trick number 1
                       age 1.JPG

This trick will show you how old you'll be in 39 years.

1. Open notepad
2. Type this code:

WScript.Echo "Hello!"

Set WshShell = WScript.CreateObject("WScript.Shell")
age = InputBox("Please type your age.")

newage = age + 39
WshShell.Popup "In 39 years, you will be " & newage & "."

3. Go to File - save as and save it like this age ( or something else). vbs
It doesn't matter what will be the name, but it have to end with .vbs

4. That's it!!!

NOTE: You can change 39 with other number if you want. But don't forget to change it in both places!!!

Step 2: Second Trick. 

Picture of Trick number 2

  1. This trick will show you in which year you'll be 50. You have to type only your birth year.
1. Open notepad
2. Type this code:

WScript.Echo "Hello!"

Set WshShell = WScript.CreateObject("WScript.Shell")
birthdate = InputBox("Please type your birth year only.")

newage = birthdate + 50
WshShell.Popup "In " & newage & " you'll be 50."

3. Go to File - save as and save it years. vbs
Like I said before it doesn't matter the name, but it must end with .vbs
  1. This codes will not harm your computer. Enjoy and good luck.

0 comments:

Post a Comment