[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

URGENT - Memory used by a perticular Application

Posted on 2005-05-11
1
Medium Priority
?
177 Views
Last Modified: 2010-05-01
In my VB 6 App I want to log the amount of memory and cpu used by a perticular app. How can I do this any code examples would be greatly appretiated. Thanks in advance.
0
Comment
Question by:DSSI
1 Comment
 
LVL 29

Accepted Solution

by:
nffvrxqgrcfqvvc earned 1500 total points
ID: 13977825
To do this use the GetProcessMemoryInfo API.

There is an entire example located here.

http://www.mentalis.org/apilist/GetProcessMemoryInfo.shtml

http://www.mentalis.org/apilist/3F67FD0ABC04BEB6623FB5C547B77976.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question