Any Way To Capture Screen Of Form Area?

Mar 2, 2010

I was about to create a code for capturing screen of the area of a form.. Below code is capturing only the form size but from the top of the screen.. I want to capture the area of screen wherever it placed..
Code:
Dim loBmp As Bitmap = Nothing
'Dim Somebitmap As Bitmap
Dim screenSize As Size = New Size(Me.Bounds.Width, Me.Bounds.Height)
Dim screenGrab As New Bitmap(Me.Bounds.Width, Me.Bounds.Height)
Dim g As Graphics = Graphics.FromImage(screenGrab)
'Dim FiletoDelete
'MsgBox(lsFile)
g.CopyFromScreen(0, 0, 0, 0, screenSize) ("Need Some changes here!!")
screenGrab.Save(LogLib & lsFile)

View 5 Replies


ADVERTISEMENT

Crop Form Screenshot - Screen Capture Of Twindows Form And Display Only A Certain Specified Area

Aug 2, 2010

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)

[CODE]...

So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.

View 1 Replies

VS 2005 Using An Application To Capture Selected Part Of Screen By Resizing The Form And Capturing Area Of It?

Mar 9, 2010

Hi.. Im using an application to capture selected part of screen by resizing the form and capturing area of it!! now i want to reset the form once my work id done!! i mean if i press a "RESET" button the form should be load as first time it was loaded.(the real form size..)

View 1 Replies

Make The Form Size Exceed The Screen Working Area?

Dec 13, 2009

make the form size exceed the screen working area? like setting the size to (1600,1600) doesn't work if the screen is not as big as it is.

View 4 Replies

Set The Viewable Area To A Smaller Screen Area?

Jun 11, 2012

Trying to set the viewable area to a smaller screen area and have it cycle through as the person moves using collision detection to move the backgroudn image. Here is the start but its off to a bad start so far.

Public Class Form1
Dim Mapx As Integer = 600
Dim Mapy As Integer = 2000

[code]....

Basically the forum size is set to 600x2000 but the client should only allow you to view 600x600. I want it to add +1 once you "collide with a invisable box I'll add and this will redraw the screen.

View 4 Replies

Make A Screen Recorder (not Screen Capture) Program

Aug 20, 2010

I wanted to make a screen recorder (not screen capture) program, but I am not entirely sure how to get it started. I have seen many videos and things on how to make one, but all of these just take multiple pictures and then don't compile them into a movie file, and I don't want to take many pictures (unless that is the only way possible.) I am using Visual Basic 2010 Express and I have looked at the Windows Media Encoder, but I can't seem to figure out how to use/implement it (yes, I have downloaded and installed it.) Maybe I can use some kind of ActiveX control?

View 3 Replies

Wpf Custom User Control MouseleftButtonDown Capture Area?

May 23, 2012

I have a custom control with an event handler when you click on it. Everything works and the event get fired right.

AddHandler (cu.MouseLeftButtonDown), AddressOf Me.DoSomething

When the control resizes to show some extra information it expands. It also collapses when the user preses a button. This works alright. But now when I click where the expanded area used to be, it still fires mouse leftbuttondown on that control. I have tried to set IsHitTestVisible to false on the expanded element but it diden't work. Here's some xaml...

<UserControl x:Class="MyCustomControl">
<StackPanel>
<Grid>

[code]....

I cant use another element around my customcontrol since I also use this MouseLeftButtonDown on all different kind of controls.
I can't figure out how the boundaries on the cu.MouseLeftButtonDown event work to fix this.

View 1 Replies

Specify Actual Usable Form Area Instead Of Outside Area?

May 12, 2010

I designed a form and managed to fit graphics inside it. Picture box is 465 pixels high. Form1 is 500 pixels high. SnapShot of the screen verifies that the 500 pixel height is the overal height. It includes the upper Bar and lower frame. Is there an instruction to set the From's inner pixel size and not overal?

View 2 Replies

Take A Screen Pic Of A Certain Area

Mar 26, 2010

oksice there is no way to grab an image using its source i was wondering if there is a way to taking a screen pic at a certain x,y coordinates in a webbrowser1 then displaying it in a picture box.

View 3 Replies

Custom Area In Screen?

Sep 6, 2010

In my program, there is an option for a custom size object. I want the user to be able to click on the upper-left corner and then click in the lower-right corner and save the location as integers. How can I do this?

View 3 Replies

Take Screen Shot Of Selected Area

Sep 8, 2009

i have made an application which will capture screen shot and frequently will saves in word doc autmatically. but it will take whole screen.now my req is to take snap particular area of the screen selected by mouse.

View 5 Replies

Ability For A User To Drag An Area On Screen

Mar 14, 2012

i want to give the ability for a user to drag an area on the screen that they want and a that area to be print screened. or alternativly they click anywhere and that location is the top left of the box and then when they next click that location is the bottom right of the box and that box is print screened. [code]

View 1 Replies

VS 2008 - Magnify The Area Of The Screen Under Mouse

Jan 27, 2010

i am trying to get a project that will magnify the area of the screen under my mouse... and be displayed in the applacations window! so far all i have been able to do is track the X, Y positions of my mouse... i have some experiance but not very much useing visual basic.

View 6 Replies

VS 2008 Select And Copy A Little Screen Area?

Nov 12, 2009

I would like to select and copy in the clipboard a text chat row (the last row), so to save, row after row, the whole chat in a file To select the row is sufficent a single clik into a row, so that my idea was to simulate the mouse clik in the last row and then simulate the Control+C key press

Private Sub Timer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer.Tick
mouse_event(MOUSEEVENTF_LEFTDOWN, Pos1, Pos2, 0, 0)where Pos1 e Pos2 are the coordinates of a whatever point the chat row BUT THIS WORK IS NOT GOOD the mouse cursor becomes unusable with the normal work, so that it is needed a different idea, that makes the job INDIPENDENT from any other work made at the PC in the same moment

now the question is: any idea as how to solve the problem?

View 2 Replies

Monitor An Area Of The Screen For A Certain Color In Visual Basic?

Apr 5, 2012

I'm designing a player application to accompany our phone system. As our calltakers take calls, it makes recordings of each call. They can go to a list module, find a recording and double click, which opens my player. The issue i have is that if the calltaker gets another call, my player doesn't know it and will continue playing. I'm looking for a way to monitor the screen in a particular area and when it sees yellow or red instead of blue, it will pause my player.

The phone system does not have any API's that I can hook onto, so I have to try it another way.

The screen resolution never changes and the queue buttons where they receive calls will always be static. When they get a call, a small area changes from the background color blue to yellow or red to indicate a call.

**EDIT Final Code based on answers below and question Memory Leak using GetPixel/GetDC in Visual Basic

Private Function CheckforCall()
Dim hDC As IntPtr = GetDC(0)
Try

[Code].....

View 2 Replies

Capture The PC Screen

Oct 13, 2010

When I first saw Silverlight, I thought that there was a How Do I: video that demonstrated how to capture the PC screen and save it in a WMV file. Since I can't find anything like that I'm wondering if I was dreaming or it has been removed from the Net. My goal is to create a video capture Class that I can use to demonstrate my program and add the feature in my program so the user can record any issues they are having with my program and send it to me. This way I can see what issues they are having with my program.

View 2 Replies

Capture Screen As Movie

Sep 1, 2009

I want to capture a video of my screen with vb .net, and i'd like to avoid using directx. I found a tutorial here url... but it resulted in the program instantly crashing, i think it was designed for .net 1.1;

View 1 Replies

Capture Screen From Service (Win 7)

Aug 30, 2011

I know that a service in Win7 doesnt have a desktop associated to capture a screen - so normal techniques dont work.But how do i overcome this? How do programs like VNC and alikes do it? My code in WIN XP works fine - but in Win 7 i get black image.

View 4 Replies

Capture Screen With My Forms?

Dec 30, 2008

This code captures screen, but it doesn't capture my forms, only other applications in the background.[ode]...

View 6 Replies

Detect Screen Capture In .net?

Feb 11, 2012

Is there a way to detect screen capture or recording is processing.

Atleast a way to know the process behind screen capturing?

i guess something has to be done with Kernal side of the system but not sure.

View 2 Replies

Get Video Screen Capture?

Jun 7, 2011

Does anyone know What the best SDK for video capture is, WME Sdk?

View 3 Replies

How To Capture Screen As Video

Mar 21, 2008

Hi how can I capture my screen as a video? Like record what I do with my mouse and so on until I want it to stop and have a File of it ready.?

View 6 Replies

Make A Screen Capture?

Jun 16, 2010

i need to make a screen capture... but just of a web browser control... i got everything but how to get JUST the web control..

View 1 Replies

Screen Capture With Cropping?

Jul 26, 2010

how would I allow my screen capture to crop and capture only a particular area of a screen?The user should be able to select the area they want to crop. It would be good if the cursor changers to a plus like other screen captures and also the screen is all paused so the user can select the area they want.v

View 4 Replies

Screen Video Capture .NET?

Apr 26, 2012

How can I capture a part of screen as video in VB.NET? Can I set the location of the screen capture and the width of the capture area?

View 1 Replies

Send Screen Capture Over Tcp?

May 3, 2009

I have a application (client) that does a screen capture and sends it to another application (server) over tcp/ip.The problem is that sometimes the images recived on the server i corrupt, it only displays a part of the image, like there is data missing.I have tried to set the sendbuffer and recivebuffer to different values, some works better but not good enought.

[Code].....

View 2 Replies

.net - Window Screen Capture (ALT+PRINTSCREEN)

Apr 1, 2010

I found that code somewhere and I find it quite useful but I would like to find a way to make it work so it capture only the given window target. Maybe with a processID or Window Name. Even if that window is not active. I do not want to make that window active but want to get a screen capture like if I was doing Alt+PrintScreen on it.

[Code]....

View 1 Replies

Screen Capture Every 30 Seconds For 45 Minutes

Jan 20, 2010

I'm trying to develop a windows form app which will take a screen shot every 30 seconds for about 45 minutes. After 45 minutes, the user will click Finish, and these screenshots will be uploaded to a database. I don't want anything that simulates a PrintScreen key press, because I don't want to alter the users clipboard. The second issue is, for users with multiple screens, I'd like to capture the entire screen image, not just from the primary screen. I'm using Visual Basic .NET 2005.

View 2 Replies

Takes A Screen Capture Of Monitor?

Mar 18, 2009

I have some code that takes a screen capture of my monitor. This code seems to work perfectly OK and can take multiple screen captures, apart from when I do a Print Screen using the keyboard or open SnagIT 8, when I then try to run my code again I get an error "A generic error occured in GDI+"

I am at a bit of a loss, I have had a look on the internet, but everything I seem to find appears to be related to web apps. and access permissions. This is a window based application and therefore can not seem to find an answer.Below is the code I am running:

[Code]...

View 1 Replies

VS 2005 Screen Capture Of A MDI Children?

Jan 29, 2010

I am trying to get the screen capture of a MDI children form. Somehow it is just not working.

Private Sub btnScreen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnScreen.Click
Dim frmMain As frmParent = Me.MdiParent
For Each ctl As Control In frmMain.MdiChildren
If TypeOf ctl Is frmOverview Then

[code]....

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved