简体   繁体   中英

Use of FileSystemObject on Windows Phone 7 - IE9 Mango (and iPhone alternative)

Is it possible to use this on a windows phone?

var fsObj = new ActiveXObject("Scripting.FileSystemObject");
var theFile = fsObj.CreateTextFile("c:\\giantco.txt", true);
theFile.WriteLine(theData);
theFile.Close();

I understand that there might not be a c:\\ there - is there an alternative for both WP7 and iPhone?

Cheers!

No. ActiveX does not exist on WP7. You don't have direct access to the file system from either web browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM