|
-
May 12th, 2007, 01:45 AM
#1
Thread Starter
Hyperactive Member
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! 
-
May 12th, 2007, 03:16 AM
#2
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
-
May 12th, 2007, 03:49 AM
#3
Thread Starter
Hyperactive Member
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! 
-
May 12th, 2007, 03:53 AM
#4
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.
-
May 12th, 2007, 04:11 AM
#5
Thread Starter
Hyperactive Member
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! 
-
May 12th, 2007, 04:34 AM
#6
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.
-
May 12th, 2007, 08:42 AM
#7
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?
-
May 12th, 2007, 09:52 AM
#8
Re: Which one to use Picture Box or Image Control
 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.
-
May 12th, 2007, 06:47 PM
#9
Re: Which one to use Picture Box or Image Control
Kk thanks for the info
-
May 14th, 2007, 12:39 AM
#10
Thread Starter
Hyperactive Member
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! 
-
May 14th, 2007, 12:59 AM
#11
Re: Which one to use Picture Box or Image Control
 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...
-
May 14th, 2007, 03:57 AM
#12
Fanatic Member
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.
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
|