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???
clarwcAsked:
Who is Participating?
 
JagarConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.