|
|
#1 (permalink) |
|
Platinum Member
![]() Join Date: Feb 2005
Location: England
Age: 20
Posts: 704
|
Hi I am programming a little thingie in VB.Net
I need to know pretty much how to in a way concatinate an objects name using a variable if you get what I mean. For example I have 10 picture boxes named pic1, pic2, pic3 .......... I have a variable called "number" Number = a random number between 1 and 10. If the random number was a 3, how would I tell pic(number) to do something. I'm pretty sure its possible as I swear I have done it before Thanks for any help Jon
__________________
Intel Core 2 Quad Pro Q6600 95W G0 Stepping
Western Digital Caviar 320GB S300 16MB OCZ 4GB DDR2 800MHz DUAL CHANNEL GeForce 8800GTS 320MB "XT" ED OCZ GameXStream 700W PSU ASUS P5K-E/WIFI-AP "3D Mark 03 - 31164" -- "3D Mark 05 - 14127" -- "3D Mark 06 - 10393" |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Grab website code? | ukulele_ninja | Internet Discussion | 23 | 11-28-2007 10:48 PM |
| seo .htaccess tips | Chainer | Internet Discussion | 0 | 12-18-2006 01:41 PM |
| Need table code | New_compforum_user | General Software | 2 | 05-11-2006 07:41 PM |
| How do I add PHP code into my HTML web template? | Liam | Internet Discussion | 4 | 02-16-2006 10:04 PM |
| Code 19 error on both disk drives | lonergamefreak | CD/DVD Technology | 1 | 05-04-2005 01:23 PM |