Results 1 to 4 of 4

Thread: ctrl c [imitating]

  1. #1

    Thread Starter
    Registered User jkw119's Avatar
    Join Date
    Oct 2001
    Location
    Pittsburgh
    Posts
    256

    ctrl c [imitating]

    I don't know if this is a tough question or not. But is it possible to code the (ctrl c or copy) button event in vb. i know it must be possible. I have a chart i select with code, then i would like to code the ctrl c or copy event so the user doesn't actually have to use ctrl c. i am using vb.net. thanks,

    jeff

  2. #2
    Banned Michael_Kamen's Avatar
    Join Date
    May 2001
    Location
    The Netherlands
    Posts
    1,180
    You can use the Clipboard function.

  3. #3
    Banned Michael_Kamen's Avatar
    Join Date
    May 2001
    Location
    The Netherlands
    Posts
    1,180
    My mistake. I didn't read the last line.
    Don't know how it works in .NET. (I hope still the same)

  4. #4
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    VB Code:
    1. Clipboard.Clear
    2. Clipboard.SetText txtBox.SelText

    That's how it's done in VB6... not sure about .net

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