Solved

Vscroll

Posted on 1998-07-14
2
261 Views
Last Modified: 2010-05-03
I have an OLE object in a picturebox.  I want to scroll it vertically I am using the following code:

Private Sub VScroll1_Change()

OLE1.Move -1 * VScroll1.Value

End Sub

My ole object is scrolling side to side instead of up and down....

Any suggestions???
0
Comment
Question by:clarwc
2 Comments
 
LVL 2

Accepted Solution

by:
Jagar earned 50 total points
Comment Utility
Use OLE1.Move 0, -1 * VScroll1.Value

The first argument of Move is the Left Value the second is the top
0
 

Author Comment

by:clarwc
Comment Utility
Thanks Very Much.....It works now.....
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now