Results 1 to 5 of 5

Thread: Copy-Paste Problem

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Copy-Paste Problem

    Hi,

    I want copying and pasting text between two different VB applications as done in microsoft applications, if i copy a text from my text editor, it can be pasted in note pad or another VB application.

    Thanx

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Simple
    VB Code:
    1. ClipBoard.SetText "Some Text"

    Then try pasting in another app.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Fanatic Member
    Join Date
    Jul 2002
    Location
    Australia
    Posts
    635
    Hiow would I make the code work with a text box , and how do you paste and clear text?
    A.A. Fussy
    Babya Software Group

  4. #4
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207
    ClipBoard.SetText = Text1.Text
    Text1.Text = Clipboard.GetText
    Micah Carrick
    Visual Basic 6 SP5
    Visual Basic.NET
    Quixotix Software
    [email protected]
    Download QCM 1.0 - Intelligent ActiveX Control Management

  5. #5
    Fanatic Member
    Join Date
    Jul 2002
    Location
    Australia
    Posts
    635
    Thanks, for the code-just what Iwas looking for
    A.A. Fussy
    Babya Software Group

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