Solved

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

Posted on 2009-07-08
2
662 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 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