Solved

VB6 Need to display memory usage in program Any ideas?

Posted on 2010-11-12
2
655 Views
Last Modified: 2012-05-10
Need to display a warning if mememory usage gets over a certain limit for the program that is running.


Any ideas


0
Comment
Question by:peter3244
2 Comments
 
LVL 29

Accepted Solution

by:
nffvrxqgrcfqvvc earned 500 total points
ID: 34119683
You can use the GetProcessMemoryInfo API

GetProcessMemoryInfo Function
http://msdn.microsoft.com/en-us/library/ms683219(v=VS.85).aspx

Collecting Memory Usage Information For a Process
http://msdn.microsoft.com/en-us/library/ms682050(v=VS.85).aspx

0
 

Author Closing Comment

by:peter3244
ID: 34135049
This helped but ID:21019185 provided the full solution
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now