Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. deploying application.

deploying application.

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasesysadminperformance
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    d_smit
    wrote on last edited by
    #1

    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.

    G 1 Reply Last reply
    0
    • D d_smit

      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.

      G Offline
      G Offline
      GuyThiebaut
      wrote on last edited by
      #2

      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.

      D 1 Reply Last reply
      0
      • G GuyThiebaut

        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.

        D Offline
        D Offline
        d_smit
        wrote on last edited by
        #3

        To be very specific, i have to check the disk space. Thanks.

        J 1 Reply Last reply
        0
        • D d_smit

          To be very specific, i have to check the disk space. Thanks.

          J Offline
          J Offline
          JamesS C1
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups