Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sort GridView by ID Descending 1 17
VB.net Progress Bar - Maximum Value too large 2 15
JSON  parse help 7 40
What are the simplest ways to create a Merge Sort? 3 29
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

840 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