Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hai Everyone

Iam Arul, i have a one large image, size(3000,936)i place the image in one picture box. Using panel am viewing the picture in run time. I am trying to place multiple picture box in the same picture box size(3000,936) but whenever am adding new picture box, the length of the old one will be increased. Am using vb.net

I need solution for this.

Help me.
Thanks
Regards
Arul
Posted
Updated 22-Mar-13 4:05am
v2
Comments
Dave Kreskowiak 22-Mar-13 10:40am    
We have no idea how you're adding there pictureboxes to another one. Without seeing the code, it's impossible for anyone to tell you what you're doing wrong.

Modify your post by clicking the Improve Question widget and past the code where you add these pictureboxes inside PRE tags.

Makes no sense at all. You simply going beyond of the intended use of PictureBox, which is designed only for simplification on the simplest tasks and is itself totally redundant. You don't need to use this control at all.

I'll explain you what to do instead.

Please see my past answers:
How do I clear a panel from old drawing[^],
draw a rectangle in C#[^],
Append a picture within picturebox[^].

And, for the detail of rendering, also these:
Drawing Lines between mdi child forms[^],
capture the drawing on a panel[^],
What kind of playful method is Paint? (DataGridViewImageCell.Paint(...))[^],
How to speed up my vb.net application?[^].

—SA
 
Share this answer
 
Comments
Maciej Los 22-Mar-13 11:52am    
WOW!!!
+5!
Sergey Alexandrovich Kryukov 22-Mar-13 16:02pm    
Thank you, Maciej.
—SA
Hi

I have solved this by myself. we can add a number picture box in design time and u can call a image for each picturebox during runtime.

Thanks for reply
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900