Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
2.33/5 (6 votes)
See more:
Hello.I need to create an image(.img) of a memory card and i have to do this with coding in VB. I have no ideas in how to do this. Can anyone help me... with code or algorithms? Thanks
Posted
Comments
Dave Kreskowiak 18-Jan-11 10:07am    
Are you saying that you just need to draw a stick of memory on screen? Or are you talking about a visual map of memory?? Or what?? You need to be more specific than this.
Nithin Sundar 20-Jan-11 22:34pm    
From what I understand, you want to create a an image of a memory card with all the data in it? The way you create CD images like .iso and .bin?
sandeep man 21-Jan-11 0:31am    
Yes, i need to create an image of the memory card with all data in it like .iso or .img file.Just like a disk dump work.I need to do this by coding on vb.
Indivara 21-Jan-11 10:30am    
Reasonable question for a rookie, no need to vote down
Henry Minute 21-Jan-11 11:32am    
Quite right.

According to Wikipedia, the IMG format is a raw dump of the disk contents. Amazing what Google can teach you ;)
http://www.vbforums.com/showthread.php?t=589818[^]
(search for raw disk access if this one doesn't work)
 
Share this answer
 
Raw data access may not be very straightforward to do, specially with more restrictions in doing that in recent OSes like Vista and Windows 7. If you merely need to backup memory cards and then create copies when required, you could just do a copy of all the files and directories starting with the root folder. As an extra you could also store the name of the memory card, so you could also reproduce that when you make the copies. Using a raw image (kinda like an iso) won't give you any advantages over that really (unless you are looking for some high performance high volume data replication).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900