Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I change the icon of an error provider?

i have this code Public errorVal As New ErrorProvider

and this to set the error errorVal.SetError(Control, "error text")

and this to clear the error provider errorVal.SetError(txtNFactura, "")

but can i change the error icon that appears ???? for a .png or .gif in a folder or resources ?

set a custom icon

this in visual basic . net 2010

like image 757
hector saravia Avatar asked Nov 27 '25 16:11

hector saravia


1 Answers

There is an Icon property you can use.

See: http://msdn.microsoft.com/en-us/library/system.windows.forms.errorprovider.icon(v=vs.90).aspx

A simple google search gives the result https://www.google.co.in/search?q=errorprovider+icon

like image 102
inquisitive Avatar answered Nov 30 '25 05:11

inquisitive



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!