|
-
Sep 7th, 2010, 06:16 PM
#1
Thread Starter
Addicted Member
hotKeys
how i can create a program
Once I click on certain buttons software that will copy the text I will indicate
(like Ctrl + c)
-
Sep 7th, 2010, 11:23 PM
#2
Re: hotKeys
Your request is a bit unclear. Are you saying that you want to be able to select text in any application and then press some key combination to have that text copied into your application? That's a bit of an educated guess but, if it's wrong, please provide a clearer description of what you want.
-
Sep 8th, 2010, 12:44 AM
#3
Fanatic Member
Re: hotKeys
Umm as far as I can tell from your request, you want a button to copy and paste the indicated text?
If so, add this to your button_click event:
vb Code:
My.Computer.Clipboard.SetText(TextBox1.Text)
This will add the text in TextBox1.Text to the clipboard
Not sure whether that's what you wanted.
-
Sep 8th, 2010, 02:04 AM
#4
Thread Starter
Addicted Member
Re: hotKeys
 Originally Posted by J-Deezy
Umm as far as I can tell from your request, you want a button to copy and paste the indicated text?
If so, add this to your button_click event:
vb Code:
My.Computer.Clipboard.SetText(TextBox1.Text)
This will add the text in TextBox1.Text to the clipboard
Not sure whether that's what you wanted.
that's why i want, but i not worked
this my code:
The code makes the moment I pressed the keys "Ctrl + c + 1" i will show me a MsgBox message but I want it to copy the text I will indicate right software, the code you gave me an error does.
Thanks for your help
-
Sep 9th, 2010, 02:54 AM
#5
Thread Starter
Addicted Member
-
Sep 9th, 2010, 03:28 AM
#6
Re: hotKeys
I understand that there's a language barrier here but your request still doesn't make sense to me. Can you try to explain more clearly, step by step, exactly what you want the user to do and what you want the app to do.
-
Sep 9th, 2010, 03:33 AM
#7
Thread Starter
Addicted Member
Re: hotKeys
No matter, it works. Thanks for your help
 Originally Posted by J-Deezy
Umm as far as I can tell from your request, you want a button to copy and paste the indicated text?
If so, add this to your button_click event:
vb Code:
My.Computer.Clipboard.SetText(TextBox1.Text)
This will add the text in TextBox1.Text to the clipboard
Not sure whether that's what you wanted.
The code was supposed to be this:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|