• Welcome to Valhalla Legends Archive.
 

How do you...

Started by OuTLawZGoSu, March 14, 2004, 09:36 AM

Previous topic - Next topic

OuTLawZGoSu

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.


UserLoser.


Dim I as Long

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

o.OV

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


?
If the facts don't fit the theory, change the facts. - Albert Einstein

iago

Probably, I very much doubt he took the time to actually open vb and test it out.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*