简体   繁体   English

在Windows Phone 7-IE9芒果(和iPhone替代品)上使用FileSystemObject

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

Is it possible to use this on a windows phone? 是否可以在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? 我了解可能没有c:\\ -WP7和iPhone是否都有替代品?

Cheers! 干杯!

No. ActiveX does not exist on WP7. 否。WP7上不存在ActiveX。 You don't have direct access to the file system from either web browser. 您无法从任一Web浏览器直接访问文件系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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