Capture Window Changing Event?

Apr 18, 2012

how can I capture the event, if the user f.e. changes from ie to ms word?

View 3 Replies


ADVERTISEMENT

Capture New Window Event From Browser?

Apr 9, 2010

I have a vb form with a webbrowser control on it.my application connects to a website that my company uses to view footage.the problem is that everytime you click on a link on the website it opens up a new window, which basically defeats the whole purpose of me having a browser on my form.

i need to capture the new window and enter the URL of the new window into my browser.

View 12 Replies

Capture Keypress Event When Window Is Not Focused?

Jul 11, 2010

i am trying my hand in visual basic 2010

it's a windows form program, what am i trying to do is, when i press ctrl+v (yes pasting) in other program, whether it be notepad or a text box, something also happens in my program.

So i need to capture the keypress event when my form does not have the focus.I would hate to create a windows service for this, but if there is no other way i might have to do it.

View 14 Replies

Windows.form.webbrowser's Newwindow Event Does Not Capture New Window Request

Sep 22, 2009

I used to use windwos.form.webbrowser along with cast of its activeXinstance to shdocvw's webbrwoser to get the newwindows event to force new windows in another tab instead of popup. also capture right click new window requests to another instance of browser in another tab but keeping the security context

[Code]...

View 3 Replies

ALERT: Event Handling - Capture The Event For When The F1 Key Is Pressed

Feb 15, 2011

I have alot of experience in working in VBA for excel, but not so much experience in creating my own structures so it's all still a bit foggy. I'm trying to capture the event for when the F1 key is pressed, not just when the form is active, but anytime the program is running. The code below expressing the handling is automatically generated for me in VB Express... But I'd like to change the situation to encompass anytime the program is open. I guess I have to reference events that happen in windows in general, but i don't know how to do it. I think i have to create the even in a class module?

[Code]...

View 3 Replies

Changing A Video Capture Setting?

Jun 16, 2009

I'm new in vb, I made a program that capture images from the webcam and I want to save as video file, the code i wrote give an Exception I want to know what is the wrong in this code, help please

HTML
'---capcaptureget function
Function capCaptureGetSetup(ByVal hWnd As Integer, ByVal s As Long, ByVal wSize As Integer)
capCaptureGetSetup = SendMessage(hWnd, WM_CAP_SET_SEQUENCE_SETUP, wSize, s)
End Function

[Code]...

View 1 Replies

Capture Info In A Window?

Feb 9, 2009

I have a command line app that periodically crashes. When it crashes it does so displaying only 'hit any key to continue' in a command window. My goal if I see that the command window shows 'hit any key to continue', I then restart an associated service and life is good. So I put my google hat on and reveal that I can capture whats going on in a command window. I come up with the following code

Public Function GetAppResults() As String
Dim PSI As New ProcessStartInfo()
Dim P As Process

[code]....

The code works as it should but my application never exits, this apps need to continuously run - so I never can capture whats going on in the command window. Its almost like I need to do a realtime capture of whats going on in that command window. I was thinking that I may want to switch approaches and capture whats going on in the command prompt periodically but that sounds messier and I'm not sure if its possible.

View 1 Replies

Creating A Capture Window?

Jun 24, 2009

i`m trying to create a capture window but when i copy paste the following code from msdn i got this error about hWndC ("Declaration expected"). What`s wrong?

hWndC = capCreateCaptureWindow (
(LPSTR) "My Capture Window", // window name if pop-up
WS_CHILD | WS_VISIBLE, // window style

[Code].....

Basically i`m trying to write a program to use my webcam via visual basic 2008.

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

Using The SetWindowPos To Set A Window To The Front To Capture It?

Feb 28, 2012

I am using the SetWindowPos to set a window to the front to capture it (not a window of my own application). However, this works from time to time & that is what worries me.

My declaration:

[Code]....

This does work, if just, let's say have forms open, but it doesn't when I minimize everything & get to the desktop (with that taskbar button). It also returns 1400 error a lot, even with running as administrator.

View 6 Replies

VS 2010 Video Capture Window?

Feb 12, 2012

was checking out the webcam software by Jarno BurgerSourceFiles:It works perfectly fine as it is, but when I created a new start form and created a button to activate the video window, it doesnt work anymore. A blank screen is displayed instead

View 1 Replies

Capture Active Window Screen Shot?

Mar 20, 2010

I did a search on capturing screen shots in vb.net amd I was wondering if there is a straight forward way to capture the active window? Or do I need to first get the handle of the active window, get the position and size and then capture it? I do not want to use any type of sendkeys method or use the clipboard. I want to save it to jpg format.

View 3 Replies

Capture Application Window Switch By User?

Feb 6, 2009

How to capture when a user switched application windows. Basically what i want to do is for example is when EVER a user works inside Microsoft Word i want the CAP lock to be turned on. When they leave Microsoft word's app window and select a new app the CAPS button would turn off. Then when they return back to Word caps turns back on. I have code I found in another post on how to turn CAPS on, now i just don't now how to automatically capture application switches running all the time. My idea is to create a small app that can be minimized to the system tray then let it run and capture all thE app changes.

View 5 Replies

Capture The URL Of Open Internet Explorer Window?

Aug 19, 2009

I need help to capture the Url of my open internet explorer window.... I need it to go into the URL variable that i have created. Can i do this if so how? Whatever you come up with can you explain it for me as ive only just started and want to understand it.Here is a copy of my code so far:

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Webbrowser1 As Object
Dim URL As String

[code].....

View 17 Replies

Creating A Button Ontop Of A Capture Window?

May 19, 2012

I am trying to create a Button via code to sit ontop of a Capture Window resaving a live image from a WebCam.How do I setup a Capture Window a Parant to a Button?

View 1 Replies

Wpf - Fire A Custom Event From A Child Window Back To Parent Window?

Feb 13, 2012

I am looking to close the application when I click a cancel button in a login page, but I don't want to do it in such a way that Window 2 closes itself, but by sending some notification to Main Window, and Main Window closes the application. Here's the code that I have so far:

(in loginPage)

Public Event CloseApp As EventHandler
Private Sub CancelButton_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles CancelButton.Click

[Code]....

View 1 Replies

Read/capture The Name Of A Control The Mouse Is Hovering Over On Any Window?

Apr 30, 2010

I would like to find out if it is possible to read or capture the name of control the mouse is hovering over on any window. I have tried to research it and maybe using win32 or looking for accessibility info I'd like to be able to have similar functionality in my app as the inspect32 application that Microsoft has at sysinternals that can do this, I want to know if a user hovers over a control (in any window or part of the Windows O.S.) for a while, if longer than a certain time then capture that..

View 10 Replies

.NET Window Capture - Retrive The Littles Thumbnails Windows XP+ Generates When Alt+tab

Apr 7, 2010

I would like to know if the .NET framework gives you a way to retrive the littles thumbnails Windows XP+ generates when you alt+tab. The application I try to make should be able to get a window capture (ALT+PrtScr) of another Window that is not necessary Active and could be partially or completly hidden behind another one. I tried the codes found there [URL] altprintscreen with no success in the case the window I'm trying to capture is not visible.

[Code]....

View 1 Replies

Forms :: Capture Active Window / View And Save Screenshot

Aug 22, 2009

I'm working on a UNO (Msn-based) online gaming tool - you know the card game. It's the second version with more features for UNO fans. I would like to get the screenshot function to work.

It's just as simple as this: The UNO main window
The screenshot viewer shows the screenshot of the active window (which appears by clicking on "Screenshot"): (This form is named as "Screenshot", the Picture Box "myPictureBox")

My question is, which code do I need to bind these functions. I think the pictures are describing this good enough. (The "save screenshot"-button is ToolStripButton1, the button for making screenshot is ToolStripButton10).

View 2 Replies

Capture A Key Outside Of A _Keydown Event?

May 21, 2009

i need to capture a key outside of a _Keydown event.

I need the backspace button (0X08)

View 3 Replies

Capture Event In Another Thread?

May 6, 2012

I'd like to create a WebBrowser for the purpose of taking a screenshot of a website. Once its finished it will update a thumbnail image in a ListView. I'd like the whole operation to be done in the background so the UI remains responsive.I toyed with Creating the WebBrowser in a new thread and calling Navigate. I can use a loop to watch for the ReadyState of the webbrowser before I do the screencapture. However it will only continue with the thread if I use Application.DoEvents in that loop. I've never been a huge fan of doing this and would prefer to watch for an event instead. However if I add a handles clause to the WebBrowser it doesn't fire (I tried creating the WebBrowser in the thread, and also tried by declaring it as shared within the class scope).

View 3 Replies

Capture [Enter] Key Event

Apr 29, 2010

Ok, so this is VERY simple to do IF I was working with a regular Textbox control. But of course, Microsoft does not have an "AcceptsReturn" property for a MaskedTextbox Control.

So, if the user finishes typing in the MaskedTextbox control and hits the [Enter] key.... How do I capture that key stroke with this type of control? Also, what if this MaskedTextbox is on a UserControl, not a regular WindowsForm?

View 14 Replies

How To Capture The Minimize Event

Sep 7, 2009

I have the following code to control how a form is shut down. Specifically, when they click the red x at the top of the form. My question is, how do I control the minimize button at the top of the page. I want my forms to minimize to the information bar instead. I know how to send it there if I can capture the minimize event.

Private Sub xmlTest_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
e.Cancel = True '--- will not close form

[code].....

View 18 Replies

Webbrowser Control - Capture Popup - Site Returns In The Form Of A New Window

Mar 10, 2006

I am using an embedded webbrowser control to access a third-party website, populate the username and password boxes on their front page, and login. The problem I have is that the resulting window that the site returns to me is in the form of a new window. What I want to do is capture this window and all it's session/cookie data in to the original webbrowser control, as even if I direct the original window to the same resulting url, some kind of authentication data is missing and the site tells me I have logged out, even though the popup window works fine. I need that page in the original control so that I can continue to access it programmatically, and I don't really want to get in to the complication of accessing the new window, as I expect I'll have to delve in to the api or something.

View 1 Replies

Capture Event When Value In Datagridview Is Changed?

Apr 2, 2010

I've been searching all over and I'm either not searching for the right words or it just doesn't exist. I've got a datagridview (dgv) on a form with some textboxes that are databound to different fields in the dgv's datasource. I want to capture an event if someone changes a value through one of the databound controls so I can mark the row as modified. I've been going through the dgv events trying to capture something, but I can't find anything that fires when a value is changed. The dgv is read only, so the values can only be changed through the databount textboxes.

How to I know if someone changes a value in the dgv? Is there a setting in the dgv that will tell me if a row is modified?

View 1 Replies

Capture Keypress Event Outside An Application?

Mar 11, 2009

how to capture keypress event outside an application

View 1 Replies

Listening For An Event From One Program And Capture It On Another?

Mar 1, 2010

Listening for an event from one program and capture it on another?is this possible, I'm asuming I would want to send a system wide event so I could capture it.My scenarioLet�s say I have this separate Splash animation (a series of png/bmp etc) but instead of having them in the main program itself I want them separate in a DLL/EXE.So how can I raise an event (probably system wide event I would imagine) letting the Main program know that the Splash DLL/EXE has finished it animation so the main app can continue?

View 9 Replies

VS 2010 Capture A CellRightClick Event?

Jan 1, 2012

I have a DataGridView which currently uses the built-in CellClick and CellDoubleClick events. I want to capture a CellRightClick event also if that is possible?

View 2 Replies

Allow The Child To Add A Handler To Capture The Parents Event

Dec 8, 2011

I know generally it is not the best solution for a child to handle an event of parent. Take this for example; Mainform loads UserControlOne, UserControlOne handles all UserControlOne needs to. How ever we need a MenuStrip/ToolStrip. MainForm does not need to know much about what UserControlOne is doing. Other then receive some information on a statusbar. Right now events are controlling this.

The menustrip/toolstrip need to be able to speak to UserControlOne, for example when buttons are clicked on the strips. Would you; Allow the child to add a handler to capture the parents event? Move the MenuStrip/ToolStrip/StatusStrip all to UserControlOne so we can ignore all this event hassle? My Major concern with this is now we have taken all the head ache away from MainForm and crushed it into UserControlOne. Any suggestions?

View 4 Replies

Capture Decimal Value In Datagridview Keypress Event

Jan 18, 2011

i am using the following logic to capture the keypress event in a dataGridView so that I can edit numeric cells but cannot capture decimal value in my code i cannot pass the digit.

[Code]...

View 3 Replies







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