Solved

Vscroll

Posted on 1998-07-14
2
267 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
ID: 1465726
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
ID: 1465727
Thanks Very Much.....It works now.....
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

770 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