| | |
How do I Click the Command Buttons In other Executable Programs
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Are you talking about making VB click one of it's buttons, or do you want to click buttons in another app's program? You can make VB click one of it's own buttons by simply setting it to true. So, pretend you have form1, and 2 buttons (command1 and command2) command2 exits the program, and command1 does a msgbox, and then exits the program. The code for command1 could look like this:
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
msgbox "goodbye" command2 = true
![]() |
Similar Threads
- Include command in windows forms with command buttons. (C++)
- [req]How to move elements in the list box up and down using command button? (Visual Basic 4 / 5 / 6)
- help me on command buttons (Visual Basic 4 / 5 / 6)
- compiling from command line (Java)
- trouble with "click me"/Canada.exe (Viruses, Spyware and other Nasties)
- Setting the command buttons Forecolor (Visual Basic 4 / 5 / 6)
- command line (OS X)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Creating an OS in visual basic 6.0
- Next Thread: coding IM: notifiyng clients of others online presence
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column 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 retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






