PDA

Click to See Complete Forum and Search --> : [RESOLVED] How to get rid of image on ActiveX user control?


softwareguy74
Aug 18th, 2006, 01:06 PM
I'm using VB6 to create an ActiveX user control. I previously set a background image. Now, I want to do it without an image but I can't seem to figure out how to get rid of it. There is no obvious way to do this. Any help would be appreciated.

Al42
Aug 18th, 2006, 01:25 PM
Where are you putting the image? On the form? In a picturebox? Just delete it.

softwareguy74
Aug 18th, 2006, 03:23 PM
The usercontrol itself has a "picture" property. I set this to a particular gif file. So it is not on a "picture" or "image" control, it's the actual background of the usercontrol. You can't click on it and delete it. there is not apparent way to delete it.

softwareguy74
Aug 18th, 2006, 03:32 PM
Got it. You have to delete the *.ctx file. That file apparently contains a reference to the image.