Coder Profile - Show off your skills, get a coder profile.
 
 
 
code pin board "SendKeys" Function Download Source Code
Author Details Code Information
Project7 ( Alin Coop )

Pinned 2 Codes
Posted 0 Coding Articles

Send A Message
View Coders Profile
Language Visual Basic
Expires Never
Length 592 Characters (18 Lines)
Password no password
Description

Describing the "SendKeys" Function for Visual Basic 6.
  1. Private Sub Text1_click()
  2. SendKeys "CoderProfile Rules"
  3. End Sub
  4.  
  5. 'When you click on text1, it will send the keys "CoderProfile Rules to the textbox.
  6. 'This function can be used in conjunction with the "GetASyncKeyState" Function in another of my code snippets,
  7. 'to send the selected keys to a different window, a good example of this is,
  8.  
  9. 'If GetAsyncKeyState(vbKeyF1) Then
  10. ' SendKeys Text1.Text
  11. ' SendKeys {"Enter"}
  12. 'End If
  13.  
  14. 'This code can be used to send the text in the textbox (user selected text) to a program like msn,
  15. 'used as an "auto - talker"
  16.  
  17.  
  18. 'Alin Coop 2008
code pin board Back To Code Pin Board Post New Code
Please login to post comments.
Page 1 of 1
 
 
Part of the MyPingle Network
Development Blog :: Make A Donation :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents
Version 1.44.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved