Is there a way in VB6 to run a command button from another command button. I remember I used to do it in VBA with a run command, but it doesn't seem to work in VB6. Any help would be appreciated. Thanks
[tt]
Private Sub CommandButton1_Click()
Call CommandButton2_Click
End Sub[/tt]
*cLFlaVA
----------------------------
A pirate walks into a bar with a huge ship's steering wheel down his pants.
The bartender asks, "Are you aware that you have a steering wheel down your pants?"
The pirate replies, "Arrrrr! It's driving me nuts!
Or:
[tt]
Private Sub CommandButton1_Click()
Command2.Value = True
End Sub
[/tt]
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.