You are on page 1of 2

6.

CODES FOR VB

1. Shutdown Panel
Code:
Shell("Shutdown -s")
Shell("Shutdown -l")
Shell("Shutdown -r")
Shell("Shutdown -h")

2. Music Payer
OpenFileDialog1.ShowDialog()
AxWindowsMediaPlayer1.URL = OpenFileDialog1.FileName

3. YouTube Downloader

Script:

High Quality MP4(H264)


javascript:window.location.href = 'http://youtube.com/get_video?video_id... +
yt.getConfig('SWF_ARGS')['video_id'] + "&fmt=18&l=" + yt.getConfig('SWF_ARGS')['l'] + "&sk=" +
yt.getConfig('SWF_ARGS')['sk'] + '&t=' + yt.getConfig('SWF_ARGS')['t'];

High Definition 1280x720 MP4(H264)


javascript:window.location.href = 'http://youtube.com/get_video?video_id... +
yt.getConfig('SWF_ARGS')['video_id'] + "&fmt=22&l=" + yt.getConfig('SWF_ARGS')['l'] + "&sk=" +
yt.getConfig('SWF_ARGS')['sk'] + '&t=' + yt.getConfig('SWF_ARGS')['t'];

Very Very High Quality FLV(H264)


javascript:window.location.href = 'http://youtube.com/get_video?video_id... +
yt.getConfig('SWF_ARGS')['video_id'] + "&fmt=35&l=" + yt.getConfig('SWF_ARGS')['l'] + "&sk=" +
yt.getConfig('SWF_ARGS')['sk'] + '&t=' + yt.getConfig('SWF_ARGS')['t'];

4. Ask for serial


If TextBox1.Text = "11-22-33" Then
MsgBox("Correct Key", MsgBoxStyle.Information, "Correct Key")
'Form2.Show()
Else
MsgBox("Wrong Key!", MsgBoxStyle.Critical, "Error")
End If

5. Text to speech
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click Dim Speech Speech = CreateObject("sapi.spvoice")
Speech.speak(TextBox1.Text) End Sub

6. BMI Calculator
Try
Dim height, weight, bmi As Single
Height = TextBox1.Text
weight = TextBox2.Text
bmi = (weight) / (Height ^ 2)
TextBox3.Text = bmi
Catch ex As Exception
'Do Nothing
End Try

7. FB Login
https://login.facebook.com/login.php?login_attempt=1

You might also like