Solved

Remove a background image from a control in vb.net in code

Posted on 2009-07-08
2
666 Views
Last Modified: 2012-05-07
A previous posted question asked how to remove a background image on a control using the designer to which the response was highlight all the text in the property for that control and simply delete it. What i am wondering is how to delete the background image of the control using code. Setting the image of the control is simple. control.backgroundimage = image defined....but removing the image isn't so intuitive.  Any help would be great. And if its obvious a joke on my behalf is warranted and ok.
0
Comment
Question by:kooch83
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Assisted Solution

by:VBRocks
VBRocks earned 125 total points
ID: 24804873
control.backgroundimage = Nothing

0
 

Accepted Solution

by:
kooch83 earned 0 total points
ID: 24805066
I could have sworn that was the first thing i tried.  Ahhh Fiddlesticks. Thanks for the help
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question