deploying application.
-
Hello, My query is related to application deployement. I have created one application in vb.net and now want to deployment. Suppose it requires 5GB of memory then in my setup project how can i check physical memory required using launch condition. Anyone who does know, please tell. Thanks in advance.
-
Hello, My query is related to application deployement. I have created one application in vb.net and now want to deployment. Suppose it requires 5GB of memory then in my setup project how can i check physical memory required using launch condition. Anyone who does know, please tell. Thanks in advance.
I take it you mean 5GB of disk space or do you really mean 5GB of RAM?
You always pass failure on the way to success.
-
I take it you mean 5GB of disk space or do you really mean 5GB of RAM?
You always pass failure on the way to success.
-
Hello, I would suggest you to add reference for the System.management class in your project and I hope that following code will return the free physical memory Dim freeMemory As New ManagementClass("Win32_OperatingSystem") Dim memory As ManagementObjectCollection = freeMemory.GetInstances() Dim memEnum As ManagementObjectCollection.ManagementObjectEnumerator = memory.GetEnumerator() memEnum.MoveNext() MessageBox.Show("Physical memory total space is: " & Format(Integer.Parse(memEnum.Current.Properties("FreePhysicalMemory").Value) / 1024, "#,### KB")) I hope this helps. James Smith
James Smith www.componentone.com