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. Harddrive Access

Harddrive Access

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
6 Posts 4 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.
  • P Offline
    P Offline
    Pugman812
    wrote on last edited by
    #1

    Does anyone know if you can control the harddrive directly. I want to beable to read or write to a specific sector to see what is contained in that sector. And can this be done with VB 6 or .NET or would you have to use a C type language. Thanks for any help

    A D 2 Replies Last reply
    0
    • P Pugman812

      Does anyone know if you can control the harddrive directly. I want to beable to read or write to a specific sector to see what is contained in that sector. And can this be done with VB 6 or .NET or would you have to use a C type language. Thanks for any help

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      i thought with win 2000/xp/nt you couldnt control it directly because of the core design of the os [shell/kernel]. i know sum1 will help you about this, because i sure cant lol. sum1 can reaffirm this or disprove it, as they will know more about it than me.

      N 1 Reply Last reply
      0
      • A Anonymous

        i thought with win 2000/xp/nt you couldnt control it directly because of the core design of the os [shell/kernel]. i know sum1 will help you about this, because i sure cant lol. sum1 can reaffirm this or disprove it, as they will know more about it than me.

        N Offline
        N Offline
        Nadroj
        wrote on last edited by
        #3

        i thought with win 2000/xp/nt you couldnt control it directly because of the core design of the os [shell/kernel]. i know sum1 will help you about this, because i sure cant lol. sum1 can reaffirm this or disprove it, as they will know more about it than me. edit: whoops, sry for repost ------------------------ Jordan. III

        P 1 Reply Last reply
        0
        • N Nadroj

          i thought with win 2000/xp/nt you couldnt control it directly because of the core design of the os [shell/kernel]. i know sum1 will help you about this, because i sure cant lol. sum1 can reaffirm this or disprove it, as they will know more about it than me. edit: whoops, sry for repost ------------------------ Jordan. III

          P Offline
          P Offline
          Pugman812
          wrote on last edited by
          #4

          I know that you can not access the memory because of the protected mode that the OS operates at, but im not sure about the hard drive i think it is possible.

          N 1 Reply Last reply
          0
          • P Pugman812

            I know that you can not access the memory because of the protected mode that the OS operates at, but im not sure about the hard drive i think it is possible.

            N Offline
            N Offline
            Nadroj
            wrote on last edited by
            #5

            i thought it was all hardware, and in contrary i thought u could access the memory. we'll have ta wait and c for a more knowledgeable response. ------------------------ Jordan. III

            1 Reply Last reply
            0
            • P Pugman812

              Does anyone know if you can control the harddrive directly. I want to beable to read or write to a specific sector to see what is contained in that sector. And can this be done with VB 6 or .NET or would you have to use a C type language. Thanks for any help

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              It's possible in VB6 and VB.NET, but not easily done. Since the hardware is abstracted from your app, there is no direct way of doing this. You have to go through the drivers sitting in the kernel to get the sectors for you. You'll be declaring a bunch of API calls and structures to get this to work. C++ is a much better choice... RageInTheMachine9532

              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