Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Make button performs keyboard Button Functions?
#1
HI Everybody

I am creating an Application in Visual basic and have put a Button on it
i want that when the button is clicked then it performs the function (which is performed when we press the "END" Key on our Keyboard) without actually
pressing "End" Key.

Any Kind of Help Will be a Booty for ME.

Thanks in Advance!!!!!!!!!!!!!!.
The Power to Believe in Yourself is the Power to change the Fate!
#2
Wow, I hate to revive such an old thread, but no proper answer was ever given!

I think what you are looking for is use of the SendKeys functionality. Here is a code snippet.
[code2=vbnet]SendKeys.Send("{END}")[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HTML - Editor How to create "Preview in Webbrowser " Button Himansh 2 12,571 05-21-2012, 12:08 AM
Last Post: Himansh
  How to create a change password Button?? Himansh 8 29,663 04-05-2012, 11:54 AM
Last Post: brandonio21
  How to code a print Button? Himansh 1 9,866 04-01-2012, 01:16 PM
Last Post: brandonio21
  How to add code to Cross(X) button on a form Himansh 3 14,874 03-27-2012, 11:06 PM
Last Post: brandonio21
  Internet Explorer Functions in Visual basic Protection4Real 2 12,801 04-13-2011, 07:45 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)