Advertisement

07.15.2008 at 05:35AM PDT, ID: 23565785
[x]
Attachment Details

erase images from screen  in vb.net

Asked by jagguy in Microsoft Visual Basic.Net, Silverlight, ActionScript

I am using silverlight vb.net

I tried this delay but what happens is that screen wont erase and the delay will start. Like the
i can erase images from the screen using   canvas1.Children.Remove(img1). and what i cant do is pause  for 5 seconds  so I dont write new images to screen for 5 secons after i erase the old ones.

'eraseScreen() wont start until after the below delay has finshed?



eraseScreen() 'wont work until after the delay has happened why?

  sttime = Now
  edtime = Now.AddSeconds(5)

  While edtime > sttime
              tb.Text = "Level " & levelCount
               sttime = Now
   End WhileStart Free Trial
 
Loading Advertisement...
 
[+][-]07.15.2008 at 06:26AM PDT, ID: 22006712

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, Silverlight, ActionScript
Sign Up Now!
Solution Provided By: planocz
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628