Can someone help me with this?
I currently have
I currently have
But its not working, how can i make the text change color when its bigger then but smaller then.If (GetFreeSpace("\\****\Bak_Vol1$\") < 0.5) Then
Button5.ForeColor = System.Drawing.Color.Red
EndIf
If (GetFreeSpace("\\****\Bak_Vol1$\") > 0.5) Then
Button5.ForeColor = System.Drawing.Color.Orange
EndIf
If (GetFreeSpace("\\****\Bak_Vol1$\") > 1) Then
Button5.ForeColor = System.Drawing.Color.Yellow
EndIf
If (GetFreeSpace("\\****\Bak_Vol1$\") > 3) Then
Button5.ForeColor = System.Drawing.Color.Black
EndIf