|
-
Aug 18th, 2006, 01:06 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] How to get rid of image on ActiveX user control?
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.
Last edited by softwareguy74; Aug 18th, 2006 at 03:32 PM.
Visual Studio 2010
-
Aug 18th, 2006, 01:25 PM
#2
Re: How to get rid of image on ActiveX user control?
Where are you putting the image? On the form? In a picturebox? Just delete it.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Aug 18th, 2006, 03:23 PM
#3
Thread Starter
Frenzied Member
Re: How to get rid of image on ActiveX user control?
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.
-
Aug 18th, 2006, 03:32 PM
#4
Thread Starter
Frenzied Member
Re: How to get rid of image on ActiveX user control?
Got it. You have to delete the *.ctx file. That file apparently contains a reference to the image.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|