Results 1 to 4 of 4

Thread: Please help me(get values from Keyboard)!!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    3

    Please help me(get values from Keyboard)!!!!

    I want get values from keyboard when i press "ctrl + c" or right click and select "copy" in my Application(Using VB.net 2003). Thanks
    Please help me.!!!!!!

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: Please help me(get values from Keyboard)!!!!

    What do you mean by :values from keyboard"? Could you explain a bit more?


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    3

    Re: Please help me(get values from Keyboard)!!!!

    It's Mean:
    I have Application, now I want my Application get value from keyboard when I press "Ctrl + C" or Right click select "copy".

    Example: I have Folder with name "Documents and Settings", i select this folder and then press F2 and then I press Ctrl + C or Right click select Copy, I want My Application get value: Documents and Settings.
    Please Help Me!
    Regards,

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: Please help me(get values from Keyboard)!!!!

    You can use this :

    VB Code:
    1. MsgBox Clipboard.GetText

    to get the text in the clipboard. To see when the value is changed, you can either keep comparing at a small interval the content of the clipboard object, or use apis that will be a bit harder...


    Has someone helped you? Then you can Rate their helpful post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width