Results 1 to 4 of 4

Thread: Runtime Error 380- Invalid Propertie Value

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Sao Paulo - SP - BRAZIL
    Posts
    65

    Question

    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]
    The blessing of God enriches and it doesn't increase pains

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    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
    Dim

  3. #3
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question 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

  4. #4
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width