Using C# .NET (Winforms).
I want to know how can I show the message boxes with a Ding!!
sound & a red colored cross mark in it. This is what I'm talking about:
How to do such things for my software, with custom errors and custom warnings?
MessageBox.Show("asdf");
doesn't give me customize.
Quickly Show All PHP Errors The quickest way to display all php errors and warnings is to add these lines to your PHP code file: ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
To display all errors, including parsing errors, in xampp, make the following changes to the php. ini example file and restart the apache server. In the PHP. ini file, set the display errors directive to turn on.
The error_reporting() function specifies which errors are reported. PHP has many levels of errors, and using this function sets that level for the current script.
Try this:
MessageBox.Show("Some text", "Some title", MessageBoxButtons.OK, MessageBoxIcon.Error);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With