ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Display Modes
Old 12-09-2007, 11:39 PM   #1 (permalink)
Platinum Member
 
Jon Boy's Avatar
 
Join Date: Feb 2005
Location: England
Age: 20
Posts: 704
Default vb.net code help please

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"
Jon Boy is offline   Reply With Quote


Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT +1. The time now is 09:19 AM.


Powered by: vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Copyright © 2002-2007 Computer Forum and Web Design Forum