472,784 Members | 848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 software developers and data experts.

How to copy a form to clipboard

Is there anybody knows how to copy a form (actually the image of a form) to
clipboard?

Jason
Nov 21 '05 #1
5 6524
Alt-PrintScreen should do it. Or do you wish to do it programmatically?

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Is there anybody knows how to copy a form (actually the image of a form) to clipboard?

Jason

Nov 21 '05 #2
Yes.

"James Curran" wrote:
Alt-PrintScreen should do it. Or do you wish to do it programmatically?

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Is there anybody knows how to copy a form (actually the image of a form)

to
clipboard?

Jason


Nov 21 '05 #3
Here's an article about copying the screen to a bitmap. You have to
adjust the limits of the copy from the whole screen to the location of your
form. Them copy the bitmap onto the clipboard
(Clipboard.SetDataObject(bmp);)

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Yes.

"James Curran" wrote:
Alt-PrintScreen should do it. Or do you wish to do it programmatically?
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Is there anybody knows how to copy a form (actually the image of a
form) to
clipboard?

Jason


Nov 21 '05 #4
James:

You listed four web sites in your last mail. I do not know the article is on
which web site. Could you please tell me little bit more about the article (
its name, author?) and on which of the four web sites?

Thanks,

Minfu

"James Curran" wrote:
Here's an article about copying the screen to a bitmap. You have to
adjust the limits of the copy from the whole screen to the location of your
form. Them copy the bitmap onto the clipboard
(Clipboard.SetDataObject(bmp);)

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Yes.

"James Curran" wrote:
Alt-PrintScreen should do it. Or do you wish to do it programmatically?
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
> Is there anybody knows how to copy a form (actually the image of a form) to
> clipboard?
>
> Jason


Nov 21 '05 #5
Oops... Sorry, I forgot the link ;-)
http://www.codeproject.com/csharp/cscapturescreen1.asp
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:C3**********************************@microsof t.com...
James:

You listed four web sites in your last mail. I do not know the article is on which web site. Could you please tell me little bit more about the article ( its name, author?) and on which of the four web sites?

Thanks,

Minfu

"James Curran" wrote:
Here's an article about copying the screen to a bitmap. You have to
adjust the limits of the copy from the whole screen to the location of your form. Them copy the bitmap onto the clipboard
(Clipboard.SetDataObject(bmp);)

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
"Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com...
Yes.

"James Curran" wrote:

> Alt-PrintScreen should do it. Or do you wish to do it

programmatically?
>
> --
> Truth,
> James Curran
> [erstwhile VC++ MVP]
>
> Home: www.noveltheory.com Work: www.njtheater.com
> Blog: www.honestillusion.com Day Job: www.partsearch.com
> "Minfu Lu" <Mi*****@discussions.microsoft.com> wrote in message
> news:8C**********************************@microsof t.com...
> > Is there anybody knows how to copy a form (actually the image of a

form)
> to
> > clipboard?
> >
> > Jason
>
>
>


Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: tabonni | last post by:
Hi all I want to create an ASP page, which can copy the real PDF files into the clipboard and then the user can paste it in Outlook message as attachments(it's like inserting attachments) My...
5
by: tabonni | last post by:
Hello All I am creating an ASP page. There are a list of filename and checkbox next to it. When user checked all the documents they want and click ADD TO CLIPBOARD button. All filepaths will be...
4
by: Risto Heinonen | last post by:
Hi. I have a web page that has images and text. I can carefully select one image and the on the right of the image and then copy & paste to Word. Is it possible to make javascript do the same:...
6
by: Shyguy | last post by:
I want to create two buttons on a form. One would allow the user to Copy the contents of the current records memo field, the other would allow them to print. I set up a report based on the memo...
13
by: John | last post by:
Hi How can I implement cut or copy or paste in code? Thanks Regards
7
by: lgbjr | last post by:
Hello All, Im using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
6
by: Ben R. | last post by:
Hi, I've got a vb.net winforms app. Out of the box, I can use Ctrl X, C and V as expected in controls like textboxes. I've got a menustrip, and if I click the link "Add standard items" which...
5
by: Ajith Menon | last post by:
I want to copy a part of the windows form into clipboard as .bmp file. The usecase is the user drags using the mouse and creates a rectangular selection any where on the form. This part has to be...
17
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.