On Jun 17, 1:13 am, "Mr. Arnold" <MR. Arn...@Arnold.comwrote:
"JB" <jb.bross...@gmail.comwrote in message
news:11**********************@q69g2000hsb.googlegr oups.com...
Hi All,
I've been using MsgBox function in VB for years and now that I've
moved to .NET, I'd like to do something a little bit more fancy.
I would like to create a message box that can be expanded to display
more details about an error. I have 2 questions about that:
1 - Is there something like an expandable Message Box built in VB.NET
or will I have to create the form and do all the resizing myself?
2 - How can I display the icon like the one in MsgBox (e.g. a question
mark for MsgBoxStyle.Question, a red cross for MsgBoxStyle. Critical)
I'd appreciate any suggestion.
Thanks
http://www.vbdotnetheaven.com/Upload...calizableVb111...
Your friend is Google.http://www.google.com/search?hl=en&s...=0&ct=result&c...
Hi All,
After quite a lot of searching, I've found on a news group a very
simple technique that works fine.
1 - Create an PictureBox control on the form
2 - Set the icon with the following code (in Load event for instance)
With Me.PictureBox1
.BackColor = Color.Transparent
.SizeMode = PictureBoxSizeMode.AutoSize
.Image = SystemIcons.Information.ToBitmap 'Other icons available
in SystemIcons
End With
JB