VS 2010 - How To Take Fullscreen Screenshots

Dec 10, 2011

The following code takes a full screen screenshot:
Public Function TakeShotOfScreens() As Bitmap
Dim maxHeight As Integer = 0
Dim maxWidth As Integer = 0
For Each scr As Screen In Screen.AllScreens
maxWidth += scr.Bounds.Width
[Code] .....
I am after some code that takes a screenshot of only a small portion of the screen.... I have to x,y,width and height of the square that I wish to take. Is this possible?

View 1 Replies


ADVERTISEMENT

VB 10 Fullscreen Form In A Fullscreen Game?

Jan 4, 2012

how to make a form to show in a game, Sort of like the program steam does.

Or is this even pausbile?

View 8 Replies

VS 2010 Drawing A Line Over DirectX Fullscreen?

Jan 25, 2012

Basically I want to Position a line from The middle of my screen to the bottom right of my screen. But I need to draw over the game to do this. I dont mind if it flickers as long as its there is all i want. Like this VV

View 4 Replies

VS 2010 In-Game IRC Client For FullScreen DirectX Game

Jun 4, 2010

I've already coded the IRC Client, but what would be the code to make the app overlay in the fullscreen DirectX game ? And i've already tried to the TopMost function.

View 37 Replies

Screenshots Appear During An Installation?

Sep 4, 2011

How do i insert the images during an customize installation?

For example, when i was installing Skype, screenshots of Skype appeared during the installation. How would i make that during my installation, with images appeared and disappeared just like skype. I know i could use code to bring back and front, but that is not how i wanted it to be. I tried that code before, but doesnt look good enough.

View 9 Replies

.net Code To Take Automatic Screenshots?

Jan 9, 2012

I'm looking for visual basic.net code (for visual basic express) to take automatic screenshots (timeout=60 seconds) for application testing. But every code has a lot of bugs:For example: [URL]Errors like:

Error 1 'Protected Overrides Sub Dispose(disposing As Boolean)' has multiple definitions with identical signatures.
Error 2 'Private Sub InitializeComponent()' has multiple definitions with identical signatures.
Error 3 'components' is already declared as 'Private components As System.ComponentModel.IContainer' in this class.

View 1 Replies

Capturing Ingame Screenshots?

Dec 7, 2011

Okay, so I know how to capture a screenshot of the Active Window, but if the active window is a game, then the screen is just black. What do I need to do to be able to also capture ingame screens?

View 3 Replies

Get A Screenshots Of Video Clips?

Feb 13, 2011

I'm running vb 2005. I need to take snapshots of video clip that are on my HD.

View 1 Replies

How To Ensure 10 Frames(Screenshots) Per Second

Sep 30, 2011

I have a screencasting program where it takes 10 screenshots every second and saves it to a temporary directory then through ffmpeg the series of images are compiled into a video format. My problem is that due to the computers processing power or the size of each screenshot and its quality it sometimes takes longer than 100 Milliseconds to create one causing the whole video to be off balance. How can I ensure 100% that 10 Images will be stored?

View 1 Replies

Images (Screenshots) For This Forum?

Jun 10, 2010

I started a little project to make it easier for me to post an image (screenshotby having the program output thehtm page which shows a thumbnail image, the URL, and the HTML text used to post the image here in the forus a question. I've set the name to "index" so that it appears by default rather than the former open browsing

View 4 Replies

Capturing Screenshots As A Windows Service?

Jul 29, 2009

Basically I have created a windows service using VB 2008 where I am trying to capture screenshots periodically.

The timer is working fine and I have tested this.

The purpose of the service is to monitor the desktop over night when the user is logged off, by capturing screenshots and saving them to file. This is so admin can be alarmed about security breaches etc.

The problem is is that I have not found a way to capture desktop screenshots as a windows service (or otherwise) while the windows logon screen is active (i.e: when the user locks the computer). I have used google extensively but to no avail

View 2 Replies

Creating And Saving Screenshots In PNG File?

Dec 30, 2009

How to create and save screenshot to PNG file? Lang:VB or C# (VS2008)

View 2 Replies

Create An Application That Records Screenshots Every 50 Milliseconds?

Jun 2, 2012

I am trying to create an application that records screenshots every 50 milliseconds... And It works below:

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick
Dim b As Bitmap = New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)

[Code]....

But after 30 seconds I see an ArgumentException on the second line...

Does anyone have a solution or an alternate method of capturing the screen like this?

View 14 Replies

VS 2005 Take And Save Screenshots Of The Current Window?

Oct 28, 2009

how to take and save screenshots of the current window or whole screen which ever is simpler.

View 9 Replies

VS 2008 Capturing Screenshots As A Windows Service?

Jul 29, 2009

Basically I have created a windows service using VB 2008 where I am trying to capture screenshots periodically. The timer is working fine and I have tested this. The purpose of the service is to monitor the desktop over night when the user is logged off, by capturing screenshots and saving them to file. This is so admin can be alarmed about security breaches etc.

[Code]...

View 3 Replies

Black Screenshots Games Counter-Strike Anticheat?

Feb 10, 2010

Black Screenshots Games Counter-Strike anticheat?

View 5 Replies

Taking In-game Screenshots - Take A Screenshot - Either Comes Out Completely Black ?

May 1, 2012

I'm working on a program which will allow users to take screenshots of full screen games, such as Call of Duty, Battlefield 3, etc. However, I'm having two issues with my code. First off, I'm having to press the shortcut twice, instead of once like my other shortcuts. This only occurs when the code below is actually in the handling sub. If I just have a messagebox show when the shortcut is pressed, it works every time. Second, whenever I take a screenshot, it either comes out completely black, or takes a shot of my desktop, even though there is a game running in the foreground. I have looked around, and it seems that printscreen is the only way to get a screenshot of a game through vb.net.

My code is below.

Private Sub game_Press(ByVal s As Object, ByVal e As Shortcut.HotKeyEventArgs) Handles gamewindow.press
Dim gamewin As RECT
If GetWindowRect(GetForegroundWindow, gamewin) Then
Dim bmp As Bitmap

[CODE]...

View 1 Replies

Taking Screenshots Violates Privacy / Data Protection Law?

Jun 9, 2009

In my VB6 programs (internal to our organzation) I have always liked taking screenshots upon the occurence of an error to give me more clues as to its cause but somehow I have read somewhere that it may be in violation to some law (privacy / data protection).In the project I am currently developing and it will be for marketing I have used the same method but upon reading about the warning I am now somehow hesitant to use it although it has proved useful in the past.

View 16 Replies

Using The Web Browser Control To Generate Screenshots Of An Intranet Application Developed In ASP.NET

Mar 21, 2012

I am using the web browser control to generate screenshots of an intranet application developed in ASP.NET.

The screenshot is generated, compressed and then stored as a BLOB in the database. When I developed this facility I investigated the best way of compressing the image (to the lowest byte size), however the images still seem to be too big as the database table is growing larger than I hoped. I am using the TIFF format, but I am now thinking that this may not be the best as it is used by photographers (who I assume require good quality photographs). Here is the code to compress the image (before it is stored as a BLOB):

[Code]...

View 1 Replies

Make An .exe Run In Fullscreen From VB?

Jun 1, 2012

This will be a simple one I bet as totally new to VB but have to start somewhere.I need the code to make a program called td4.exe on my I: drive be called from a VB app and it MUST run in Fullscreen mode with no borders. If just run the td4.exe it is windowed and will not alter even from the properties settings.

View 5 Replies

Disable The WMP Control From Going Fullscreen?

Feb 17, 2012

if there is a way to disable the WMP control from going fullscreen when the video is clicked on??

View 3 Replies

Fullscreen Video .net Code?

Jan 27, 2011

how to write the fullscreen video opening vb.net code? Currently,I am doing the project opening full screen video by moving the sensor.I can do the maximized video opening when run the program,but not full screen.I heard about ActiveX for fullscreen before, but I don't know how to put it and make the fullscreen.

View 3 Replies

HotKeys In Fullscreen Games?

Mar 25, 2010

Now my question is, is it possible to use Hotkeys and ScreenCapture in a Fullscreen game?If so, how?What im acutaly trying to do is a program to take a screenshot ingame (for some reason, this game doesnt have an option to take screenshots ingame.. Bad Company 2)

View 7 Replies

How To Make WinForms Fullscreen

Jan 10, 2011

I need to make a winform full screen. This is what I found online.

1. Hook WinProc to catch WM_SYSCOMMAND
2. Check wParam == SC_MAXIMIZE and then
3. Set my windiw's attributes

Me.ResizeMode = ResizeMode.NoResize
Me.WindowStyle = WindowStyle.None
Me.WindowState = WindowState.Maximized

I am fairly new to vb.net and do not know how to do Steps 1 or 2.

View 2 Replies

How To Set Media Player To Fullscreen

Mar 29, 2009

I have created 2 forms: "Form1" and "Form2"....Form1 is MDIcontainer and it contains Form2. In Form2 I have inserted the windows media player OCX. When I run the program and try to set the media player to fullscreen (via command button) appears an error:
{"Errore irreparabile (Eccezione da HRESULT: 0x8000FFFF (E_UNEXPECTED))"}

Here's the
Public Class Form2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxWindowsMediaPlayer1.fullScreen = True
[Code] ....
If I open a new project and I copy the code and the media player it works! I think problem is when I use MDIforms.

View 4 Replies

Keeping Form Above Fullscreen?

Nov 9, 2011

Basically i'm coding a application that can be used as a crosshair.How do I keep this above the game which runs in fullscreen. I've tried

View 5 Replies

Make A Picturebox Fullscreen?

Jan 22, 2010

Make a picturebox fullscreen?

View 1 Replies

Make A Program Fullscreen?

Aug 15, 2011

How to make a program fullscreen?

View 3 Replies

Media Player In Fullscreen

Jan 11, 2012

I have this one project going on, and I has media player inside the form, and other staff too. How I can make only the media player to go in fullscreen?

View 2 Replies

Play An AVI Fullscreen On A Form?

Nov 22, 2010

I need the simplest code possible to play an AVI fullscreen on a form.

View 5 Replies







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