-
I installed a program in some computers, but in some
when the user clicks in the checkbox of a listview he gives the following message
Runtime Error 380- Invalid Propertie Value
what can be? some machines others not work
thank you in advance
[email protected]
-
We would probably need to see what your Click() code for the checkbox is. There is probably something asinged that will work only in certain conditions.
D!m
-
code listview
The code
Private Sub lvwhorario_ItemCheck(ByVal Item As MSComctlLib.ListItem)
Dim I As Integer
Dim xitem
xitem = Item.Index
cCentro_custo = " "
nLocal = 0
For I = 1 To lvwhorario.ListItems.Count
If I = xitem Then
lvwhorario.ListItems(I).Checked = True
msk_Horario.Text = lvwhorario.ListItems(I).Text
str_Hr_Fim = Format(DateAdd("n", -1, _
lvwhorario.ListItems(I).ListSubItems(1)), "HH:nn")
msk_Data.Text = Mid(DTPicker1.Value, 1, 10)
cCentro_custo = lvwhorario.ListItems(I).ListSubItems(4)
nLocal = lvwhorario.ListItems(I).ListSubItems(5)
If bEncaixe Then
' nCod_rgr = lvwhorario.ListItems(I).ListSubItems(3)
str_Hr_Fim = Format(DateAdd("n", 1, _
str_Hr_Fim), "HH:nn")
int_CdRegra = lvwhorario.ListItems(I).ListSubItems(3)
End If
cmd_OK_Agenda.Enabled = True
Else
lvwhorario.ListItems(I).Checked = False
End If
Next
End Sub
-
Answer -
Hi
thank you for all
The problem was regioanl configuration , the date format was dd/mm/aa and mskedit return error
Excuse-me all, because I do not instalied
thank you more one all