473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 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 6560
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, I¡¯m 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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.