coreen873 0 Newbie Poster

Below I listed the errors that I received and since I am new to VB .net I am not sure what I need to do to fix them. Can anyone give me an idea on how to fix it??

Error 1 Statement is not valid in a namespace. C:\New Folder\WeatherReport.vb 1 1 WindowsApplication1
Error 2 'Class' statement must end with a matching 'End Class'. C:\New Folder\WeatherReport.vb 5 1 WindowsApplication1

Here is the code that I am trying to get to work

Private Sub ExitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Public Class WeatherReport

Private Sub CloudyDaySmall_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CloudyDaySmall.Click

End Sub

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.