Hi,
I want to create my own msgbox but I don't know how to use the MsgBox icons built in with VB. I was given some code in an earlier post but it doesn't seem to work..
Any help would be appreciated..
Dan
Printable View
Hi,
I want to create my own msgbox but I don't know how to use the MsgBox icons built in with VB. I was given some code in an earlier post but it doesn't seem to work..
Any help would be appreciated..
Dan
Specify vbCritical, vbExclamation, vbInformation and vbQuestion for the 4 different icons.
Code:MsgBox "Prompt", vbCritical + vbOKOnly, "Title"
I appreciate your help, but I wanted to create my own msgbox but I need to somehow get a hold of the built in VB msgbox icons so that I can use them on "my own created" msgbox form... I'm not using the built in MsgBox..
[Edited by dbassettt74 on 10-01-2000 at 03:59 PM]
When a MessageBox is up, press the Print Screen key to capture the screen and then manually retrieve the icon from the screenshot.