Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I've been able to find examples of how to pull a list of applications currently in Task Manager via the functions below. However, I also want to track memory usage of the currently running Excel Application. I've looked around and really can't find an example that works. Based on the examples I've seen (such as those below), this should be pretty easy to do. So, if I have xlApp.hwnd, how can I get the current memory being used by it? Thanks! MikeZz Public Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long Public Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
(reposting) Memory problem: Out of Memory and cannot save | Excel Programming | |||
How to access Application Ojbect of the Current Excel Window in C# | Excel Programming | |||
ColorIndex of the current application | Excel Programming | |||
application.run 'current' filename? | Excel Programming | |||
macro to close excel application other than application.quit | Excel Programming |