VS 2010 Application For Tracking Program Usage?

Jun 20, 2012

Is it possible to create an application with vb.net to track a users usage of Excel, Word and another application called lets say - Userapp.exe

At work we have been asked to create a diary of our days work and since most of my work is in excel, word and a custom application I have built, I was wondering if it was possible to track the usage of these programs store the data in a datatable and then save it to a access db.

Usage of the program would mean the time that the file is open on the screen, that way the time a program is open but minimised in the taskbar would not be counted.

The data table would have these headings -

1. Program (i.e excel, word etc.)
2. Name of File used
3. Time used in program

Could I use the windows task manager for this?

View 1 Replies


ADVERTISEMENT

Tracking Application Path

Aug 16, 2009

how can i track Application Path i know how to do it in VB6 but in .Net can some one give me an Example.

View 5 Replies

Creating Sales Tracking Program

Mar 19, 2009

I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, a combined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow. [code]

View 1 Replies

Creating Sales Tracking Program?

Dec 19, 2009

I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, acombined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow.

Public Class MailOrder
Private product1 As Decimal = 2.98 ' product number 1
Private product2 As Decimal = 4.5 ' product number 2

[code]....

View 3 Replies

Product Tracking Sheet Program?

Mar 26, 2012

I made this thread a discussion thread instead of a question thread because I would like hear opinions on how I should do this best. Right now, what I am wanting to do is done with macros inside of microsoft excel spreadsheet and I think a program that is easier to control and perform updates and that did the same thing might be simpler for the end-user and for me. The Excel sheet works fine for right now but editing the macros when a change needs to be made is a pain.

I would like to have a VB program where a user will scan in a serial number and a tester number and then that information will be stored in a sheet, like excel or pdf or something, and then when that sheet reaches the limit of parts that should be on a certain sheet, save the sheet to a specific folder and then print the sheet out.

I will do a step by step breakdown to make it a little more clear what I am trying to do.

Step 1: User determines what kind of part is being scanned (Type 1, Type 2, Type 3, Type 4)

Step 2: User scans the barcode on the part. That data is entered into a sheet as well as the date and time when the part was scanned.Step 3: User then scans a barcode telling the program what station the part come from (Station 1, Station 2, Station 3, Station 4). Then the sheet is saved and waits on another part to be scanned, going back to Step 2.

Step 4: When the sheet meets the maximum allowed parts per sheet, determined by what part is being scanned, the sheet is saved into a folder and the prints itself out.I'm not necessarily looking for code for this idea but more of a 'Well, I would do it like this.." type thing.

View 2 Replies

Communicate With Gprs Tracking Device Through Application?

Mar 11, 2010

I have a tracking device CT-04 car tracker that i am trying to integrate with my vb.net desktop application. I have the protocol from the manufacturer (redview) that contains the commands to send to the tracker unit and from tracker to the server. My application is in vb.net .

I wanted to know how i can send the commands from my vb application i.e can i still use vb.net to send these commands to the tracker through gprs?

what do i require in terms of hardware and software from my side in order to send these commands through gprs (not SMS ) to the tracker unit and to receive data from the unit.

View 4 Replies

Database Application: Tracking And Responding To Changes In The Data?

Feb 2, 2012

I'm using VB 2010 Express with a local Access DB. On the form I have a DataSet, a TableAdapter, a BindingSource that points to the DataSet (and the DataMember is the same table as the TableAdapter), a BindingNavigator that points to the BindingSource and finally a DataGridView that points to the BindingSource also.

I have added a Save button to the BindingNavigator. I want to enable / disable the Save button depending on whether there are changes in the data to send back to the Access DB. I think this is the code, but I am not sure if I'm really doing what I think I am (i.e. I am concerned I will assume something turns out to be wrong) or if there are better ways.

I am also uncertain what event to use to respond to. I have guessed at CellLeave, but I could be wrong and there might be much better choices. Finally I've been told that it's different if it's a DataTable, but I do not know enough to determine when something is a DataTable?

Private Sub CompClass_DataGridView_CellLeave(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles CompClass_DataGridView.CellEnter
Me.BindingNavigatorSaveItem.Enabled = Me.Component_MI_DataSet.HasChanges
End Sub

View 7 Replies

Program Two Different Timers As To Keep Tracking The Responses In Miliseconds?

Nov 28, 2009

I have two Buttons, button A and button B. After 100 clicks on button A a pictures is displayed and after 10 clicks on button B another picture is displayed. I wanna have two different timers as to timing each response (button a or button B respectively) without these two timers to be timing both these responses. I try to do this for over one month!

View 1 Replies

Webcam Capture Program - Object Tracking

May 7, 2012

I am making a webcam capture program in vb.net to scan qr codes. I found some examples that show tracking a certain color, but that wont work because the qr codes have different colors. some are red, blue, purple, black, and green. I am using the touchless sdk to capture the video. How would I go about tracking the person's hand holding a 1"x1" cube? I am trying to reduce the "background noise" that the scanner has to try to read through.

View 1 Replies

VS 2010 Tracking Process With Progress Bar?

Mar 10, 2012

how can i track my process:

Dim psi As New ProcessStartInfo("cmd.exe", "/c attrib -h -r -s /s /d " & ComboBox1.Text & ":*.*")
p.StartInfo = psi
p.Start()

[code].....

View 3 Replies

VS 2010 Tracking Seats In An Auditorium

Mar 1, 2012

I am creating a program to manage seats in an auditorium. The person who will be using this program will need to be able to use the program to print tickets, mark seats as broken, or clear a seat.My thoughts have been of using checkboxes and saving the stuff in the My.Settings. There has to be an alternative to putting 450 checkboxes in, Labeling them, naming them, and so on and so forth. I started putting them in the program seen below:And then I remember of course, I need it to be able to do multiple days. So suddenly things get really hard.

View 1 Replies

VS 2010 - Tracking How Much Money To Save To Have Required Amount

Feb 21, 2011

I am trying to create a program to track how much money you earn until you have the amount you have been saving for.

View 2 Replies

C# Usage In COM Heavy Application?

Feb 23, 2010

I would like to use C# for an application I'm building, but the application makes heavy use of automation (i.e. Excel, Word).

Is it feasible to use C# for such an application? It used to be a nightmare to use C type languages for things like parameter lists with null arguments etc..?

View 2 Replies

Get The CPU Usage Of Application With A PerformanceCounter?

Oct 12, 2011

How Do I get the CPU usage of my application with a PerformanceCounter?

View 3 Replies

Maintain Usage Log For An Application?

Oct 13, 2010

Well there are several ways that you can implement such a log. You could write to a text file or XML file...or you could use the Windows Event log.

What do you envision using for logging purposes?

View 1 Replies

Calculate The Amount Of CPU Usage Application Uses?

Aug 22, 2010

I'm trying to calculate the amount of CPU usage my application uses.

My code.

Try
Dim CPU As Integer = CDec(PerformanceCounter2.NextValue.ToString)
Label44.Text = CPU & "%"

[Code]...

The problem is that sometimes it says it uses more 115% hmmm.... That's when i was for sure that its lying to me.

View 5 Replies

Maximum Threads Usage In A Program

Jan 27, 2010

Maximum threads usage in a program

View 4 Replies

Save Settings During Program Usage

Oct 27, 2010

I have created a bunch of user settings using my.settings.*** and only save these upon form_closing for the time being.I wanted to save the settings every 30 or so seconds, so I created a timer with 30 second tick intervals. Inside the tick event of that timer I included the code that I had in the form_closing event.While it works to save the settings, it also 'freezes' or 'skips' the main program for about a second or 2 while it's saving. The code to save settings includes looping through at least 2 arrays and adding them to the settings specialcollection object one item at a time.Is there a better way to accomplish this, without 'locking' up the main form for a second or so? Is it feasible to loop through all the settings in a different thread (can you access settings cross-thread)?

View 1 Replies

.net - Memory Usage In WPF Application - How To Track And Manage

Feb 12, 2012

I have a small-scale WPF application using VB.net as the code behind and I want to add certain features, but i'm concerned about performance.

1) My app interacts with a third party database to display "realtime" data to the user. My proposed method is to create a background worker to query a database every 30 seconds and display the data. I query about 2,000 records all long integer type, store them in a dataset, and then use LINQ to create subsets of observable collections which the WPF controls are bound to.

Is this too intensive? how much memory am i using for 2,000 records of long int? Is the background worker querying every 30 seconds too taxing? will it crash eventually? Will it interfere with the users other daily work (excel, email, etc)?

2) If an application is constantly reading/writing from text files can that somehow be a detriment to the user if they are doing day to day work? I want the app to read/write text files, but I don't want it to somehow interfere with something else the person is doing since this app will be more of a "run in the background check it when I need to" app.

3) Is there a way to quantify how taxing a certain block of code, variable storage, or data storage will be to the end user? What is acceptable?

4) I have several list(of t) that I use as "global" lists where I can hit them from any window in my application to display data. Is there a way to quantify how much memory these lists take up? The lists range from lists of integers to lists of variables with dozens of properties. Can I somehow quantify how taxing this is on the app or the end user?

View 2 Replies

Find Cpu Usage Information Through Net-snmp Using .net Application?

Jun 22, 2010

how to find cpu usage information through net-snmp using .net application.

View 1 Replies

Write An Application That Monitors Internet Usage?

Mar 11, 2010

I am trying to write an application that monitors internet usage. So it sort of needs to act like a firewall/proxy, recording each site the computer goes to. It will record all these sites in a log file. Using a proxy server on the network is not an option, each computer running this software needs to be self sufficient. Do you have any suggestions on what to use for this project?

View 1 Replies

Size Of The Class Affect The Memory Usage Of The Application?

Jan 27, 2010

Does a the size of the class affect the memory usage of the application? is it better to break big classes into smaller classes or just group them up into one big class.

View 2 Replies

Reducing Memory Usage When Storing Data In A Program - C#

Apr 18, 2012

I have an ArrayList that stores 100,000+ numbers inside of it. Each number is 10 digits in length or smaller. The program itself has data input into it, of which it loops through the user input to see if any of their numbers are already in the array using if ArrayList.Contains(userinput).

It would appear that when having an ArrayList of this size a LOT of memory is being used. Would there be a faster way to run this, E.g. Database or If TextFile.Contains(Line)?

View 3 Replies

VB 2010 Displaying RAM Usage?

Jan 18, 2012

All I am looking to do is display the current RAM usage being used in a textbox, nothing more nothing less. I will encorperate it into a timer and update automatically, how do I do this ?

View 8 Replies

VS 2010 Get CPU Usage For Specific Process?

Nov 8, 2010

How can I get the CPU usage for an individual, specific process? I know how to get the total CPU usage, but not for 1 process. What I ultimately want to do is list all the processes whos cpu usage is greater than zero.

View 1 Replies

VS 2010 Make PictureBox Usage?

Jan 17, 2012

I used 4 seperate pictureboxes to load in each picture. Then I click the option to select X picture, which works. However, if I click another option, the Y picture doesn't load.I tried with:

pBox1.Visible = False
pBox2.Visible = False
pBox3.Visible = False

[code].....

View 3 Replies

Visual Studio Console Application In Debug Mode Consumes 50 Percent Cpu Usage

Oct 13, 2009

I have a several C# console applications that basically parse tons of data in memory (LINQ) and output the results to a text file. Now, forget about the writing to the text file for a minute because this is not where the problem is occurring.

When I run the application in debug mode, I will never get it to utilize more than 50% of cpu usage. It will be parsing/massaging hundreds of thousands of records, but only go X fast and utilize 50% of the cpu AT MOST (as viewed in the Task Manager).

I would really like to use 100% of the CPU to make the processing go faster. Does anybody have any insight? I am running Windows XP Professional with Service Pack 3. I have Visual Studio 2008 Professional with Service Pack 1 installed. I have manually set the affinity of the process in Task Manager to a single core on the dual CPU. Sometimes I can catch it utilizing 51% or 52% of the CPU.

View 5 Replies

VS 2010 Memory Reading / Offset Usage?

Sep 1, 2010

I saw some 'offsets' such as: 0x006E71A0and some that were like, Game.dll+8E336CI'd more so think the 0x006E71A0 and the Game.dll+8E336C are among the same format, so i'd like to use that.I have also read somewhere(this could be wrong) that the memory addresses formats are different between VB, C#, and C++.

View 2 Replies

VS 2010 Speeding Up For Next Loops With BackGroundWorker Usage?

Jan 19, 2012

I've wrote this code to accomplish what the image below looks like. This works fine for anything that is around 40x40 but if I try to do 100x100 it takes forever and sometimes errors out with a window handle error. Once it gets around the 40th column the labels start adding slower and slower. Is there anything I can do to make this more efficient? I added the backgroundworker routine in there to see if it would speed things up at all but it doesn't.

vb.net
Private Sub CreateGrid(ByVal rows As Integer, ByVal ranges As Integer)
If Me.InvokeRequired Then

[code]....

View 5 Replies

Get The Current Number Of Usage Days, Unique Usage Days, Etc In An Evaluation License Using CryptoLicensing Generator?

Jan 25, 2010

Get the current number of usage days, unique usage days, etc in an evaluation license using CryptoLicensing Generator.

View 1 Replies







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