|
No, it's not. Those statistics don't exist anywhere, unless the application itself is keeping track of them.
You could, on the other hand, attach performance counters to the process and start monitoring them yourself, but those stat's don't exist "automatically" when you start a new process.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks for reply.
Well this is exactly what i want . Is there any guide on how to implement this ?
ell
|
|
|
|
|
|
Sorry but i dont see any possible way to do that .
Well i cant simply count how many trafic send/recieved per ammount of time
Even if i made costum perf counter how could i get the above data related to a process.
|
|
|
|
|
Whoops! My bad!
You can't look at network traffic by process. It's the entire TCP/IP stack of the Network Interface itself or nothing... Sorry!
You can't make a custom counter to expose network operations in another application. Creating custom counters only works if your code is supplying all the data to the counter.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
No porb.
But still there must be way.
Anyone else has any idea ?
|
|
|
|
|
|
Hi everyone,
Wnating to experiment with .net 3.0 here. Cant understand what/where/how will it work. I have vs2005 installed on an XP dev box, but dont know whether .net 3.0 will work on that. Do I need a Vista machine(can set that up inside a VM)?
I understand theres manuals online, but I just dont understand.
Thanks,
Anton.
|
|
|
|
|
Yes you will need Vista. You can do it on a Virtual Machine, but you will need a Gig of Ram on the Virtual Machine to install.
Mike Lasseter
|
|
|
|
|
My coworker was working with .NET 3.0 beta on XP with VS2005.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
You should be able to get everything working on XP. But you may need CTP's etc. Never tried it myself. Probably best to wor inside a VM. And I guess a Vista beta will be required unless you have another copy of XP to run inside the VM.
Kevin
|
|
|
|
|
I have a program that need to call a function in another application. How can I do it?
Thanks,
Leo
|
|
|
|
|
Please do not crosspost.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
I was asked this question in an interview and would like to know the correct answer for this.
I have a .Net remoting component. (By remoting concept, the calls to the remote obect will be basically made on the proxy.)If we create a tlb for this remote component and use it from a COM component, in this case, will the remote calls be made on the proxy or on the server object.
Please help me to get more insight in to this.
Thanks,
Mani
|
|
|
|
|
Hello to all,
Anybody who knows how to perform bitwise operation on DataTable.Select
Thanks
|
|
|
|
|
Hi All
I have written a nice application in VS2005 using .net 2.0. The application requires varios batch file and other application to be installed if you need the application to run
I have managged to create a setup project and it runs but after the or during in need to "launch" batch files as well as a OPC drive installation from a third party.
How can I do this?
Thanx
Regards
|
|
|
|
|
What setup solution are you using? I don't have any expirience with making setup files, but one can only help you, if one know what solution you are using.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi All
I want to set/control a selection range on a System.Windows.Forms.TrackBar.
I think that can be accomplished by setting TBS_ENABLESELRANGE, but I can't find a property or method to set the value. Can someone tell me how to configure the TrackBar to select/display a range? If so, how do you read the range back?
Thanks
Robert Ernst
|
|
|
|
|
Hi
I would like to trace my application and put all messages in a text file.
I use
Trace.TraceError("");
Trace.TraceInformation("");
Trace.TraceWarning("");
methods and when TraceSwitch level is set to for instance Error all messages are put in a file?
Why?
I thought when I set TraceSwitch (ts) to Error only TraceError messages would be sent.
I would like to change only trace level and certain messages should autmatically be put in a file.
Should I use Trace.WriteIf(ts.TraceError == true,"...");
What for if TraceError, TraceWarning etc.???
Ela
|
|
|
|
|
I'm looking for a good book or other resource that describes best practices for separating an application into presentation, business logic and data access layers. I am particularly interested in best practices for designing the communications between the layers and the structure of the application that allows data to be retrieved from the data source via the data access layer then passed to the presentation layer through the business layer and then back through the business layer to the data access layer. Does anybody have any recommendations?
|
|
|
|
|
Check out this MSDN Guide on Smart Client Architecture.
Best,
Jun
|
|
|
|
|
i need your help please help me ,,
actually i have developed a windowd service in c#.net , this service retrieves data from a sql server installed on a work group on the same lan wherre my computer resides , but it gives an exception always " login failed for user sa reason cannot connect to a trusted sql server connection. " remote sql server is configured for both windows and sql server authentication and i have configured serverprocess installer for local system account with user name password = null ;
kindly help me
tauseef
hello
|
|
|
|
|
Your service is running under the Local System account, but in your connection string your specifying Trusted Connection. You can't do that since the Local System account is not trsuted by the SQL Server, and can't be. Remove the Trusted Connection part of your connection string, but still supply an SQL username and password to use. DO NOT USE THE 'SA' ACCOUNT! Create a seperate account to be used by the service for this database.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi thanks for your cooperation , i have created a seperate user on sql server with the name "terminal" and passowrd "abc"
i am supplying the following connection string
"Provider=sqloledb;Data Source=software-14;Initial Catalog=company071;;integrated security=SSPI;User Id=terminal;Password=abc;";
kindly tell me where i am wrong , is there any need to create a windows nt user on the pc where sql service resides .
i m getting the following exception
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection
hello
|
|
|
|
|
Remove the Integrated Security junk. This is what's causing your "trusted connection".
Provider=sqloledb;Data Source=software-14;Initial Catalog=company071;User Id=terminalassword=abc;
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|