• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Vscroll

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
clarwc
Asked:
clarwc
1 Solution
 
JagarCommented:
Use OLE1.Move 0, -1 * VScroll1.Value

The first argument of Move is the Left Value the second is the top
0
 
clarwcAuthor Commented:
Thanks Very Much.....It works now.....
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now