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
ADVERTISEMENT
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
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
Jul 14, 2011
i have a Windows service that is hosting a WCF service through net.tcp and this is working great. I have also created a WCF service application. I am trying to add the net.tcp service reference to the service application. Then I add it to the GAC that goes ok but if I try to RegAsm the WCF service application to allow it to be called from Server.CreateObject I get the error:
Warning: Type library exporter encountered a type that derives from a
generic class and is not marked as
[ClassInterface(ClassInterfaceType.None)]. Class interfaces cannot be
exposed for such types. Consider marking the type with
[ClassInterface(ClassInterfaceType.None)] and exposing an explicit
interface as the default interface to COM using the
ComDefaultInterface attribute.
It does not work. I have tried to call it through a class library but this does not work either as the end point is not set correctly.
View 1 Replies
Oct 27, 2009
I have a console application where I successfully have added custom menu item in the application's system menu using the Windows API calls. How do I hook into the events to capture the event raised when the user clicks on one of these menus? All my Google results talks about overriding the WndProc method, but this doesn't exist in a console application.
View 3 Replies
Feb 28, 2012
What is the code in creating a program that enables the built in web camera of the laptop when an intruder input a wrong password in the windows logon screen?
View 1 Replies
Aug 2, 2011
I have created an application with 3 terminal windows for capturing data from 3 serial ports and outputting the data to a file. It seems to work well with one serial port, but when I fire all 3 serial ports at once, the application hangs. Here is the portion of the code that I believe is the problem. The code below is for Serial Port A. I have the same code for Serial Port B and Serial Port C
Private Sub ASerialPort_OnComm() Handles ASerialPort.OnComm
ReceiveBufferA.Append(ASerialPort.InputString)
Me.BeginInvoke(New EventHandler(AddressOf ReceivedTextA))
[code].....
View 3 Replies
Jul 23, 2009
I am trying to communicate with a Windows service on a remote machine on the network but i keep getting an exception saying the following: "System.InvalidOperationException: Cannot open Service Control Manager on computer 'machine001'. This operation might require other priviledges. ---> System.ComponentModel.Win32Exception: Access is denied.
[Code]...
View 4 Replies
Sep 18, 2009
Is it possible to have a dotnet windows service which monitor other services and upon stop of any service, the monitoring service would be able to start the stopped service.
View 4 Replies
Jul 7, 2009
In the past I had the indexing service installed on a Windows Server 2003 and used it to index files for my website. I did this by executing an OleDbCommand with a query and a connection string.How do I accomplish the same thing with the new "Windows Search Service" (Windows Server 2008) by using VB.NET? Does this work the same way so that I only need to change the Provider name which has been "MSIDXS.1" up to now? Case true, what is the new Provider name?
View 1 Replies
May 3, 2011
When you create a Windows Service, you create a list of the services you want to start. The default is this:
ServicesToRun = New System.ServiceProcess.ServiceBase() {New Service}
Can you have multiple instances of the same Service class (that bind to different addresses or ports), like this?
ServicesToRun = New System.ServiceProcess.ServiceBase() {New Service("Option1"), New Service("Option2")}
Or will that cause problems? Should we use two different classes instead?
View 1 Replies
Mar 3, 2009
We have a server with multiple services written in .Net 1.1 and 3.5 running on a Win 2003 server. Everything runs fine, but when we stop a certain service, an unrelated service stops. I have checked and neither has any dependencies. The service we stop is in 3.5, and the unrelated service that incorrectly stops is in 1.1. We get no error messages, nor event log errors, so we are baffled.Does anyone have an idea as to what may be causing this?
View 7 Replies
Nov 17, 2011
I am using this method to install windows service
processInstaller = New ServiceProcessInstaller()
serviceInstaller1 = New ServiceInstaller()
serviceInstaller2 = New ServiceInstaller()[code].....
How can I get the account name after whenever the service is started ?
View 2 Replies
Jun 25, 2009
I am using a windows service and tried to copy some file as below,System.IO.File.Copy("Z:abc.txt", "C:helloworld.txt")Note: Z: is a map drive from another host in 1 LAN (same LAN)I got error, "Could not find a part of the path 'Z:abc.txt'."But when I tried it at a simple application using windows application, it works with the same code as above.
View 8 Replies
Jul 14, 2005
Tried to write my first Windoes Service yesterday with a certain degree of success but I couldnt install it.Upon running teh Install programme in the command line I was presented with a 'Set Service Login' window with a User ID, Password and Confirm Password text box.I attempted to use my windows login credentials but the install failed and was rolled back.Im using a computer on a company network with Win2k?
View 6 Replies
Mar 10, 2009
I've created a windows service and started a deployment project for it. I have the project installer class in the service project and I've added the "Standard output etc.." from the service project as custom actions for the Deployment Project. When I attempt to install it, I get the error "Specified service already exists", which shouldn't happen (even though the service does exist) because the installer should be removing the old service and installing the new one.
I've checked that the versions are different, and that the Product Code is also different, also RemovePreviousVersions is set to true. Can anyone tell me why it isn't uninstalling my old service when I update then install again? .S: MODS: DO NOT MARK MY POST AS ANSWERED, IT IS RUDE, YOU HAVE NO IDEA IF YOU'VE ANSWERED MY QUESTION!Sorry, it gets ignored in my signature.Mods
View 8 Replies
Mar 12, 2010
I have a .net Windows Service developed in VB.net. I have a settings file in the root directory called Connections.XML and I am setting the basedirectory [code]...
When I schedule the service this is working absolutely fine in my Windows XP machine. But when I installed the same service in our development server (Windows 2003 64 bit Server) for some reason it is not able to locate this file.
View 1 Replies
May 3, 2012
It is possible to create windows service using windows form control in vb.net. give me the url or links. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 1 Replies
Jan 19, 2010
I'm porting code that I wrote for use in a Windows Forms application to a Windows Service, but for some reason, the code that worked in the Windows Forms application is now throwing errors in the Service
View 7 Replies
May 3, 2012
It is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.
View 1 Replies
Aug 2, 2011
I have developed a Windows Service in VB.Net (VS2010) which is running on Windows7. I am trying to get "MainWindowTitle" for processes thru their process object but it returns empty.
[Code]...
View 3 Replies
Jan 31, 2009
I'm writing a windows service (MacTimeFix.exe) to fix the Windows time on a Macintosh (it's like this: i live in Moscow (GMT+03:00), and Mac OS thinks that the system time is GMT+00:00 and adds 03:00 to it< and Windows thinks that system time is the local time).I need to execute my code when my VB app is closed. (it happens with the shutdown of Windows) The form is invisible (hidden), and the user mustn't click anything except windws shutdown button. It is a service. When i write a Form1_FormClosing sub, it works only on Alt+F4 or CloseButton and doesn't work when the app is stopped from Windows Task Manager or whatever also.I need a way to execute sub when app is closed with taskkill (without /force) or a way to execute a several app on Winshutdown.
Here is my code:
Public Class Form1
Dim SystemMary As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
SystemMary = Mid(TimeString, 1, 2)
[code].....
View 3 Replies
May 3, 2012
It is possible to create windows service using windows form control in vb.net. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 2 Replies
May 18, 2012
I'm printing pdf files via the below code in a service. In Windows 7 this works really well, In Windows Vista, nothing happens at all? What am I doing wrong?
[Code]...
View 3 Replies
Aug 5, 2010
I am working on a .NET Windows Service where I am trying to store settings that will be used when the service is started and while it is running. I have searched through posts on SO and found that using the Settings in the properties of the project is great for use with console and winforms applications. However, Google and SO are silent when it pertains to storing these settings with a windows service.
View 4 Replies
May 5, 2010
Is there a way in which I could invoke a windows form from a particular windows service....??
Have created a windows service, installed it and everything is working fine... Now I want to design another windows form that I would call from the service while running it I know that with the help of ServiceController class we could interact with windows service from a windows application but am not sure of the other way round implementation....
View 23 Replies
Aug 30, 2011
Is there a way to basically merge a Windows Forms Application with a Windows Service Application and allow the passing of parameters on start up to determine if it should start the standard GUI or launch as a system service
View 4 Replies
Sep 21, 2010
How do i run program as windows service or by windows service.
For example :
run notpad.exe by windows service and user cant terminate it.
View 1 Replies
Feb 17, 2009
is it possible to take and run vb.net windows application setup as windows service...if possible means how to take and run vb.net windows application setup as windows service....is it possible to run the vb.net windows application setup automatically 5 mins once....if possible means...how to run vb.net windows application setup automatically...want to run 5 minutes once automatically..
View 2 Replies
Sep 7, 2008
Windows Service launching a Windows application?
View 3 Replies