|
 |
|
|
Please give me sorce code of the dll . so that i will able to use use it as my requirement.
Waiting For Responce sachin Moule 9420691932
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
MSDN sample to capture screen or active window (DLLScreenCap)!! Enjoy!!
ms-help://MS.VSCC.2003/MS.MSDNQTR.2004APR.1033/vcsample/html/vcsamDllScreenCapSample.htm
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
Has anyone found a way to disable or remove the sound from the program, so it doesn't play it when it captures the screen.
AH
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hello everybody,
i'd like to know how to use "Screen Snaper" as a Winform Control in order to include it in a C# application. Is it possible?
Thanks everybody.
Regards.
Miguel
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
Can someone email me the source code of the SnaperHelper.dll?
Very much appreciated,
nowlex2000@yahoo.com
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
can i please have the source to snapperhelper.dll?
localmotion34@hotmail.com
NOTE: there is also a bug with the tracking window that displays the zoom and mouse coordinates. sometimes it will refuse to repaint itself when certain types of windows were open when calling the getregionimage or getwindowimage. id like to be able to fully disable the tracking window.
if ANYONE has the source, please send it to me
|
| Sign In·View Thread·PermaLink | 2.33/5 (5 votes) |
|
|
|
 |
|
|
 |
|
|
Hi; I would like to use your dll in my C# application. But when I try to import the dll an error apears.
Could you please help me on this.
Thanks Hadi
|
| Sign In·View Thread·PermaLink | 1.33/5 (5 votes) |
|
|
|
 |
|
|
Any one have SnaperHelper.dll's source code please send it to me. thanks. my e-mail : hotsyc0101@hotmail.com
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
If I have a machine with no sessions, but jobs are running, will your program be able to capture the screen shot . I want to manage remote machines, which send a screen shot of their screens every 15 seconds. That I can find out if any error message has popped up on any of the machines.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Please help , I would desperately appreciate it if you could send me the source code for screencapture.dll , I am currently creating an application that requires the image from the desktop to be stored in a file.
The tears shed in vain and the hatred and pain will be nothing but dust at the end of the day
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
I really don't know why this article is in the CODE project, if there is no CODE... Use this, it's not perfect, but it's here!
///////////////////////////////////////////////////////////////////////// //////////////////// THIS CODE WASN'T CREATED BY ME, BUT I DON'T REMEMBER //////////////////// THE AUTHOR'S NAME. SORRY! /////////////////////////////////////////////////////////////////////////
public Image CaptureScreen() { return CaptureWindow( User32.GetDesktopWindow() ); } /// /// Creates an Image object containing a screen shot of a specific window /// /// The handle to the window. (In windows forms, this is obtained by the Handle property) /// public Image CaptureWindow(IntPtr handle) { // get te hDC of the target window IntPtr hdcSrc = User32.GetWindowDC(handle); // get the size User32.RECT windowRect = new User32.RECT(); User32.GetWindowRect(handle,ref windowRect); int width = windowRect.right - windowRect.left; int height = windowRect.bottom - windowRect.top; // create a device context we can copy to IntPtr hdcDest = GDI32.CreateCompatibleDC(hdcSrc); // create a bitmap we can copy it to, // using GetDeviceCaps to get the width/height IntPtr hBitmap = GDI32.CreateCompatibleBitmap(hdcSrc,width,height); // select the bitmap object IntPtr hOld = GDI32.SelectObject(hdcDest,hBitmap); // bitblt over GDI32.BitBlt(hdcDest,0,0,width,height,hdcSrc,0,0,GDI32.SRCCOPY); // restore selection GDI32.SelectObject(hdcDest,hOld); // clean up GDI32.DeleteDC(hdcDest); User32.ReleaseDC(handle,hdcSrc); // get a .NET image object for it Image img = Image.FromHbitmap(hBitmap); // free up the Bitmap object GDI32.DeleteObject(hBitmap); return img; } /// /// Captures a screen shot of a specific window, and saves it to a file /// /// /// /// public void CaptureWindowToFile(IntPtr handle, string filename, ImageFormat format) { Image img = CaptureWindow(handle); img.Save(filename,format); } /// /// Captures a screen shot of the entire desktop, and saves it to a file /// /// /// public void CaptureScreenToFile(string filename, ImageFormat format) { Image img = CaptureScreen(); img.Save(filename,format); }
/// /// Helper class containing Gdi32 API functions /// private class GDI32 { public const int SRCCOPY = 0x00CC0020; // BitBlt dwRop parameter [DllImport("gdi32.dll")] public static extern bool BitBlt(IntPtr hObject,int nXDest,int nYDest, int nWidth,int nHeight,IntPtr hObjectSource, int nXSrc,int nYSrc,int dwRop); [DllImport("gdi32.dll")] public static extern IntPtr CreateCompatibleBitmap(IntPtr hDC,int nWidth, int nHeight); [DllImport("gdi32.dll")] public static extern IntPtr CreateCompatibleDC(IntPtr hDC); [DllImport("gdi32.dll")] public static extern bool DeleteDC(IntPtr hDC); [DllImport("gdi32.dll")] public static extern bool DeleteObject(IntPtr hObject); [DllImport("gdi32.dll")] public static extern IntPtr SelectObject(IntPtr hDC,IntPtr hObject); }
/// /// Helper class containing User32 API functions /// private class User32 { [StructLayout(LayoutKind.Sequential)] public struct RECT { public int left; public int top; public int right; public int bottom; } [DllImport("user32.dll")] public static extern IntPtr GetDesktopWindow(); [DllImport("user32.dll")] public static extern IntPtr GetWindowDC(IntPtr hWnd); [DllImport("user32.dll")] public static extern IntPtr ReleaseDC(IntPtr hWnd,IntPtr hDC); [DllImport("user32.dll")] public static extern IntPtr GetWindowRect(IntPtr hWnd,ref RECT rect); }
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Any one have SnaperHelper.dll's source code please send it to me. thanks. my e-mail : ayyagari_shankar@yahoo.com
shankar
|
| Sign In·View Thread·PermaLink | 4.00/5 (2 votes) |
|
|
|
 |
|
|
please send me the souce code of the SnaperHelper.dll. my e-mail : ayyagari_shankar@sify.com
shankar
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
hy, Everybody, Can it posible that capturing image of any application window without displying it.I mean that application is running in backgroud that mean it`s window is hide,Now can i capture that window which is hide? if yes then how?
|
| Sign In·View Thread·PermaLink | 1.00/5 (3 votes) |
|
|
|
 |
|
|
 |
|
|
Hello Everyone, I was wondering what would be the best way to send a form to the printer. I have a form the user fills in. Once they are done it needs to be printed. Is there a way to do a screen capture to a bitmap? Maybe I can then print the bitmap.
Thanks in Advance for any help.
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
Hi
First of all I was quite impressed of the interface of your source!
Nice work! 
I just wanted to know one thing though..
Is it possible to fix the width while capturing? (something like region capturing, just that the mouse's width will be fixed after once clicking to make the square for capturing area) I tried to add couple of functions but the DLL somehow seemed to do everything so I couldn't get my hands into it
Could you pull me some hands out for me to do this job?
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Hi Dany,
I have seen some anomalies in your code, if we run the multiple instances of this application then printscreen message dose not goto your application. Instead it goes to system directly. I figure out that you are registering your own windows message "UWM_PRINTSCREEN", thats why it fails for other instances (while registering message). Is there any work around to send printscreen message to application only, instead of system while the multiple instances of application are active.
Thank you,
Regards, Vishal More
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
hum - they want the source  screen capture can be done using winAPI like this: call GetDC(0) to get the screen dc where all is painted; determine the rectangle size - by call to GetClientRect, with window handle from GetDesktopWindow(); CreateBitmap with the determined size; call BitBlt to copy to our bitmap from screen; finally use ReleaseDc to free allocated DC; sorry that i have no time to write it in C. DLL will be needed if you want to hook keyboard clicks.
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |