Wednesday 17 October 2012

Constructing a Message Box


The best way I have found to construct a message box in VB. Net goes something like this


Dim msg As String
Dim style = MsgBoxStyle.YesNo
Dim title As String = "Your Message"
msg = "Print Contact letter "
Dim response = MsgBox(msg, style, title)
If response = MsgBoxResult.Yes Then


end if

No comments:

Post a Comment

Passwords Made Easy

Today i thought i would write about password security. As we are all aware passwords are important but we continue to use very poor password...