I need vertical scroll bar in my form.So i added this code in my existing code.I taken this code from the net.
Expand|Select|Wrap|Line Numbers
- picWindow.Left = 0(In this line i am facing an error Run-time error '424' Object Required.
- picWindow.Width = Me.Width - VScroll1.Width
- VScroll1.Height = picWindow.Height
- VScroll1.Max = picI_Scroll.Height - picWindow.Height
- VScroll1.SmallChange = 100
- VScroll1.LargeChange = picWindow.Height
- VScroll1.Left = Me.Width - VScroll1.Width - 60
- VScroll1.Top = 0
- picI_Scroll.Left = 0
- picI_Scroll.Width = picWindow.Width
Please try to sort out my problem. I need coding for the Vertical Scroll bar in my VB form.
Thanks in advance