<da*******@hotmail.comwrote in message
news:11**********************@57g2000hsv.googlegro ups.com...
One of my my textboxes has a nice white background when running on an
XP machine, but becomes dark blak when running on a Vista.
Does anybody know how I can fix this? Thank you.
You can set the textbox's background to any color you want. The background
color is not dependent upon what O/S is being used, if you don't want it to
be. You should be able to query the textbox for its background color, and if
it's not what is expected, then change it to a color you want. That can be
an indication that the application is not running on XP. It's running on
Vista, if it's not the color used on XP. Or you can just test for what O/S
is being used and make the color change, by interrogating the registry for
O/S version.