Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

919 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now