Welcome to Dream.In.Code
Become a VB Expert!

Join 149,973 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,400 people online right now. Registration is fast and FREE... Join Now!




Drawing Multiple Images

 
Reply to this topicStart new topic

Drawing Multiple Images

s_jsstevens
4 Dec, 2007 - 10:43 AM
Post #1

New D.I.C Head
*

Joined: 4 Dec, 2007
Posts: 10


My Contributions
I have a project where I am to draw 1-250 images. Is there any way to avoide creating 250 picture box's or dim'ing 250 bmp's. Once the picture is drawn, i dont need to do anything to it. I have been searching for an answer for the past couple of days with no luck. Thanks in advance to anyone that helps.
User is offlineProfile CardPM
+Quote Post

LookNAO
RE: Drawing Multiple Images
28 Dec, 2007 - 01:28 PM
Post #2

D.I.C Head
**

Joined: 28 Dec, 2007
Posts: 66



Thanked: 1 times
My Contributions
Load a blank form, add 1 image, set INDEX to 0

Run this code:
QUOTE


Dim X As Integer

For X = 1 To 250
Load Image1(X)
Image1(X).Picture = "Name of picture"
Next X



User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 06:41PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month