Solved

Scroll bar vb2010

Posted on 2011-02-20
2
971 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Suggested Courses
Course of the Month6 days, 19 hours left to enroll

623 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