Results 1 to 4 of 4

Thread: [RESOLVED] How to Paste/Insert Text to a Textbox?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2009
    Posts
    127

    Resolved [RESOLVED] How to Paste/Insert Text to a Textbox?

    I copied text From other program how can I paste this text to a textbox?
    VB n00b with stupid questions
    Home site keywen.com

  2. #2
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: How to Paste/Insert Text to a Textbox?

    I'm assuming you're wondering how to do it in code?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2009
    Posts
    127

    Re: How to Paste/Insert Text to a Textbox?

    yes in code. my program just selected text and copied it using ctrl+c now it needs to paste it in a text box. What code can I use?
    VB n00b with stupid questions
    Home site keywen.com

  4. #4
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: How to Paste/Insert Text to a Textbox?

    vb.net Code:
    1. Me.TextBox1.Text = My.Computer.Clipboard.GetText()

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