473,216 Members | 2,110 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Runtime Error '424' object required

147 100+

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
  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
  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 3230
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
147 100+
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, 96 views)
Oct 4 '10 #4

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

Similar topics

by: Lapchien | last post by:
Debug stops at the 3rd line of this code (Set rs = db.openrecordset("IMPORT") why? Private Sub Command118_Click() Dim rs As DAO.Recordset Set rs = db.openrecordset("IMPORT") With rs...
by: dkintheuk | last post by:
Hi all, I'm running a VERY simple bit of code that is supposed to set the record source of the current form based on the entries in two unbound fields to act as a rudimentary search tool. The...
by: pyro0ownz | last post by:
well people i need some help here i am trying to make a mass pass changer for yahoo you load up names with a seperator and blah blah blah well theres a module for it and i havent figured out weither...
by: astarti | last post by:
I am a newbie using VB. I am trying to send a number to the serial port using MSComm1 and 'error 424 object required' is appeared. What's wrong? Please help me ...
by: ryanwood17 | last post by:
In my database, I have a search form in which I am trying to allow users to double click on an entry in the search form which will open another form to allow for edits. I am getting a Run-time '424'...
by: manali1 | last post by:
I get a error Run time error 424 object required while writing a VBA script in MS access
by: Nilam2477 | last post by:
I'm invoking COM dll method from VB program. COM interface method takes one of the parameter as IUnknown as below HRESULT SetMethod( long samNumber, IUnknown* List); When i try to call this...
by: dougmeece | last post by:
Good Morning Experts, I spent all weekend working on this and got absolutely no where. I have a database with an input form that runs an append query to append to a table. Form Name: ...
by: gmazza via AccessMonster.com | last post by:
Hi there, I am a novice at Access programming but I am flustered by this error and don't understand what I am doing wrong, any help is appreciated. Here is my code: Sub SetFilter() Dim LSQL ...
by: gray d newbie | last post by:
Greetings All, I'm new to this forum as well as to ASP. Therefore I am ready to learn from the ASP experts in this forum. Thank you very much in advance. I was assign to develop a ASP based...
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

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.