arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a simple message generator in vb.net
#1
Today i will show you how to make a simple message box generator with visual basic .net
as the name suggest the use of this program is to generate a message box . to start creating the message box generator start your visual studio and make a new project
Spoiler Expand
[Image: decd0b3ef4864bdea4c50a3d0774e79f.png]
[Image: 75bd75a67ba44c6f93df81d083b7a984.png]
[Image: dcb6caca7fba4bd3ae46b62be0775802.png]

after you make a project start by placing 1 textbox , 1 button and 4 radio button
Spoiler Expand
[Image: 040b7a968c1145bdb2be949ba58d4993.png]

after putting all the necessary control . now you need to change the text of the control like this
Spoiler Expand
[Image: 6d352ab309174d0b9be39d580a74b721.png]

double click the generate button and enter the generator code in button1_click
Spoiler Expand
[Image: a22e0c34ca634ff5bcb5c71f7628b669.png]
Public Class Form1

   Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
       If RadioButton2.Checked = True Then
           MsgBox(TextBox1.Text, MsgBoxStyle.Information)
       ElseIf RadioButton3.Checked Then
           MsgBox(TextBox1.Text, MsgBoxStyle.Exclamation)
       ElseIf RadioButton4.Checked Then
           MsgBox(TextBox1.Text, MsgBoxStyle.Critical)
       Else
           MsgBox(TextBox1.Text)
       End If
   End Sub
End Class

now the coding is done . save and debug your custom simple message generator
[Image: GIF.gif]

if you interested . i leave the project file in the attachment . the archive password is my username : humanpuff69

Spoiler Expand
[Image: 307d20871689429697129de58071d25f.png]


Attached Files
.zip   Simple Message box generator - humanpuff69 post4vps.com.zip (Size: 70.85 KB / Downloads: 0)
Terminal
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5


Messages In This Thread
How to make a simple message generator in vb.net - by humanpuff69 - 04-28-2017, 02:32 PM


person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting