Hey i wantt o scroll images up & down,I found the foll code that uses APi to scrool..

http://www.codeproject.com/KB/vb/APIScroll.aspx


I Have panel in which images are there & i want to scroll up & donw..
On the Down arrow , i write the foll. text

Private Sub PictureBox35_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox35.Click
        Dim lCount As Integer
        Do While True
            lCount = lCount + 1
            If lCount = 50 Then
                Exit Do
            End If
            scrollControl(Panel4.Handle, eScrollDirection.Vertical, eScrollAction.Relitive, 5)
        Loop
    End Sub

Rest same code as in site..But it dont work out..can somebody help me out??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.