| | |
send keys
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hi,
I find this site realy useful.
http://www.officecomputertraining.co...page9.asp#send
SendKeys is near the top of the page. You can search from the commands down the left.
Hope this helps.
pG
I find this site realy useful.
http://www.officecomputertraining.co...page9.asp#send
SendKeys is near the top of the page. You can search from the commands down the left.
Hope this helps.
pG
•
•
•
•
Originally Posted by purplegerbil
Hi,
I find this site realy useful.
http://www.officecomputertraining.co...page9.asp#send
SendKeys is near the top of the page. You can search from the commands down the left.
Hope this helps.
pG
SendKeys "Color" ...in a command button??....where will it go??
Last edited by SpS; Sep 20th, 2005 at 7:30 am. Reason: mistake
it will go whereever the cursor is located. If you want someone to push a button and have "COLOR" input in a text box, you must first change the focus.
Private Sub Command1_Click()
text1.setfocus ' Sets focus to the txet1 textbox
sendkeys "COLOR" 'Types COLOR in the text1.text
end sub
Private Sub Command1_Click()
text1.setfocus ' Sets focus to the txet1 textbox
sendkeys "COLOR" 'Types COLOR in the text1.text
end sub
.: We may acquire liberty, but it is never recovered if it is lost :.
irc://irc.rizon.net/#itf
irc://irc.rizon.net/#itf
•
•
•
•
Originally Posted by jwshepherd
it will go whereever the cursor is located. If you want someone to push a button and have "COLOR" input in a text box, you must first change the focus.
Private Sub Command1_Click()
text1.setfocus ' Sets focus to the txet1 textbox
sendkeys "COLOR" 'Types COLOR in the text1.text
end sub
![]() |
Similar Threads
- send keys (VB.NET)
- on-screen keyboard (Pascal and Delphi)
- Help! Got external program to open from VB6 but now?? (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Could Somebody Write Code Plz...
- Next Thread: need a count down timer
Views: 4061 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine 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 struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





