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
ADVERTISEMENT
Feb 11, 2010
I am trying to write a small application that simply monitors my web site watching for specific hyperlink text to appear. I have been searching around and trying different approaches for a few days and have to accept defeat on this.Basically I need to be able to type in part of a hyperlink or the actual text of the hyperlink into a textbox to be watched for. When it is seen it opens the link in a new window.
Dim theElementCollection As HtmlElementCollection
theElementCollection = WebBrowser1.Document.GetElementsByTagName("a")
For Each curElement As HtmlElement In theElementCollection
[code]....
View 1 Replies
Aug 11, 2009
I have build custome windows in my application with cust contorl box on the top right corner. Minimimize, maximaize and close button are made by me.
I want to make another button beside that one which will control displaing of windows in multiple monitors environment. So, cllick on that button will list monitors and I send that window to second monitor.
View 2 Replies
Jan 3, 2011
I am trying to force a download of an XML file when the user visits a page.This is the code I am using
public partial class GenerateTemplate : LayoutsPageBase
{
protected void Page_Load(object sender, EventArgs e)
{
[code]....
I am facing a problem that my download window hangs indefinitely, without ever completing the download/Open of the file.
View 4 Replies
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
Oct 12, 2011
How Do I get the CPU usage of my application with a PerformanceCounter?
View 3 Replies
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
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
Mar 3, 2010
I want some of you tell me how to write code control internet shop using vb.net
View 1 Replies
May 4, 2011
I am developing an application that Monitors a specific folder for file changes such as modify deletion, update, etc. The only problem I have is , the application doesn't fire up File events.
Here is the code:
Imports System.IO
Imports System.Diagnostics
Public Class Form1
[CODE].............................
View 8 Replies
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
Jun 22, 2010
how to find cpu usage information through net-snmp using .net application.
View 1 Replies
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
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
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
Jan 25, 2010
Get the current number of usage days, unique usage days, etc in an evaluation license using CryptoLicensing Generator.
View 1 Replies
Dec 22, 2011
Is there a way in VS2010 to monitor net usage, and calculate the current/total download and upload while my application is running?
View 9 Replies
Apr 17, 2009
I have a problem I have a project that needs to have a communication of asp .net to vb .net my project is i want to access or control(like a remote control) the vb .net application(server) using asp .net(client side) asp .net is like a remote control and the vb .net is the application that needs to control i need to use internet to do that.
View 1 Replies
Sep 16, 2011
I'm trying to make online chat..I saw 2 P2P tutorials:url...both are great tutorials, but they work in LAN only with addresses and ports given.if anybody knows which port and address could I use with this ideas and go to internet.
View 2 Replies
Jun 3, 2011
I have an application that will take in specific details from the customer and generate a URL address with query string items.I need to open up an internet window that will navigate to that URL?
View 1 Replies
Jun 23, 2011
I have an application that will take in specific details from the customer and generate a URL address with query string items.
View 5 Replies
Apr 18, 2010
i have a Developer. have devloped application in vb.net. Now my customer says he wants to run that application in internet explorer so that can meet lots of customers for him. how can i run vb.net application in internet explorer?
View 1 Replies
May 1, 2009
is there a way I can proxify my application's connection to the internet??
I want it to be able to select a random proxy from a list of proxy IP address in a text file.
View 1 Replies
Jan 10, 2012
I need my application to check for internet connectivity on my user's computer. If there is, an image is displayed and if there isn't, a different image is displayed. Here's the code I used to get this to work:
Private Sub Window_Loaded(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded
If NetworkInformation.NetworkInterface.GetIsNetworkAvailable Then
Dim bi1 As New BitmapImage
[code]....
I decided to test this on my own computer by changing my default gateway (thereby making it seem as if I lost connection). But I realized that the code still showed that I was connected. So I'm thinking that it's only checking for connectivity of the interface - which in this case, is my connection to the router (which is true, I was connected to the router).How do I check that the user's PC is actually connected to the internet? I read the article Check for Internet connectivity but it's in C# and I don't understand that.
View 1 Replies
Jul 17, 2009
Is there a quick and easy way to get internet time/date to use in a net application?
I need it for creating a 15 day trial application, if i use local time/day user can simply change date before install and revert after. Using internet time i can simply add 15 days to it. VB.NET to C#
[URL]
View 2 Replies
Aug 16, 2009
i'm developing a vb application and am intending to offer the functionality of that application on the internet as a service , how do i do that?
View 5 Replies
Jun 11, 2010
how to properly publish my application to the Internet, so that i can upload the new version, and upon opening, the application will replace the existing one with the new version?
My.Settings("Notepad") = TextBox2.Text
My.Settings("Notepad") = TextBox2.Text
When i run the application, that pops up in yellow with an error message, how do i fix it. I'm looking at creating an IRC client that's embedded in my application. If you are able to create it even, you will be given credits, and are able to do whatever you like with it (I'll be determining its size and positioning inside my App of course) You need to be able to CHOOSE your Channel.. the client will be connecting to the Swiftkit IRC server.
View 2 Replies
May 4, 2009
is there a way I can proxify my application's connection to the internet??I came accross System.Net.WebProxy. Here is what I have with it so far:
Dim pr As New System.Net.WebProxy(proxy)Can I set the value of proxy to equal something like 127.0.1.2:80 or do I need to split it into the address and port?Also how do I force my application to connect to the internet through that proxy? Because this is ithe part that is really baffeling me.
View 4 Replies
Aug 8, 2007
i am trying to make an application that loads images from the internet (from my FTP Server).The problem is that when i want to change the image by selecting another image from a ComboBox control my application becomes non-respondive.When the image is loaded the application works properly again.
I tried to move that in a separate thread so instead
[Code]....
View 10 Replies
Sep 9, 2011
I want to make application which will go back and go forward on internet browser in program.
I want: When I will click button1 then internet browser go back and go forward and so on all time. Click(button1) --> GoBack Browser - here must be break - 15 seconds --> GoForward Browser --> do it all again and again.
I do only it:
Public Class Form1
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
[Code] .....
View 15 Replies