This is a custom dialog, msgbox that i redeveloped from some SO code from this thread - https://www.vbforums.com/showthread....Adjusting-Code
CustomMessageBox.zip
To create custom msgboxes in your app. add the icons (png) from My.Resources...
Add the CustomMessageBox Module to your app., then to create msgboxes with custom buttons...
Code:
Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim result As String = CustomMessageBox.Show( _
New String() {"Include", "Exclude"}, frmIcon.iconQuestion, _
"'frame_0070.jpg' is classified as a Blank Frame. Do you wish to include it in the Image Library, or exclude it?", _
"Include frame")
MessageBox.Show(result)
End Sub
result will return either one of your buttons text, or "cancel" depending on which button you click, or don't...