Results 1 to 8 of 8

Thread: [2005] copy and paste

  1. #1

    Thread Starter
    Banned
    Join Date
    May 2007
    Posts
    39

    [2005] copy and paste

    how do you copy text from a rich text box w/ a button
    and how do you paste text into another rich text box w/ a button

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] copy and paste

    how do you copy text from a rich text box w/ a button
    Call its Copy method.
    how do you paste text into another rich text box w/ a button
    Call its Paste method.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Banned
    Join Date
    May 2007
    Posts
    39

    Re: [2005] copy and paste

    how do i go about doing that?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] copy and paste

    The help topic for all three methods provides a code example, which is why you should always read the documentation.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Banned
    Join Date
    May 2007
    Posts
    39

    Re: [2005] copy and paste

    ?
    if the code is simple can you please type it if not can you provide a link?

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] copy and paste

    There is no need for me to repeat code that is already provided in the help. This is a good chance for you to learn how to use the MSDN library if you don't already. Given that it's just a Web site though, you don't need to be an experienced developer to use it. You should also have installed the MSDN library locally if you installed VS yourself.

    Open your local MSDN library if you have it, otherwise go to the MSDN Web site. Search for richtextbox and follow the link to the topic for the System.Windows.forms.RichTextBox class. Follow the link to the topic for its member listing, then follow the link to the topic for the Cut, Copy or Paste method.

    It's just a search and a few links, just like anything on the Web. Now you have your code example and you know how to look for information on MSDN in future. That doesn't guarantee you'll find what you're looking for but the more you do it the better you'll get and the more successful you'll be. That's more help to you as a developer in the long run.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Banned
    Join Date
    May 2007
    Posts
    39

    Resolved [Resolved] [2005] copy and paste

    lol reminds me of my parents but found it thanks

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [Resolved] [2005] copy and paste

    Quote Originally Posted by fred666777
    lol reminds me of my parents but found it thanks
    I subscribe very passionately to the "teach a man to fish" ethos.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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