Reply

Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

send keys

 
0
  #1
Sep 17th, 2005
can anyone tell me about send keys.....if possible attach a small code also
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 75
Reputation: purplegerbil is an unknown quantity at this point 
Solved Threads: 6
purplegerbil's Avatar
purplegerbil purplegerbil is offline Offline
Junior Poster in Training

Re: send keys

 
0
  #2
Sep 19th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: send keys

 
0
  #3
Sep 20th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 121
Reputation: jwshepherd is an unknown quantity at this point 
Solved Threads: 5
jwshepherd's Avatar
jwshepherd jwshepherd is offline Offline
Junior Poster

Re: send keys

 
0
  #4
Sep 20th, 2005
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
.: We may acquire liberty, but it is never recovered if it is lost :.
irc://irc.rizon.net/#itf
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: send keys

 
0
  #5
Sep 25th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 10
Reputation: The_Inferno is an unknown quantity at this point 
Solved Threads: 0
The_Inferno The_Inferno is offline Offline
Newbie Poster

Re: send keys

 
0
  #6
Oct 4th, 2005
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC