Code center > Darwinbots Program Source Code

Picturebox load

(1/3) > >>

Zelos:
is it possible to set like
--- Code: ---pic(0 to 100) as picturebox
--- End code ---
and then use it to store pictures loaded from the hardrive? ive tried but it just complains, and if it does work how do I do? or do I have to create picture box after picturebox to store them all as I program?

Numsgil:
I'm not sure exactly what you're asking.  What are you trying to do?

Ulciscor:
If you mean can you load an array of pictureboxes at runtime as an array then yes I think you can. This is easier than actually making 101 pictureboxes and loading pictures into them at design time, as you say.

This link may help:

http://www.vbwm.com/art_1999/whatsnew/dynctrl.asp

PurpleYouko:
Try using an "image" object at design time. This remains invisible but acts as an array that can store pictures. You can load them into it at either design time or run time.

Zelos:
hmm, is it possible to store pics without having a equal amount of images?

Navigation

[0] Message Index

[#] Next page

Go to full version