CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Location
    Australia
    Posts
    2

    Cut & Paste in PictureBox?

    There are so many questions I would love to ask you guys, but I will stick to one.

    How can I let a user cut and paste from a picture box?

    The program I am workng on is a simple one that sorts times from lowest to highest. The data is then out put with html added so it can then be pasted straight into a web page. Right now I can only dump the data into a text box which is limiting.

    Thank you.


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: Cut & Paste in PictureBox?

    The only thing you can Copy from a Picturebox is a Static Image, but what you could do is manually place the HTML Code on the Clipboard for Pasting into an HTML Editor, etc, using the Clipboard Object, ie.

    Clipboard.SetText sHTMLCode, vbCFText





    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

  3. #3
    Join Date
    Jan 2000
    Location
    Australia
    Posts
    2

    Re: Cut & Paste in PictureBox?

    Thank you, I did not even think of using the clipboard in that way.


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

Featured