Checking total memory in Visual Basic 
Author Message
 Checking total memory in Visual Basic

How can I get the total amount of memory available in Visual Basic or
does sometime have a DLL to do this? If anyone could help, it would be
very much appreciated. Thanks

Aaron Striegel

ISU Extension Service



Thu, 08 Jan 1998 03:00:00 GMT  
 Checking total memory in Visual Basic
The Company Teratech has controls for this, playing with memory, how much, ems
such as this..

FTP.teratech.com
cd/pub/teratech

18004479120

bbs
301 762 8184

MIchael Geraney



Fri, 09 Jan 1998 03:00:00 GMT  
 Checking total memory in Visual Basic

Quote:

>How can I get the total amount of memory available in Visual Basic or
>does sometime have a DLL to do this? If anyone could help, it would be
>very much appreciated. Thanks

How about:

Declare Function GetFreeSpace Lib "Kernel" (ByVal wFlags As Integer) As
Long

This works fine for Win 3.1, but strangely under Win95.  Under Windows NT,
you get the amount of physical memory.
--
 ====================================================================
       /\      Mike Schetterer    "So far, my worst day mountain
    /\/  \     USAF Academy        biking has been better than
   /  \   \    Colorado            my best day at work"

        Windows NT -- It's not just for breakfast anymore!
 ====================================================================



Fri, 09 Jan 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. is Visual Basic Total Crap??

2. visual basic memory

3. Visual Basic 'Out of memory' message

4. Out of Memory when loading Visual Basic Editor

5. visual basic out of memory

6. Shared Memory Implementation in Visual Basic

7. Memory leak with CRYSTAL VBX using with VISUAL BASIC

8. Reading/Writing from/to parallel port memory addresses with Visual Basic

9. Shared Memory Program in Visual Basic

10. Shared memory program in visual basic

11. Memory Error on Windows NT from a Visual Basic Program

12. Visual Basic Memory Leak?

 

 
Powered by phpBB® Forum Software