hello
I am having trouble with this code in visual studio 2010.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Enabled = False Timer2.Enabled = False Timer3.Enabled = False Timer4.Enabled = False If Not Directory.Exists("c:\test100") = True Then Label1.Text = "Directory Does Not Exist..Program will now create a Directory..!" Directory.CreateDirectory("c:\test100\") Label1.Text = "Directory Created Successfully" Else Label1.Text = "Directory Already Exist..!" End If End Sub
it does not work at all can someone please help me like what am i doing wrong?
I am having trouble with this code in visual studio 2010.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Enabled = False Timer2.Enabled = False Timer3.Enabled = False Timer4.Enabled = False If Not Directory.Exists("c:\test100") = True Then Label1.Text = "Directory Does Not Exist..Program will now create a Directory..!" Directory.CreateDirectory("c:\test100\") Label1.Text = "Directory Created Successfully" Else Label1.Text = "Directory Already Exist..!" End If End Sub
it does not work at all can someone please help me like what am i doing wrong?