Link to home
Start Free TrialLog in
Avatar of wongke9622
wongke9622

asked on

Read from a SD card

I'm using V B.net as the front end and SQL server 2000 as the back end in Windows XP. How do I read the raw data from an SD card using VB.net? Please help experts.
Avatar of William Elliott
William Elliott
Flag of United States of America image

an SD card should be no different than reading from any other drive.  you just have to know thedrive letter,.
Avatar of wongke9622
wongke9622

ASKER

Hi wellio, can you give me a sample in vb.net. Thanks a lot.
To elaborate on my question, I have raw data saved in the SD card in a different file format since even when I access the SD card from using windows, I don't see any thing. I use dd.exe to extract the information saved and convert it into .dat file. Then I use Ultraedit to view the information. The problem is, the data comes out all scrambled in ultraedit. I just want to have my own application wherein I can directly read from this SD card with the data in a well defined manner. Thanks.
what type of data is it?
just like any data it was designed to be opend in a specific format. since it is in an SD card can iassume it is images? is it ascii? ansi? some random binary?

depending on how you need to read the data will determine the method in which you read it using vb.net.

nonetheless
here are some examples
http://www.java2s.com/Code/VB/File-Directory/Readingasequentialaccessfile.htm
http://www.java2s.com/Code/VB/File-Directory/ReadandWriteBinaryfileintstring.htm
http://www.java2s.com/Code/VB/File-Directory/Readfromabinaryfile.htm
Yes it is random binary.
ASKER CERTIFIED SOLUTION
Avatar of William Elliott
William Elliott
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The data originally comes from a hand reader device directed to a printer port, but instead of printing, we saved the information to an SD card. And we are just trying to retrieve that raw data using our own application in vb.net. The garbled message is because there are lots of empty sectors in between the actual data after using dd.exe. I don't know how to get rid of them?
Forced accept.

Computer101
EE Admin