G
Guest
Hi EveryBody:
I used isolated storage to creat directory and here what I did:
Dim isoFile As System.IO.IsolatedStorage.IsolatedStorageFile =
System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorage.IsolatedStorageScope.User
Or IsolatedStorage.IsolatedStorageScope.Assembly Or
IsolatedStorage.IsolatedStorageScope.Domain,
GetType(System.Security.Policy.Url), GetType(System.Security.Policy.Url))
isoFile.CreateDirectory("Husam")
and then I used also isolated storage to creat file whithen the previous
directory:
Dim isoStream As New
System.IO.IsolatedStorage.IsolatedStorageFileStream("Husam\dual",
FileMode.OpenOrCreate, _
FileAccess.Write, FileShare.Write, 10240, isoFile)
but I foucs one problem which is how can I write or read data from the file
that i created?
any one can give a hint or direction to solve this proble ?
any help will be apprecitated
regard's
Husam
I used isolated storage to creat directory and here what I did:
Dim isoFile As System.IO.IsolatedStorage.IsolatedStorageFile =
System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorage.IsolatedStorageScope.User
Or IsolatedStorage.IsolatedStorageScope.Assembly Or
IsolatedStorage.IsolatedStorageScope.Domain,
GetType(System.Security.Policy.Url), GetType(System.Security.Policy.Url))
isoFile.CreateDirectory("Husam")
and then I used also isolated storage to creat file whithen the previous
directory:
Dim isoStream As New
System.IO.IsolatedStorage.IsolatedStorageFileStream("Husam\dual",
FileMode.OpenOrCreate, _
FileAccess.Write, FileShare.Write, 10240, isoFile)
but I foucs one problem which is how can I write or read data from the file
that i created?
any one can give a hint or direction to solve this proble ?
any help will be apprecitated
regard's
Husam