Click here to Skip to main content
15,881,852 members
Articles / Programming Languages / Visual Basic

QVFS - A FAT32 Based Virtual File System Powered by VB.NET 2005

Rate me:
Please Sign up or sign in to vote.
4.68/5 (33 votes)
8 Jun 2009CPOL5 min read 159.8K   1.7K   100  
A virtual file system created using VB.NET, an easy way to store multiple folders and files in two real physical files.
Namespace QVFS
	''' <summary>
	''' File information object
	''' </summary>
	''' <remarks></remarks>
	Public Class FileEntry
		''' <summary>
		''' File name
		''' </summary>
		''' <remarks>Using UTF-8 encoding, max 14 chineses char or 43 english chars allowed in file name and 3 chars for extend name and 1 char for dot(".")</remarks>
		Public Name As String
		''' <summary>
		''' File property
		''' </summary>
		''' <remarks>8 bit property field</remarks>
		Public [Property] As Properties
		''' <summary>
		''' File create time
		''' </summary>
		''' <remarks></remarks>
		Public CreateDateTime As DateTime
		''' <summary>
		''' File modify time
		''' </summary>
		''' <remarks></remarks>
		Public ModifyDateTime As DateTime
		''' <summary>
		''' Cluster index of the beginning of the file in the FAT
		''' </summary>
		''' <remarks></remarks>
		Public ClusterStartIndex As Int32
		''' <summary>
		''' File size
		''' </summary>
		''' <remarks> 32 bit integer for max 4G each file</remarks>
		Public Size As Int32
	End Class
End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Architect
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions