Read usb drive

I want an api or function to read a usb drive. Basically  the drive should contain an encrypted password so the user is not able to read it.

The drive when inserted in the pc the user should get prompted to enter a password and match that one in the drive.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
I've never used it but this looks interesting.
Moizsaif123Author Commented:
sorry i didnt mention to implement it on my own. if i can have code in vb and have a executable and run it.
Martin LissOlder than dirtCommented:
Okay, but it's free so why reinvent the wheel? (I'm just making a point and I don't expect an answer)
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

I have some tech's that like BitLocker.

I personally don't care for the interface much on machines that don't natively support it, but it does encrypt the drive.
Moizsaif123Author Commented:
since i can customize it myself in future. Client can expect to have any modification and I am looking to code it myself.
Martin LissOlder than dirtCommented:
What version of VB are you using?
Amit KhilnaneyCommented:
This may be possible.

You can use a software called from

Open in new window

and read it through a method explained here

Open in new window

Moizsaif123Author Commented:
im using vb 6.0, above is the post for c++. Since Im new to it, what c program interface should i use to execute the code
Amit KhilnaneyCommented:
You can use or C# via visual since you are already familiar with vb6.0 you will be able to easily code it via in visual studio.

Try going through the basics of on msdn.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Moizsaif123Author Commented:
just some questions on the code line below

class TrueCrypeStart
        static void Main(string[] args)

im assuming the string argument is the filepath used to mount the file from the drive. Is that so? Is the filepath hardcoded in the code below in mount info? can i have an example...

tc.StartInfo.Arguments = string.Format("/v \"{0}\" /p \"{1}\" /q", ...mount info ..., password); // for quiet!
Moizsaif123Author Commented:
im going to redirect my question to another forum, since i got the answer that i needed here
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.