Solved

Read usb drive

Posted on 2012-03-24
11
356 Views
Last Modified: 2012-08-14
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.
0
Comment
Question by:Moizsaif123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 47

Expert Comment

by:Martin Liss
ID: 37761143
I've never used it but this looks interesting.
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37761167
sorry i didnt mention to implement it on my own. if i can have code in vb and have a executable and run it.
0
 
LVL 47

Assisted Solution

by:Martin Liss
Martin Liss earned 250 total points
ID: 37761180
Okay, but it's free so why reinvent the wheel? (I'm just making a point and I don't expect an answer)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:tmenasco
ID: 37761183
I have some tech's that like BitLocker.

http://en.wikipedia.org/wiki/BitLocker_Drive_Encryption

I personally don't care for the interface much on machines that don't natively support it, but it does encrypt the drive.
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37761185
since i can customize it myself in future. Client can expect to have any modification and I am looking to code it myself.
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 37761188
What version of VB are you using?
0
 
LVL 8

Expert Comment

by:Amit Khilnaney
ID: 37761195
This may be possible.

You can use a software called from
http://www.truecrypt.org/

Open in new window



and read it through a method explained here

http://stackoverflow.com/questions/1315677/is-there-an-way-to-programatically-read-a-file-from-a-truecrypt-disk-into-memory

Open in new window

0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37762247
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
0
 
LVL 8

Accepted Solution

by:
Amit Khilnaney earned 250 total points
ID: 37762330
You can use vb.net or C# via visual studio.net. since you are already familiar with vb6.0 you will be able to easily code it via vb.net in visual studio.

Try going through the basics of vb.net on msdn.
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37763449
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!
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 37764551
im going to redirect my question to another forum, since i got the answer that i needed here
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question