473,508 Members | 4,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Runtime Error '424' object required

147 New Member
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 3249
Guido Geurs
767 Recognized Expert Contributor
"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 New Member
hi,
how to attach my vb files.
Oct 4 '10 #3
Guido Geurs
767 Recognized Expert Contributor
See attached ZIP with DOC and PDF.
Attached Files
File Type: zip Bytes_manual.zip (243.8 KB, 97 views)
Oct 4 '10 #4

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

Similar topics

3
31954
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...
3
11190
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...
1
3642
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...
1
2109
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 ...
2
8264
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'...
1
2505
by: manali1 | last post by:
I get a error Run time error 424 object required while writing a VBA script in MS access
1
3691
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...
11
6082
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: ...
3
8246
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 ...
1
10109
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...
0
7228
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7128
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7332
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7393
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5635
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
426
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.