Solved

Scroll bar vb2010

Posted on 2011-02-20
2
967 Views
Last Modified: 2012-08-14
Hello all,

I need your help with a scrollBar issue.

I have a PictureBox1 in my From4.

Beside, i have a VScrollBar1.

What i want to do is to scroll down my PictureBox1 from the top to the bottom.

How can i do that please?


0
Comment
Question by:Wilder1626
2 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 34939176
Can you give more details?

Typically you'd set the SizeMode of the PictureBox to AutoSize so that it becomes the same size as the Image loaded within.
Then you'd place that PictureBox inside a PANEL that has AutoScroll set to True.
Now you'll have ScrollBars that allow you to scroll around the Image.
0
 
LVL 11

Author Closing Comment

by:Wilder1626
ID: 34939209
This is easier then VB6.

Thanks for your help. This is great.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

929 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

17 Experts available now in Live!

Get 1:1 Help Now