10/09/08 11:27
super rambo
Salve sto facendo un programma che utilizza il controllo calendario microsoft 11.0(mscal.ocx) ho fatto un timer con questo codice:
Però non funziona... che cosa ho sbagliato??
If Calendar1.Month = 1 Then Text31.Visible = True End If If Calendar1.Month = 2 And Calendar1.Year = 2008 or 2012 or 2016 or 2020 Then Text30.Visible = False Text31.Visible = False Else: If Calendar1.Month = 2 And Calendar1.Year <> 2008 Or 20012 Or 2016 Or 2020 Then Text29.Visible = False Text30.Visible = False Text31.Visible = False End If End If If Calendar1.Month = "3" Then Text31.Visible = True End If If Calendar1.Month = "5" Then Text31.Visible = True End If If Calendar1.Month = "7" Then Text31.Visible = True End If If Calendar1.Month = "8" Then Text31.Visible = True End If If Calendar1.Month = "10" Then Text31.Visible = True End If If Calendar1.Month = "12" Then Text31.Visible = True End If
Però non funziona... che cosa ho sbagliato??
aaa