Results 1 to 3 of 3

Thread: Programatically pasting text

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    11
    Hey,

    How can I programatically paste text into a text/rich text box without using SendKeys? I think I saw this somewhere using an API, but I forget it's name.

    Thanks,
    Alex Begey
    CrystalDev
    VB6 SP4

  2. #2
    Guest
    No api needed.

    Code:
    Text1.text = ClipBoard.GetText()

  3. #3
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    text1.seltext=clipboard.gettext

    Otherwise, the rest of the text will be deleted.

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