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

Multi Point USB Charger

  USB Plug Charger, 4-Port USB Fast Charger Plug with 33W Intelligent Quick Charge 3.0 Wall Charger, Multi USBPower Adapter UK Fast Charging...