Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: OuTLawZGoSu on March 14, 2004, 09:36 AM

Title: How do you...
Post by: OuTLawZGoSu on March 14, 2004, 09:36 AM
How do you do this.

I got a list1 and a Command Button.

When i click Cmd1 , It will shell all the program addreses in List1.

I tryed but I cant get this.

If you need more info just ask.

Title: Re:How do you...
Post by: UserLoser. on March 14, 2004, 12:18 PM

Dim I as Long

For I = 1 to List1.ListCount
   Shell List1.List(I)
Next I
Title: Re:How do you...
Post by: o.OV on March 14, 2004, 10:56 PM
Quote from: UserLoser. on March 14, 2004, 12:18 PM

Dim I as Long

For I = 1 to List1.ListCount
   Shell List1.List(I)
Next I


Shouldn't it be..


For I = 0 to List1.ListCount - 1


?
Title: Re:How do you...
Post by: iago on March 15, 2004, 12:05 PM
Probably, I very much doubt he took the time to actually open vb and test it out.