469,126 Members | 1,312 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,126 developers. It's quick & easy.

Runtime Error '424' object required

147 100+
Hi,

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
  1.  picWindow.Left = 0(In this line i am facing an error Run-time error '424' Object Required.
  2.     picWindow.Width = Me.Width - VScroll1.Width
  3.  
  4.     VScroll1.Height = picWindow.Height
  5.     VScroll1.Max = picI_Scroll.Height - picWindow.Height
  6.     VScroll1.SmallChange = 100
  7.     VScroll1.LargeChange = picWindow.Height
  8.     VScroll1.Left = Me.Width - VScroll1.Width - 60
  9.     VScroll1.Top = 0
  10.  
  11.     picI_Scroll.Left = 0
  12.     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
Sep 30 '10 #1
3 2996
Guido Geurs
767 Expert 512MB
"picWindow.Left = 0" seems to be OK.
IF ! "picWindow" is the right name of the object ?

Is it possible to attach Your files in BYTES if it is not solved ?
Sep 30 '10 #2
santhanalakshmi
147 100+
hi,
how to attach my vb files.
Oct 4 '10 #3
Guido Geurs
767 Expert 512MB
See attached ZIP with DOC and PDF.
Attached Files
File Type: zip Bytes_manual.zip (243.8 KB, 72 views)
Oct 4 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by gmazza via AccessMonster.com | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.