Ok, this isn't going to be much of tutorial, but I will tell you what you need...
What you need:
1 TextBox
1 Rich Text Box
4 RadioButtons
1 Button
Naming:
RadioButton 1 - Critical
RadioButton 2 - Information
RadioButton 3 - Exclamation
RadioButton 4 - Yes / No
What to do:
Make RadioButton 1 Checked -So there are no errors...
Now, time for the code, just copy and paste it (Ctrl C = Copy, Ctrl V = Paste... Code:
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If RadioButton1.Checked = True Then
MsgBox("" & RichTextBox1.Text, MsgBoxStyle.Critical, "" & TextBox1.Text)
ElseIf RadioButton2.Checked = True Then
MsgBox("" & RichTextBox1.Text, MsgBoxStyle.Information, "" & TextBox1.Text)
ElseIf RadioButton3.Checked = True Then
MsgBox("" & RichTextBox1.Text, MsgBoxStyle.Exclamation, "" & TextBox1.Text)
ElseIf RadioButton4.Checked = True Then
MsgBox("" & RichTextBox1.Text, MsgBoxStyle.YesNo, "" & TextBox1.Text)
End If
End Sub
End Class