i was wondering if it is possible to do something like the following:-
MessageBox.Show(a, b, c, d)
where:-
string a = "message"
string b = "title"
? c = MessageBoxButtons.AbortRetryIgnore
? d = MessageBoxIcon.Error
if it is possible, i dont know what variable type to use for the last 2 message box options, so any help/links would be most appreciated,
cheers
dai
Comments
:
: MessageBox.Show(a, b, c, d)
:
: where:-
:
: string a = "message"
: string b = "title"
: ? c = MessageBoxButtons.AbortRetryIgnore
: ? d = MessageBoxIcon.Error
:
:
: if it is possible, i dont know what variable type to use for the last 2 message box options, so any help/links would be most appreciated,
:
: cheers
: dai
:
Try:
msgbox ("message",18,"Title")
that should work
18 = abort, entry and ignore buttons and a critical message icon
Hope that helps
-Fallen
: :
: : MessageBox.Show(a, b, c, d)
: :
: : where:-
: :
: : string a = "message"
: : string b = "title"
: : ? c = MessageBoxButtons.AbortRetryIgnore
: : ? d = MessageBoxIcon.Error
: :
: :
: : if it is possible, i dont know what variable type to use for the last 2 message box options, so any help/links would be most appreciated,
: :
: : cheers
: : dai
: :
:
: Try:
:
: msgbox ("message",18,"Title")
:
: that should work
:
: 18 = abort, entry and ignore buttons and a critical message icon
:
: Hope that helps
:
: -Fallen
:
Thanks v much!
dai
: : :
: : : MessageBox.Show(a, b, c, d)
: : :
: : : where:-
: : :
: : : string a = "message"
: : : string b = "title"
: : : ? c = MessageBoxButtons.AbortRetryIgnore
: : : ? d = MessageBoxIcon.Error
: : :
: : :
: : : if it is possible, i dont know what variable type to use for the last 2 message box options, so any help/links would be most appreciated,
: : :
: : : cheers
: : : dai
: : :
: :
: : Try:
: :
: : msgbox ("message",18,"Title")
: :
: : that should work
: :
: : 18 = abort, entry and ignore buttons and a critical message icon
: :
: : Hope that helps
: :
: : -Fallen
: :
:
: Thanks v much!
: dai
:
:
no problem, according to what i just read you can actually do it this way aswell.
msgbox ("message","title", buttons/icon)