Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    905
    Thanks
    23
    Thanked 5 Times in 5 Posts

    putting i image in a vb app..

    hey more vb hehe.
    well i know you click and drag the icon of a image into your form but i cant find anywhere to select an actual image i have on file..
    anyideas?
    thanks
    P

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    put a picturebox or an imagecontainer on the form, then select the sourceproperty ot this object and point it to the imagefile of your choice. You can also programatically change the source during execution of the program

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    905
    Thanks
    23
    Thanked 5 Times in 5 Posts
    hey,
    yeh I tried that befor but im confused.


    when i click the data source am i meant to type a path to the pic on my computer or what as there is no browse button...?

    cheers

    P

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    when you click the datasourceproperty, a little button appears with three dots on it. click it and be surprised

  • #5
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Actually if you are using the picturebox or image container, you want to use the 'Picture' property. When you click on it, there should be a little button and click on it and you can browse for the picture.

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    Originally posted by oracleguy
    Actually if you are using the picturebox or image container, you want to use the 'Picture' property. When you click on it, there should be a little button and click on it and you can browse for the picture.
    thats the property i meant, dont have VB running on the pc im working on right now, didnt remember the actual propertyname


  •  

    Posting Permissions

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