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
ADVERTISEMENT
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
May 15, 2009
I would like to get the screen dimensions so I can programatically change the size of a form upto these values. I'm new to .Net and things are little different then they used to be in earlier version of VB. How do I do it?
View 3 Replies
Jul 18, 2012
I'm just wondering if it's possible to add the mouse when capturing the screen or monitor in vb.net?
because I'm doing a project that would record the screen and I'm actually successfull doing that by capturing the screen and include it in a timer, but my only problem is the mouse or the cursor isn't showing.
below is my sample code.
Dim ScreenSize As Size = New Size(TotalScreenWitdh, MonitorHeightArray(0))
Dim BMP As New Bitmap(TotalScreenWitdh, MonitorHeightArray(0))
[Code].....
View 5 Replies
Nov 28, 2011
I want to disable the funtionality of using a mouse when using a touch screen monitor in vb.net. the reason why i ask is because i want to limit users to only one option. is there a way I can code this in vb.net 2010.
View 2 Replies
Nov 29, 2011
I designed a form which contains about 50 objects all kinds including tableadapters,buttions,grids, tabs. What is the best way to optimize the loading with less time consuming. I cannot split objects in on different form as all the objects has to appear on screen as a requirement.
But my primary question here is, i designed this form with all these objects on a 15" monitor which fitted 100% on the screen. Now i am using 17" monitor when i open this form on run time, all the objects are appearing as designed but theres a 30% form area which is left blank. How can i make the form objects resize automatically on run time itself to fit on different size of monitor with no area left blank.
View 2 Replies
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
Dec 15, 2010
I got this monitor that can turn 90 degrees & another program will rotate the display when it detects it has been rotated, I have a few questions though.
1.How can I detect when the monitor has been rotated (the monitor is hooked up via vga & no other cable goes to PC so I am guessing the message is sent across the vga cable).
2.How can I make it actually rotate the screen when the message is detected that the screen has been rotated?
I would download the other software but it's just some bulky & slow software for a small thing, windows has the ability for rotation built in, just not the auto rotation feature like the program, I just need to detect the message & make windows rotate the screen.
View 1 Replies
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
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
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
Dec 30, 2008
This code captures screen, but it doesn't capture my forms, only other applications in the background.[ode]...
View 6 Replies
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
Jun 7, 2011
Does anyone know What the best SDK for video capture is, WME Sdk?
View 3 Replies
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
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
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
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
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
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
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
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
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
Jan 24, 2010
I'm doing program that I can capture a part of the screen. Heres code, I don't know why it's not working.
[code]...
View 11 Replies
Mar 21, 2010
I'm working on a project. I've gotten all the kinks out of my Client/Server tcp chat. But I need to find a way around this problem.
In my chat room, you can have other users view your desktop remotely. But I'm having a problem with this.Does anyone know how I would get a screenshot or possibly video of the desktop and write it to my stream? I can convert it to a string already. and my old method used screenshots written to the disk. I would like to avoid touching the hard drive if possible, so that means extracting the screenshot/video from memory.
View 11 Replies
Jan 10, 2011
[code]I can save it only from PictureBox1, I wanna save it directly without loading it in a PictureBox component.
View 4 Replies
Nov 9, 2011
am developing a project in college and i am wondering to capture a screenshot that continuously update so
View 11 Replies
Sep 14, 2010
I' am Use Notebook (Samsung R580) OS : Windows 7 Home Basic Sceen ..
As shown in the image the camera is black, but somehow the image Get Connected Profile is not .. There follows a look at the program's source code and would be happy if you tell me where the error
View 3 Replies
Nov 19, 2010
I am creating an application for a company and this CD will be distributed to hundreds of people. Many users will have different computer screen size and different screen settings such as their resolution set to 1024 x 728 and their monitor size 17" inches.
I noticed when I loaded the application on a different computer with different settings the application was to big for the screen and did not work. I notice that lot of other programs from microsoft resize their controls and text but never knew how they did it. How can I resize the form and control according to the user's setting.
View 6 Replies
Jun 21, 2011
I'm using the code below to capture and print a windows form. The problem is that it prints out very fuzzy. Is there any way to have it print more clearly?
Imports System.Drawing.Printing
Public bmp1 As Bitmap
Private WithEvents printDocument1 As New PrintDocument
[Code]....
View 1 Replies