Vb.NET - Read Text from Isolated Storage



Read Text from Isolated Storage

'Namespace: System.IO
'Namespace: System.IO.IsolatedStorage
'Namespace: Microsoft.VisualBasic

'File Name: "syntaxhelp.txt"

Dim isolatedStore As IsolatedStorageFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.User Or IsolatedStorageScope.Assembly, Nothing, Nothing)

Dim isolatedStream As New IsolatedStorageFileStream("syntaxhelp.com", FileMode.Open, isolatedStore)

Using reader As New StreamReader(isolatedStream)
	InputText = reader.ReadToEnd
End Using

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.