New IsolatedStorageFileStream
Imports System.IO.IsolatedStorage
Public Class Tester
Public Shared Sub Main
Dim myIsoStore As IsolatedStorageFile
Try
myIsoStore.CreateDirectory("newDir")
Dim myIsoStroeStream As New IsolatedStorageFileStream("test.txt", IO.FileMode.Create.Create, myIsoStore)
myIsoStroeStream.Close()
Catch ex As IsolatedStorageException
Console.WriteLine(ex.Message)
End Try
End Sub
End Class
Related examples in the same category