| | |
Thread Solved |
•
•
Join Date: Jul 2008
Posts: 161
Reputation:
Solved Threads: 1
how can i call a 1 command button in another form? for example i have form1 in the form 1 i have listbox, in my listbox i have item Customer, Product and etc if i double click my Customer i want to click my command 1 button in form 2 how can i do that? and also in the product if i click the product i want to click the command3 in form 3 please help thanks
•
•
Join Date: May 2008
Posts: 144
Reputation:
Solved Threads: 9
In Form1
Private Sub CustemersList_DblClick()
Form2.Comand1_Click()
End Sub
In Form2
Public Sub Command1_Click()
'Your Code Here
End Sub
If you got it MARKED AS SOLVED
Private Sub CustemersList_DblClick()
Form2.Comand1_Click()
End Sub
In Form2
Public Sub Command1_Click()
'Your Code Here
End Sub
If you got it MARKED AS SOLVED
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: attachment
- Next Thread: Kindly help me
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





dont worry i will mark this thread as solved 