944,199 Members | Top Members by Rank

Ad:
Sep 17th, 2005
0

send keys

Expand Post »
can anyone tell me about send keys.....if possible attach a small code also
Similar Threads
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Sep 19th, 2005
0

Re: send keys

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
Reputation Points: 24
Solved Threads: 6
Junior Poster in Training
purplegerbil is offline Offline
78 posts
since Apr 2005
Sep 20th, 2005
0

Re: send keys

Quote 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
yaa i got what it said....but where should i embedd this code...where should i write this statement

SendKeys "Color" ...in a command button??....where will it go??
Last edited by SpS; Sep 20th, 2005 at 7:30 am. Reason: mistake
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Sep 20th, 2005
0

Re: send keys

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
Reputation Points: 20
Solved Threads: 5
Junior Poster
jwshepherd is offline Offline
123 posts
since Jun 2005
Sep 25th, 2005
0

Re: send keys

Quote 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
Thanxs
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Reputation Points: 10
Solved Threads: 0
Newbie Poster
The_Inferno is offline Offline
10 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Could Somebody Write Code Plz...
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: need a count down timer





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC