HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to create custom message box in VB.NET

28,346 views October 26, 2013 13:21

Watch on YouTube
ChannelSam Sandaruwan

Description from the creator

Simple custom message box in vb.net 2012

Form1 Code

Public Class Form2

Dim mymsgbox As New Form1

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

If txtuname.Text = "sam" And txtpass.Text = "123" Then
mymsgbox.lblmsg.Text = "Login Success..!!"
mymsgbox.btnaction.Text = "OK"
mymsgbox.picicon.Image = My.Resources.Finder
Else
mymsgbox.lblmsg.Text = "Login Error....!"
mymsgbox.btnaction.Text = "OK"
mymsgbox.picicon.Image = My.Resources.Chat_Isaac
End If

mymsgbox.ShowDialog()

End Sub

End Class

Download Link

docs.google.com/file/d/0B8SCPVVErX3xbW5ydDlUYzh…

About this tutorial

Sam Sandaruwan published this 13:21 video tutorial on October 26, 2013. It has been watched 28,346 times on YouTube.

Duration
13:21
Published
October 26, 2013
Views
28,346
Likes
54

Tags

Share

This tutorial in other languages