开发者

IsolatedStorage createFile not working

开发者 https://www.devze.com 2023-01-05 21:37 出处:网络
I am getting FileNotFoundException when I make the following call: IsolatedStorageFileStream rootFile = store.CreateFile(\"abc.txt\");

I am getting FileNotFoundException when I make the following call:

IsolatedStorageFileStream rootFile = store.CreateFile("abc.txt");

However, if I have a textbox on my page and do:

开发者_StackOverflow
IsolatedStorageFileStream rootFile = store.CreateFile(textBox1.Text)

then this works.

I am using Silverlight 3.

Any ideas why I get the error?

JD


Is the FileNotFoundException internal to the CreateFile call? Check here.

0

精彩评论

暂无评论...
验证码 换一张
取 消