472,123 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,123 software developers and data experts.

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 3149
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, 95 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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.