how to sert scrollbars in picturebox in vb?

Hi,

how to set scroll bors(HScrollBar asnd VScrollBar) in picture box in vb?

and one more query is

Please help me with code(sample example) as soon as possible.

with regards

Chinna

[196 byte] By [Sridhar1980] at [2008-1-29]
# 1
An easy way to do this is:

1. Create a Form
2. Drag a Panel on into the form
3. Drag a PictureBox into the Panel
4. Change the PictureBox's Dock to Fill
5. Change Panel.AutoScroll to true
6. Change PictureBox.SizeMode to AutoSize

That will make the picturebox resize based on the image. The Panel will provide the scroll bars.

DavidM.Kean at 2007-9-8 > top of Msdn Tech,Visual Basic,Visual Basic Language...