Visual Basic ppl, help

Discussion in 'OT Technology' started by Murph, Jun 26, 2004.

  1. Murph

    Murph New Member

    Joined:
    Jun 18, 2003
    Messages:
    872
    Likes Received:
    0
    Location:
    Columbia, SC
    I'm new to VB, I'm using Microsoft Visual Studios .Net 2003 edition. I want to put a picture box on top of a picture box. I'd like the picture in the back to be visible in the places where the picture in the front has no color. I set the backkground color of the front to transparent, but this makes the front bictures backgorund the same color of the form the two pictures are on.

    Any ideas? Is what I'm trying to do possible?
     
  2. Jericho

    Jericho Active Member

    Joined:
    Oct 21, 2002
    Messages:
    34,140
    Likes Received:
    0
    computer technology is nowhere near advanced enough to accomplish what you want.
     
  3. Murph

    Murph New Member

    Joined:
    Jun 18, 2003
    Messages:
    872
    Likes Received:
    0
    Location:
    Columbia, SC
    :eek3:
     
  4. Short Bus

    Short Bus Beep beep!

    Joined:
    Apr 17, 2001
    Messages:
    104,725
    Likes Received:
    0
    Photoshop it?
     
  5. Murph

    Murph New Member

    Joined:
    Jun 18, 2003
    Messages:
    872
    Likes Received:
    0
    Location:
    Columbia, SC
    [​IMG]

    Maybe this will make it clearer. I want to remove the white stuff around our President in order to see the working men on the bar.
     
  6. Frightened Ostrich

    Frightened Ostrich New Member

    Joined:
    May 28, 2003
    Messages:
    2,055
    Likes Received:
    0
    Location:
    TX
    u could try editing the bush pic in photoshop so it has a transparent background and saving as gif :dunno:
     
  7. Murph

    Murph New Member

    Joined:
    Jun 18, 2003
    Messages:
    872
    Likes Received:
    0
    Location:
    Columbia, SC
    The background around the bush gif is transparent already.
     
  8. Short Bus

    Short Bus Beep beep!

    Joined:
    Apr 17, 2001
    Messages:
    104,725
    Likes Received:
    0
    Photoshop dude, I don't think Visual Studio has much in the way of photo editing capabilities.
     
  9. VBGOD

    VBGOD Guest

    You can't.

    Even if you set the backcolor as transparent, it will only use the backcolor of the form. Since you're probably doing an anti-bush theme, I can't think of the work around.
     
  10. Short Bus

    Short Bus Beep beep!

    Joined:
    Apr 17, 2001
    Messages:
    104,725
    Likes Received:
    0
    Ah, ok...


    I bet it works as it's supposed to when it's compiled.
     
  11. Murph

    Murph New Member

    Joined:
    Jun 18, 2003
    Messages:
    872
    Likes Received:
    0
    Location:
    Columbia, SC
    The choice of pictures were totally random. I can get a Kerry pic if that will help jog your memory.
     
  12. Short Bus

    Short Bus Beep beep!

    Joined:
    Apr 17, 2001
    Messages:
    104,725
    Likes Received:
    0
    Nevermind, the man has spoken. :o
     
  13. Scn64

    Scn64 Guest

    If you opened both pics in photoshop and made it look the way you want it there, couldn't you save it as one image and use that image in VB?
     
  14. Short Bus

    Short Bus Beep beep!

    Joined:
    Apr 17, 2001
    Messages:
    104,725
    Likes Received:
    0
    yes
     
  15. Murph

    Murph New Member

    Joined:
    Jun 18, 2003
    Messages:
    872
    Likes Received:
    0
    Location:
    Columbia, SC
    True, but I want the picture in the front to move around eventually. Photoshopping every possiblility just isn't possible.
     
  16. Short Bus

    Short Bus Beep beep!

    Joined:
    Apr 17, 2001
    Messages:
    104,725
    Likes Received:
    0
    The most I've ever had to deal with graphically is to insert a picture of a sheep jumping over a fence to show that some data was being transfered from one database to another...
     
  17. Scn64

    Scn64 Guest

    ah, ok. :dunno:
     
  18. Murph

    Murph New Member

    Joined:
    Jun 18, 2003
    Messages:
    872
    Likes Received:
    0
    Location:
    Columbia, SC
    Screw it, I should just learn DirectX.

    Thanks everyone.
     
  19. VBGOD

    VBGOD Guest

    ok.

    In this case, you must have your main picture as the form's backgroundimage. Once you do this, set the backcolor of the picturebox to transparent.
     
  20. VBGOD

    VBGOD Guest

    I've used DirectX for complete control over sound. IMO, you're not ready for DirectX. It's pretty complicated, and the client's computer needs the right components in order for it to work. On top of that, your clients already need the .NET Framework as is, but you're going to add even more complicity with using DirectX. Also, DirectX should be used on an intermediate level - not for newbs.
     
  21. VBGOD

    VBGOD Guest

    ?????

    :mad:
     
  22. MiseryIndex

    MiseryIndex i never know why. i only know who. Moderator

    Joined:
    Nov 9, 2000
    Messages:
    136,835
    Likes Received:
    385
    Location:
    don't blink.
    i dunno how i got a b+ in my vb class this past semester :rofl:
     
  23. VBGOD

    VBGOD Guest

    Final bump, and I'm never coming back to this thread.
     
  24. red^star

    red^star Guest

     
  25. VBGOD

    VBGOD Guest

Share This Page