Results 1 to 4 of 4

Thread: [RESOLVED] How to get rid of image on ActiveX user control?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    [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

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    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

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    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.

    Visual Studio 2010

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    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.

    Visual Studio 2010

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width