Monitoring Programs Starting?
Dec 26, 2009
I am trying to create a windows service that sits in the background waiting for programs to be started. When the programs start I want to be able to check a unique bit of information for each program (I believe GUIDs may provide this) to see what the program is. If the program is not allowed, I aim to provide a warning to the user and possibly close the program. The aim of the application is to identify when users are attempting to install additional software on to the computer so simply monitoring for a certain executable wouldn't work as msiexec is called for all MSI's and as I only want to stop blacklisted programs...this wouldnt work
View 1 Replies
ADVERTISEMENT
Jan 14, 2009
First of all, Hi to everyone, I'm new here..I'm currently investigating a way of doing the following and seem to be coming up with dead-ends!I am trying to create a windows service that sits in the background waiting for programs to be started. When the programs start I want to be able to check a unique bit of information for each program (I believe GUIDs may provide this) to see what the program is. If the program is not allowed, I aim to provide a warning to the user and possibly close the program. The aim of the application is to identify when users are attempting to install additional software on to the computer so simply monitoring for a certain executable wouldn't work as msiexec is called for all MSI's and as I only want to stop blacklisted programs...this wouldnt work.
View 14 Replies
Nov 8, 2011
I'm working on a web application called AssetCenter. I have 2 projects, one of them is the application (ACWEBNET) and the other is the web service (IMACWEBSVCS) that contains service related information.
[Code]...
View 2 Replies
Jan 14, 2009
I am trying to create a windows service that sits in the background waiting for programs to be started. When the programs start I want to be able to check a unique bit of information for each program (I believe GUIDs may provide this) to see what the program is. If the program is not allowed, I aim to provide a warning to the user and possibly close the program. The aim of the application is to identify when users are attempting to install additional software on to the computer so simply monitoring for a certain executable wouldn't work as msiexec is called for all MSI's and as I only want to stop blacklisted programs...this wouldn't work.
View 4 Replies
May 11, 2010
well I want it to look like this: [Textbox] [Browse] [Start] So you click browse, find the exe file, click ok(or something like that) and then click start I also want to make it so it saves the location of the last exe file it started, so you dont have to browse for it every time you use the program.
View 2 Replies
May 27, 2011
I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).
View 4 Replies
Feb 2, 2010
I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..
View 1 Replies
Feb 23, 2009
When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.
Sorry for not explaining it very well the first time.
View 2 Replies
May 21, 2010
<!-- [if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent>[code].....
I am a beginner in network programming with VB 6, I am a beginner in network programming with VB 6,I wanted to ask is how the VB 6 source code to know the bandwidth usage of each client in an Internet cafe, we as a server at the cafe, suppose that we had five clients that are connected directly to server, on the server so we know the bandwidth usage of the clients.
View 4 Replies
Apr 3, 2009
I want to make CPU and RAM Monitoring tool in Vb. But I have no idea and knowledge about this.I can make a GUI for this but I don't know how to implement this.If you have some experience please tell me what references I have to use and what are the functions which will give current status of CPU and RAM. and also guide me how to present this information in the form of continuous graph and progress bar.I shall be thank full to all participants. If you have no experience please refer me some expert sites and groups on internet. I will try to contact them.
View 2 Replies
Aug 7, 2009
The below code (VB 2008) will check the print queue every milisecond for a job. It will then show the pagecount in a text box. It works great when im printing to a local printer, but As soon as I change my pc default printer to a network printer, I cant capture any data.
View 1 Replies
Dec 16, 2009
I want to create a bandwidth meter for Windows using vb.net, but I cannot seem to find anything in the .net framework for monitoring the amount of data in or out. I want to create this because I cannot find a good one for free, and I think it is something that people might want.If there is nothing in the .net framework for monitoring this, is there some P/Invoke calls I can make? If so, what are they?
View 6 Replies
Dec 25, 2010
I start an external Program using System.Diagnostics.Process.Start I want monitoring when a user has started a new file, saves or opens another file and get the info of the file in current process
View 1 Replies
Mar 22, 2009
I am dynamically adding values to list with each pass of a timer and after each pass I'd like to check if the last five elements in the list have similar values. After some time, the values should start to become constant. In other words, it would plateau.I tried to do this. Made sense to me (newbie) but I am getting errors like the bounds of the array are exceeded:[code]The list definitely works and is getting data from X. I thought I needed to ReDim the array but then I'm told ReDim statement requires an array. (ReDim platArray(Number-1)). By the way I'm using VB2008..
View 4 Replies
May 21, 2010
We recently have one problem started where we have two processes monitor the same queue, but the diff b/w both is, one does the PEEK only and the other process it as soon as the message arrives (event driven). Do you think that pointing these 2 processes to the same que cause any problems OR are there something special sync things we need to do?
View 6 Replies
Jun 19, 2009
I have a SqlConnection global variable in my proyect that it is always open (I wouldn't like to start a discussion about keep the connection open all the time or close it everytime a transaccion is executed).
This variable is sent to every class I need to execute a function or method. Instead of checking the connection in every single operation, is there any way to monitor the connection state in a centralized way ?
View 3 Replies
May 13, 2011
I was hoping to be able to monitor webbrowser1.documentcomplete which is being used in form1....but be monitoring it from form2.So basically I was hoping to run a form1.webbrowser1.documentcomplete in form2.If not does anyone have any suggestions? I currently am doing it with timers and it is just not working properly.
View 4 Replies
Feb 2, 2010
I am engaged in a project to alert Paper out status of printer in screen on top of all other windows. I am new to VB programming... I tried the codes given in Microsoft Support. But it gives many errors as I'm using Visual Basic 2008 Express Edition.[url]......
View 1 Replies
Feb 28, 2010
build a program for monitoring specific folder for example : C:MyFolder
i want the program check the bove folder and give me information about the following:
Files with date modified 'current day'
The number of files with date current day
The size for that files
Send that information by e-mail
View 13 Replies
Apr 6, 2009
I am making my project for this semester. I am making "System monitoring Tool" so i have make a GUI and also get the all parameters but one thing missing I have tried to find from different places but not found that is the "continues line" that represents the changing values of CPU usage along time. same like "windows task manager" shows.
View 5 Replies
Mar 11, 2010
I am writing a fairly simple web site monitoring app. It uses a timer to call a class that requests a web page and measures the response. Problem is that the third time the class is called the app hangs. looking at the locals box I see that the properties of the httpURL object are 'Property Evaluation Failed' .
Imports System.Net
Imports System.Net.Sockets
Public Class Form1
[Code]......
View 2 Replies
Apr 25, 2010
I'd like to be able to log to the console every time an event is fired either in the object I've instantiated or in anything it's instantiated [ad infinitum]. I wouldn't see some of these events normally due to them being consumed further down the chain). Ideally I would be able to log all public and private events but if only public are possible, I can live with that.
I've Googled and all I can find is how to monitor a directory - So I'm not sure if this is not possible or simply has a name that I don't know.
The sort of information I'm after is similar to what's found in an exception - Target Site, Source, Stack Trace, etc...
Could I perhaps do this through reflection somehow?
To Give you an idea of the console App:
Sub Main()
Container = ContainerGenerate.GenerateContainer()
Dim TemplateID As New Guid("5959b961-b347-46bc-b1b6-cba311304f43")
[Code]....
View 2 Replies
Mar 30, 2010
FileSystemWatcher quits monitoring during execution?
View 1 Replies
Feb 15, 2012
just a newbie programmer here. With 1 week experience in VB2008. I'd like to ask for assistance on making one of these inventory systems concepts. I hear its one of the basic programs a newbie can make. This will be made for students financial monitoring. Like how much they should pay in an event. Of course will be needing to input student names and event names.
So I'd like to ask could you give me tips on what to do first?*Set aside the database stuff first.
Like the main window, or a sample of a form to which I could encode and update entry payments for students.Am not asking for codes here just samples of forms or softwares I could get some ideas.
View 4 Replies
Jun 6, 2010
I'm sorry if this is in the wrong section but I don't know where else to post.I am new to vb.net and would like to tackle it head on.I would like to know how to make a network moitoring tool thatwould check who is on the network. I cant find any tutorials.
View 2 Replies
Mar 10, 2011
I put together a small app I want to use on my local network for service monitoring across a few of my servers.
I'm using vb.net express 2010 with system.serviceprocess imported The problem I am having is that my code only seems to work locally, and will not retrieve the service data for any server on my network.
For example, my local machine is called "office-pc", and when running the app on it, I get all the service information.
Dim localServices As ServiceController() = ServiceController.GetServices("office-pc")
For Each localservice As ServiceController In localServices
ComboBox1.Items.Add(localservice.DisplayName)
Next
But, if I want the service info from my web server called "casper", I use the same code, but i change the GetServices() parameter like so;
Dim localServices As ServiceController() = ServiceController.GetServices("casper")
For Each localservice As ServiceController In localServices
ComboBox2.Items.Add(localservice.DisplayName)
Next
After a few seconds delay, nothing happens, ComboBox2 remains empty.
It was my understanding that GetServices() would get the local machines service info unless a machine name was specified, which in both cases is true.
So why isn't it working? Do I need to set something up on the network servers first?
View 8 Replies
Sep 2, 2011
how to catch faxing errors (outbound) using VB.NET.I am using this reference: MSDN Basically, the issue is that SBS2008 Event Log does not give the same amount of information that Windows XP did, so the users are being forced to look in the text activity log. Am I forced to loop through the log for new items, or can I actually catch errors as they come?My ultimate goal is to send an email report with the erroneous fax information (destination#, error reason, code, body or attachment).So essentially I need to figure out how to catch fax errors as they arise, by listening (this will be a VB.NET console app), and then I can take it from there.
Private Sub GetOutgoingArchiveMessages()
Dim objFaxServer As New FAXCOMEXLib.FaxServer
Dim vMessages As FAXCOMEXLib.FaxOutgoingMessageIterator
[code]....
This is what I am using to get the outgoing archive messages, but I either need to reliably get an error when it happens there, or get one on demand. I would much rather just poll the fax service for the information if I can.
View 7 Replies
Aug 2, 2011
I have a job in my sql server which will execute every second and insert some data for me in my table. Now, I need to do vb.net application to check whether checkouttime column in that table got data or not and if there is data then I need to get the id of that row.
How can I monitor my table's data to check whether that column got data or not.
View 7 Replies
Jan 4, 2010
I am trying to make an app that launches a window(Form Window) whenever a user click a folder in Windows. My app will be running in the background all the time and it will be monitoring the double click of a particular folder.
I have found this[URl]..But the problem is that, it checks attributes of the folder instead of the double click.
Is there anyway i can check the double click of a folder in Windows?
View 1 Replies
May 10, 2010
My program needs to monitor two folders and if any files arrives in any of those it needs to be processed.So i created two filewatch tasks & the OnChanged event for both This does not work when the files are already in the folders before i start to run my program.It works for just the new files coming in.having a for each loop files loop in the onChanged event will this work I would like to know what's the best way to achieve this
View 1 Replies