it runs this code so it flashes the label red -->white --> red --> white
so it simply flash'es the code.
my code is
Expand|Select|Wrap|Line Numbers
- MsgBox("flashing --> start") 'test1
- lblSnK.ForeColor = Color.Red
- System.Threading.Thread.Sleep(10000) 'pauses the running
- lblSnK.ForeColor = Color.White
- System.Threading.Thread.Sleep(10000)
- lblSnK.ForeColor = Color.Red
- System.Threading.Thread.Sleep(10000)
- lblSnK.ForeColor = Color.White
- MsgBox("flashing --> stop") 'test2
the code
Expand|Select|Wrap|Line Numbers
- lblSnK.ForeColor = Color.Red
and the procedure runs ok becuase i get both msg boxes test1 and test2
any advice on how i could do this ?? (vb.net 2005)
thanks for any help/advise
regards, j
EDIT: should this be posted in .NET programming ? (soz, new here :) )