Showing posts with label VISUAL BASIC SCRIPTS. Show all posts
Showing posts with label VISUAL BASIC SCRIPTS. Show all posts
How To Make Your Computer's Internal Speaker Beep?

How To Make Your Computer's Internal Speaker Beep?

Beep your internal speaker of computer using VBS and CMD trick:
  • Using CMD

    Type Ctrl+G in DOS & then press Enter. For long beep you can repeat the process like pressing Ctrl+G 10 times and then press Enter.

  • Using VBS

    Copy below written script and paste it on Notepad, save it with extension .vbs

    Set oWS = WScript.CreateObject("WScript.Shell")
    oWS.Run "%comspec% /c echo " & Chr(07), 0, True 

    For making beep that does not stop, try this code: 
     do
    Set oWS = WScript.CreateObject("WScript.Shell")
    oWS.Run "%comspec% /c echo " & Chr(07), 0, True
    loop
Note: For stop, go to Task Manager, Processes, Look for process with name wscript.exe and then click stop.
Virus Which Will Open And Close Your CD/DVD Writer

Virus Which Will Open And Close Your CD/DVD Writer

Hi everyone!! You must have CD/DVD writer for your computer. Today, I'm gonna tell you about a virus which will open and close your CD/DVD-Rom.

  • Download text file from here.
  • Save it as virus.vbs
  • Run it and see the magic.
Note: For stopping, Go to task manager by pressing Ctrl+Alt+Delete or by typing taskmgr in run. Go to Processes tab, look for wscript.exe and End Process. Hope you got it.
Make A Scary Virus - A Funny Trick

Make A Scary Virus - A Funny Trick

Hi! Once again I'm back with some entertaining trick. In this post, I will tell about making a scary virus which will not harm the system, it's just for fun.

  • Download text file from here.
  • Save it as virus.vbs
  • Open it.
  • A message will appear on your screen "Warning! A virus has been detected on your PC.
    Press YES to format your hard disk now or Press NO to format your hard disk after system reboot"

Note: It's just for fun, it will not harm your computer. So start threatening your friends now!