im working on a school project, im creating a simple registration system, my instructor wants an interaction of two vb6 forms, so what i did is i search a member in formMember then lstMember,and in lstMember, doubleclick event, the member id and name will go to formTransaction(Payment something) and then setfocuses on txtamount.text, but it creates an error "Inalid Procedure call or argument" heres the code:
i just want it to focus on txtamount on FormTransaction after i double click the lstmember in FormMember.
hope someone can help me on this code, or any other ideas wud be ok...
sorry for the wrong spellings..
Private Sub lstMember_DblClick()
FormTransaction.lblMember.Caption = lstMember.ListItems(lstMember.SelectedItem.Index).Text
FormTransaction.txtAmount.Enabled = True
FormTransaction.txtAmount.SetFocus
Unload Me
End Sub
i just want it to focus on txtamount on FormTransaction after i double click the lstmember in FormMember.
hope someone can help me on this code, or any other ideas wud be ok...
sorry for the wrong spellings..