View Single Post
  #1 (permalink)  
Old February 8th, 2012, 05:52 PM
Rennuke Rennuke is offline
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Location: A pale blue dot....
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson 4 Exercise 2

I wrote all the code for it ( I think ) and it doesn't show any errors in the Error list but when i try to debug the program An error window pops up ans says: {Error While trying to run project: Could not file or assembly "Timer's Tick" or one of its dependencies. The givan assembly name or codebasee was invalid. (Exception from HRESULT: 0x80131047)}

Here is the code
Code:
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Timer1.Enabled = False
        Timer2.Enabled = True
        btnStop.Location = New Point(10, 10)
    End Sub

    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        Timer1.Enabled = True
        Timer2.Enabled = False
        btnStop.Location = New Point(20, 20)
    End Sub
End Class
__________________
Rennuke Atrawis
Reply With Quote