Results 1 to 12 of 12

Thread: Which one to use Picture Box or Image Control

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    Which one to use Picture Box or Image Control

    Which control is more reliable to use on the Forms ...Picture Box or Image Control. what are its advantages and disadvantages...
    I'm having a form on which there are plenty of Images to be displayed.
    I just wanted to know which one is better to places images i.w jpeg.bitmap,Gif..etc...
    If an answer to your question has been helpful, then please, Rate it!

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Which one to use Picture Box or Image Control

    Depends on if you want a border i guess and well most of the properties are kinda like but maybe have a look into the picture box in the form2.0.dll as well

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    Re: Which one to use Picture Box or Image Control

    i beg ur pardon....HellLord I didn't get u .......
    where /wat did u mean by form2.0.dll
    If an answer to your question has been helpful, then please, Rate it!

  4. #4
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Which one to use Picture Box or Image Control

    Project -> Components and in the controls tab select and add the following component/control labeled:

    Microsoft Forms 2.0 Object Library

    And there is a new image box included.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    Re: Which one to use Picture Box or Image Control

    Oh Hell-Lord...u have introduced me to a whole new world of components...now i a m totally confuesd as wat to use
    Image / Picture Box from the standard toolbox...or from the microsoft Forms 2.0 object library..
    please help me to choice the most efficent control out of this....
    Thank u.....
    If an answer to your question has been helpful, then please, Rate it!

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Which one to use Picture Box or Image Control

    The problem with the Forms 2.0 Object Library is that they are not distributable. As such I would advise against using them unless you are making a project solely for yourself.

  7. #7
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Which one to use Picture Box or Image Control

    But are they not standard on most modern machines? And wouldn't distributing the dll help?

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Which one to use Picture Box or Image Control

    Quote Originally Posted by Hell-Lord
    But are they not standard on most modern machines?
    Only if certain versions of Office are installed, so no.

    And wouldn't distributing the dll help?
    It would if you were allowed to, but you aren't (hence Hack saying "they are not distributable.").


    Anyway, back to the question... both controls are reliable, and should be able to show the same pictures in the same way.

    The PictureBox has more functionality than the Image control, but it also uses more memory etc - so if the Image control does what you want, you would be better off using that.

  9. #9
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Which one to use Picture Box or Image Control

    Kk thanks for the info

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    256

    Re: Which one to use Picture Box or Image Control

    Thanks for the Info..guys..
    but which control displays the Pictures more clearly....i.e the picture should not get Blurred..I mean to say if I place a picture in any of the control then which control would have a more Clear picture, Is it the Picture Control or the image control....
    If an answer to your question has been helpful, then please, Rate it!

  11. #11
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Which one to use Picture Box or Image Control

    Quote Originally Posted by Kuamr
    Thanks for the Info..guys..
    but which control displays the Pictures more clearly....i.e the picture should not get Blurred..I mean to say if I place a picture in any of the control then which control would have a more Clear picture, Is it the Picture Control or the image control....
    They are both the same in that regard...

  12. #12
    Fanatic Member
    Join Date
    Mar 2002
    Location
    AUSTRALIA
    Posts
    603

    Re: Which one to use Picture Box or Image Control

    DigiRev is correct.
    But watch out for the Image control, as one of it's settings causes the image to resize to fit the control, which can reduce the quality.
    Rob C

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