How to Create a Message Box Generator

Loading...

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

Uploaded by on Oct 7, 2010

I show you how to create a message box generator which can be used to generate prank errors and random messages.

Requirements:

Microsoft Visual Basic 2010 Express

Code:
If RadioButton1.Checked = True Then
MsgBox("" & TextBox2.Text, MsgBoxStyle.Critical, "" & TextBox1.Text)
ElseIf RadioButton2.Checked = True Then
MsgBox("" & TextBox2.Text, MsgBoxStyle.Information, "" & TextBox1.Text)
ElseIf RadioButton3.Checked = True Then
MsgBox("" & TextBox2.Text, MsgBoxStyle.Exclamation, "" & TextBox1.Text)
ElseIf RadioButton4.Checked = True Then
MsgBox("" & TextBox2.Text, MsgBoxStyle.YesNo, "" & TextBox1.Text)
End If

Link to this comment:

Share to:

Uploader Comments (ProgramingTutorial)

  • Code is now in the description

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Good Job!! Make some more vids! and TUTS :D

  • whts da code

  • im installing visaul basic 2010

  • can you make a video based on my previous comment? xD

  • This is really good! did you write the code yourself?

    also i would have liked it better if the generated boxes would popup in random places all around the screen from a button pressed disguised as something else to make a "victim" scared that they have a virus as the virus' would say something like "virusy" >.<

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