• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1569
  • Last Modified:

How to copy screen to image and save it in JPEG picture

I want the program to copy the screen automatically and change the picture to JPEG mode, how to do, and anyone has such control which can give me, thanks!
0
verbal2003
Asked:
verbal2003
1 Solution
 
verbal2003Author Commented:
anyone can help me, thanks
0
 
avya2kCommented:
visit avya.8m.com and search for screen capture in downloads i think this might help
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
supunrCommented:
refere to MSDN article

"HOWTO: Capture and Print the Screen, a Form, or Any Window"
Q161299

To save the picture use
SavePicture
statement.

Good Luck!
0
 
vinnyd79Commented:
hi verbal2003, was your question answered?
0
 
GPrentice00Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->Accept vinnyd79's comment as Answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer
0
 
BrianGEFF719Commented:
http://www.carbosoft.com/CSCREEN.zip.

Add the CarbosoftScreen.dll as a reference to your project. Below is how you would use it. The DLL supports compression of the Screen Capture, so you must keep that zlib.dll with the carbosoftscreen.dll.


Dim ScreenCapture As New CarbosoftScreen.CS




res = ScreenCapture.CaptureScreen(screen.width, screen.height, "ss.bmp",false, 1)

it will return True or False, based on whether it was succsesful or not.

Parameters
----------------
1 - Width
2 - Height
3 - Output file, if you decied to compress (make the extension .zip otherwise .bmp)
4 - Compress
5 - Quality


'Quality Options
'----------------
'1 = 24Bit BMP
'2 = 256 color BMP
'3 = 16 color BMP
'4 = 2 color (monochrome) bmp
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now