Results 1 to 2 of 2

Thread: [VB2008] USB, CDRom, Harddrive, Network drive find state & more Class!

  1. #1

    Thread Starter
    Addicted Member spyk3's Avatar
    Join Date
    Apr 2009
    Location
    Dothan, AL
    Posts
    218

    [VB2008] USB, CDRom, Harddrive, Network drive find state & more Class!

    First of all, props to this thread by obi1kenobi for getting me started on this little project.
    So I had a need, a need for a class, a class that doesn't seem to exist?
    So I mades one. This is by no means the "best" solution, but I can say That I've had a 98% success rate.

    The only error i'm running now is if i plug and unplug and plug my black berry in real fast.

    Beyond that, if you need a way to fire events for the detection of drives or cd media, and you want to grab that same drive info provided at anytime on any volume of drive, then you came to the right place (or go write your own! lol)
    This class pretty much speaks for itself (alota XML doc) and use of it is even ezier! To use:

    Simply import (Don't forget to add reference)


    Then reference


    If a usb drive is connected


    If a usb drive is disconnected


    Get drives connected of a certain type on


    This Class also includes a simple byte converter (also get by byte value TB, GB, MG ...), a percentage grabber, & is event driven!
    Attached Files Attached Files
    Last edited by spyk3; Feb 26th, 2010 at 10:51 AM. Reason: Small textual change

  2. #2

    Thread Starter
    Addicted Member spyk3's Avatar
    Join Date
    Apr 2009
    Location
    Dothan, AL
    Posts
    218

    Re: [VB2008] USB, CDRom, Harddrive, Network drive find state & more Class!

    update!
    i've spent the last few days going over windows api functions, and i can say, i will be completely rewriting this very soon with much better features and less room for error!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width