Jump to content
 

Anyone know how to make a 'Copy' Button


Recommended Posts

Posted

I'm trying to create a Copy button, i.e. Copy & Paste so that when you click the copy button it automatically copies whats in the textbox.

Example Form:

TEXTBOX COPYBUTTON

When you click copy it slects whats typed in TEXTBOX and copies it to the clipboard.

Any ideas on how I can do this? :2

Posted

why not just make a "select all" button and have the lazy cunts copy the thing themselves?

Posted

Or not bother and let them highlight the text and copy it?

It's not really going to attract more members here is it.

Posted

It's not for here, it's part of a tool I'm creating in work. Basically the exe I'm creating runs a registry fix when you click the button and also copies an update of what you've done to the clipboard ready to paste in to the log.

Posted

I tried that first, the only relevant link you had to pay to see the answer. Other than that it was a button that copies from one textbox to another but there was no real way of modifiying it to use the clipboard.

Posted

Mix equal parts cocaine, and baking soda in water. Boil until all the water dissolves.

Posted

I might be able to get you an answer tommorow since I have intro To programing, and we use VB. Can you give me what you have so far for your code so I can tell my teacher that I am doing it "just for fun".

But on a side note, I made an auto clicker in VB.

Posted

Then when you don't know what you're doing you'll sound like a moron. I highly doubt that'll be the first thing you'll learn tomorrow. I don't see you being any help at all you prick.

Posted

Ugh. I hate you. STFU n00b.

n00b? not only has he been here longer than you, but hes got like ~2700 more posts than you as well. you're the noob, bra.

Posted

Thanks man dude but I've pretty much got it sorted for now.

I managed to do it in VB but the code only copies to the clipboard locally in VB, so it wasn't allowing me to paste in to other applications. I've since redone it in MS Access, it's not as professional but it seems to work a lot better.

Posted

Yeah well. I was half joking. Jeez.

Ugh. I hate you. STFU n00b.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy Guidelines We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.