Skip to main content

[Migrated content. Thread originally posted on 07 March 2006]

Has anyone successfully been able to programatically paste something into a Rich Textbox Control? I see lots of examples on the internet using the Paste method, but that method doesn't show up in my def file. Paste also doesn't show up in VB, so I'm guessing that my rich textbox control is old, but it doesn't appear to be.

I just want to paste something from the clipboard programatically into the Rich textbox control, fairly simple. Any ideas?

Thanks,
Rob

[Migrated content. Thread originally posted on 07 March 2006]

Has anyone successfully been able to programatically paste something into a Rich Textbox Control? I see lots of examples on the internet using the Paste method, but that method doesn't show up in my def file. Paste also doesn't show up in VB, so I'm guessing that my rich textbox control is old, but it doesn't appear to be.

I just want to paste something from the clipboard programatically into the Rich textbox control, fairly simple. Any ideas?

Thanks,
Rob
I don't think the control itself provides any means of accessing the clipboard, but it is pretty straight forward to deal with this yourself just use the clipboard example.

If you have seen code that indicates the component does this itself, can you show me this code?