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. How can i detect Hard Drives of my PC with VB.Net??

How can i detect Hard Drives of my PC with VB.Net??

Scheduled Pinned Locked Moved Visual Basic
questioncsharphelp
3 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.
  • A Offline
    A Offline
    ankur0101
    wrote on last edited by
    #1

    i want to make such a programme that can detect hard drives of my computer. but i gott some link by using folder properties. --------------------------------------------------------------------------- My PC is having 4 hard drives >> C,D,E,F. Now can i give command like >> if there r 4 drives then store their name as DRIVE 1,DRIVE 2,DRIVE 3,DRIVE 4. iF THERE r 3 drives then store them in DRIVE 1,DRIVE 2,DRIVE 3. it means 1st it should detect drives.... n them store them in variables. PLUS how can i change the font colour of FOLDER?? Plz help needed as early as possible -------------------------------------------------------------------------- :(:(:(:(:(:(:(:(:(

    C 1 Reply Last reply
    0
    • A ankur0101

      i want to make such a programme that can detect hard drives of my computer. but i gott some link by using folder properties. --------------------------------------------------------------------------- My PC is having 4 hard drives >> C,D,E,F. Now can i give command like >> if there r 4 drives then store their name as DRIVE 1,DRIVE 2,DRIVE 3,DRIVE 4. iF THERE r 3 drives then store them in DRIVE 1,DRIVE 2,DRIVE 3. it means 1st it should detect drives.... n them store them in variables. PLUS how can i change the font colour of FOLDER?? Plz help needed as early as possible -------------------------------------------------------------------------- :(:(:(:(:(:(:(:(:(

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      There's a property available that lists all available drives, find info here[^]. To change the details of how a folder is rendered, you create a config file that lives inside the folder. I'm not sure what is possible, I know you can set a bitmap for the folder.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      M 1 Reply Last reply
      0
      • C Christian Graus

        There's a property available that lists all available drives, find info here[^]. To change the details of how a folder is rendered, you create a config file that lives inside the folder. I'm not sure what is possible, I know you can set a bitmap for the folder.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        Christian So you got sick of asking people to Google the ? first - what a cool answer...

        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