Link to home
Start Free TrialLog in
Avatar of Linky
Linky

asked on

PictureBox and Scroll bars with Visual Basic .NET

Alright, I am working on a program in my free time. I ask a similiar question like this only applying to Visual Basic 6, but I figured out .NET is well different. Here is my question:

In Visual Basic .NET, I want to use a PictureBox, lets say its 640 by 480 pixels big, for an example, but the size should be anything. Now I want to load a picture into this this box that is bigger than it, lets say 800 by 600. Here is what I am wondering, is there a way to display an image so I can scroll or displace it so that I can see the parts that are getting cut off? Like how Internet Explorer does it when you load an image to big for your screen resolution?

Code would help so much and would be awesome!

Thank you for any help or insight.

- Linky
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Linky
Linky

ASKER

It work like a charm. Thanks a billion.