VB6 Need to display memory usage in program Any ideas?

Need to display a warning if mememory usage gets over a certain limit for the program that is running.


Any ideas


peter3244Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
nffvrxqgrcfqvvcConnect With a Mentor Commented:
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
 
peter3244Author Commented:
This helped but ID:21019185 provided the full solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.