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


ADVERTISEMENT

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

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 2010 - Capturing Part Of Screen (Bitmap)

May 20, 2012

I'm looking to make a program that would capture your whole screen, then have the picture display on the screen (simulating a frozen screen) to where the person handling the program could select a partial segment of the screen with their mouse and then save to a folder.
1. I have no idea how to go by doing this
2. My form is constantly minimized, so I have to do it without MouseDown on the form and whatnot.
How would I go by doing this?

View 2 Replies

VS 2008 - Capture A Part Of The Screen?

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

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

VS 2008 Resizing A Form Based On Client Area?

Jun 5, 2011

I have a picture box on a form that changes size as needed. Both by resizing the form and by code.How can I resize the form automatically if I resize the picturebox in code. The client area of the picture box should not be clipped.Right now the picture box is set to dock fill, but if the code resizes it, the form does not follow it. Is there a binding somewhere I can use?

View 2 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

Form Objects Resizing On Different Monitor Screen Size?

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

Multi Form / Part Application Need To Make Part Protable For Transfer

Feb 22, 2011

im making an application in vb.net (duh!) anyway i have created and coded the whole project and it performs exactly as i want it to (i dont need code help). my problem lies with the fact that my project is 2-3 parts

1.a setup form that gathers inital data about the enviroment stores this data encrypted in a config file. after inital setup this form is not displayed again. but needs to be run on both computers

2. the second form is the real application form im in the process of turning this part in to a background service anyway this form is the one that establishes the connection between two nodes it works correctly

3. the config files

anyway here is my problem i want to make this application distributional with just one file the (.exe) and have this .exe make everything else happen. it runs the setup form and creates the first config file which it does then it needs to produce a copy of just the second form and the config file to transfer to workstation #2 that will run independtly without the whole application which i cant make happen then it needs to turn both workstations application on by only starting one on either computer and invoke the other computer to start its corrosponding app also no idea how to make this happen any ideas or suggestions as to where to look to try to find my answers.im thinking i might need to make two seperate applications (a setup app, and the running app) and include them both in a project and use the setup.exe to to package them together this is a little side project that im making for my self to use to make programming a little easier so i plan on giving it out to some fellow students to test and tell me what they think so im not really worried about ease of use or complicated procedures yet but if it turns out to work and actually be of use to anyone else i would be willing to rewrite it to distribute to the masses but for now i just want it to work for me.

View 4 Replies

VS 2005 - Capturing A Screen Shot Then Crops Down To The "status Bar"?

Nov 29, 2011

I am working on a vb.net app that is capturing a screen shot then crops down to the "status bar" of a particular application this image is then converted to black and white. I crop off the left portion of this to compare to a preset image. this is where the app breaks as for some reason it shows the images being the same no matter what. here is where i think the problem is but i also attached full source in case its needed


[code]...

View 5 Replies

Resizing Forms - Form Size Aint Affected By Screen Resolution Settings

Feb 15, 2011

how do i set my vb2008 form in such away that the form size aint affected by screen resolution settings

View 3 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

[2005] Multi-Screen Application - Control Each Screen Separately?

Jun 23, 2009

im about to develop a small appliacation for a bet system, which needs 6 screens, each screen will be a touch screen for each client... the application will be running in one computer only just with 6 screens. my question is does anyone knows how to control each screen separately?. somethign that would allow me to output each forms in different screens would work fine.

View 2 Replies

Create A Code VS 2008 Print Screen Part Of The Form

Jul 24, 2009

Is it possible to create a code that when a button is clicked it Print Screens part of the form (For example, location 3,4 to location 30,40) and then saves the image?

View 3 Replies

VS 2005 Resize Panel When Resizing The Main Form?

Sep 2, 2011

I am working on my application as I am trying to resize the panel when I resizing the winform application. Do any of you know how do I resize my panel when resizing the main form in a winform application?

View 1 Replies

[2005] Screenshot Of Small Area On Form?

Feb 10, 2009

I have a form with a webbrowser and other things. I want to know how to take a screenshot of just a small area on my form. I searched and only found how to do a screenshot of the entire screen. how can i provide X and Y values of where I want my screenshot?

View 11 Replies

VS 2005 - Form Resizing - Size Of Text Boxes Starts Decreasing

Mar 7, 2010

i have a button in my form which increases the font size of the form by 1. [Code] now when i increase the font size, after increasing by 3 the size of text boxes starts decreasing. this is how the form looks after size+5, when i open the form, the tabpage resize event is called 3 times.

View 1 Replies

Capturing A Section Of The Screen?

Oct 19, 2006

I am trying to make a simple personal program and cannot figure out how to capture a section of the screen.I want it to work like prt scr does except it captures a specified rectangle instead of the entire screen. I am thinking I have to use Drawing.Graphics but am not sure.

View 11 Replies

How To Screen Capturing In-game

Nov 18, 2011

i use with this code: Dim bounds As Rectangle

Dim screenshot As System.Drawing.Bitmap Dim graph As Graphics bounds = Screen.PrimaryScreen.Bounds

screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb)

graph = Graphics.FromImage(screenshot)
graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy)
PictureBox1.Image = screenshot

But when I try it in games,it shows only a black picture.

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

Add The Mouse When Capturing The Screen Or Monitor?

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

VS 2005 How To Print Some Part Of The Form

Aug 19, 2009

i have a form in which i have Name, startdate, end date, total hours, hourly rate, age and the total week hours. I want to print the name of employee with startdate, end date and total hours.

View 19 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

VS 2005 Form Only Displays Some Part If Tried On A Different System

Sep 2, 2009

I have a laptop with vista and desktop with win xp. I am building the application on win vista but when i copy the same project and view it on win xp , then it only shows the fields that fits on the screen. the rest of the fields that needed to be scrolled on right , does not come at all. The project works fine on win vista. I even tried to tried publishing the project. it works fine on win vista but is missing some fields on win xp.

View 9 Replies

Stop The Forms Moving To The Back When They Are Open If Click In The Any Part Of The MDI Area?

Nov 20, 2011

I have an MDI running as the parent. How can you stop the forms moving to the back when they are open if you click in the any part of the MDI area. Also I notice if I have more than one form open it creates form instances on my windows task bar?

View 6 Replies

Capture Part Of A Canvas To Save As BMP / GIF?

Apr 5, 2009

I have an application that generates a replay of Air Traffic and I need to allow the user to capture parts of the canvas so it can be exported as a BMP of GIF. I did this in VB6, but not sure how to do it in WPF. I plan on drawing a rectangle around the intended capture area following the mouse till the user triggers the capture.

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







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