Click here to Skip to main content
16,008,750 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Scanning Bitmaps or JPegs for Barcode Pin
newalfi20-Jun-03 6:09
newalfi20-Jun-03 6:09 
GeneralVB precompiler Constants Pin
parths15-Jun-03 21:49
parths15-Jun-03 21:49 
GeneralFrom VB to VB.net Pin
Jonavis14-Jun-03 10:28
Jonavis14-Jun-03 10:28 
GeneralRe: From VB to VB.net Pin
Nick Parker14-Jun-03 10:44
protectorNick Parker14-Jun-03 10:44 
GeneralRe: From VB to VB.net Pin
Anonymous14-Jun-03 17:55
Anonymous14-Jun-03 17:55 
GeneralRe: From VB to VB.net Pin
Nick Parker15-Jun-03 1:52
protectorNick Parker15-Jun-03 1:52 
GeneralRe: From VB to VB.net Pin
Jonavis16-Jun-03 5:22
Jonavis16-Jun-03 5:22 
GeneralMoving Multiple Labels Pin
Jm6k13-Jun-03 12:17
Jm6k13-Jun-03 12:17 
I'm trying to create an interesting opening to an encryption program that I'm writing. If anyone has seen The Matrix(Who hasn't?), I'm trying to recreate the effect of those screens that have those different characters scroll down the screen.

What I've done is created 21 labels on the top of my form. I create a random number from 1 to 255 so it will be used to change the individual labels.

For Example :

lblLabel1.text = Chr(RandomNumber)

right after this command, I move the label down by 8 pixels.

For Example:

lblLabel1.top = lblLabel1.top + 8

I have assigned 21 timers for 21 different labels. My question is: Is there anyway that I can use a For Next loop to scroll through each label on my form instead of making all those timers?

I tried making an array before, but I'm getting an error. I made the array as a public declaration

Example:

Public Label(20) as Label

Then, when I try to have the timer go through each one, it gives me a syntax error?

What should I do? What am I doing wrong?

Sorry so long!
Thanks for your time;P

The Jazz Master 6000

DJ Badknees

Parma Grind Crew - www.geocities.com/parmagrindcrew
GeneralRe: Moving Multiple Labels Pin
dynamic14-Jun-03 0:05
dynamic14-Jun-03 0:05 
GeneralRe: Moving Multiple Labels Pin
Jm6k14-Jun-03 7:33
Jm6k14-Jun-03 7:33 
GeneralRe: Moving Multiple Labels Pin
dynamic14-Jun-03 7:45
dynamic14-Jun-03 7:45 
GeneralRe: Moving Multiple Labels Pin
Jm6k14-Jun-03 7:58
Jm6k14-Jun-03 7:58 
GeneralRe: Moving Multiple Labels Pin
14-Jun-03 13:11
suss14-Jun-03 13:11 
GeneralSounds and Music Pin
TGWDNGHN13-Jun-03 10:43
TGWDNGHN13-Jun-03 10:43 
GeneralRe: Sounds and Music Pin
J. Dunlap13-Jun-03 10:47
J. Dunlap13-Jun-03 10:47 
GeneralRe: Sounds and Music Pin
dynamic14-Jun-03 14:26
dynamic14-Jun-03 14:26 
Generalaccess denied Pin
kristina_c13-Jun-03 7:44
kristina_c13-Jun-03 7:44 
Generaldatagrids Pin
kristina_c13-Jun-03 3:29
kristina_c13-Jun-03 3:29 
GeneralRe: datagrids Pin
GrindAZ13-Jun-03 5:38
GrindAZ13-Jun-03 5:38 
GeneralRe: datagrids Pin
kristina_c13-Jun-03 7:43
kristina_c13-Jun-03 7:43 
GeneralRe: datagrids Pin
GrindAZ13-Jun-03 7:49
GrindAZ13-Jun-03 7:49 
GeneralRe: datagrids Pin
kristina_c16-Jun-03 7:45
kristina_c16-Jun-03 7:45 
GeneralRe: datagrids Pin
GrindAZ16-Jun-03 7:50
GrindAZ16-Jun-03 7:50 
GeneralEnumerate Control Properties in .Net Pin
Chubby Arse13-Jun-03 0:31
Chubby Arse13-Jun-03 0:31 
GeneralRe: Enumerate Control Properties in .Net Pin
J. Dunlap13-Jun-03 7:28
J. Dunlap13-Jun-03 7:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.