By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

Creating file

P: n/a
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.GetS tore(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.IsolatedStorageFileStrea m("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

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Husam" <Hu***@discussions.microsoft.com> schrieb:
Dim isoStream As New
System.IO.IsolatedStorage.IsolatedStorageFileStrea m("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 ?


Take a look at the 'System.IO.StreamReader' and 'System.IO.StreamWriter'
classes.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.