Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Create a file via JavaScript

2 views
Skip to first unread message

Klemens

unread,
Dec 21, 2009, 4:40:16 PM12/21/09
to
I want to create a small file on my Windows Mobile 6.1 device using a
program, script or whatever. My first idea was to create an HTML page
with JavaScript and the FileSystemObject to do the job. But I don't
get it running as the FSO cannot be created. When I execute the save
method of a msxml2 object I get a "Permission denied". The HTML page
was run in IE and Opera 9.5. Maybe the security settings prevent from
running when the file is loaded from the internet. However, I didn't
manage to run the page in IE from a local file.
Any idea? Any workaround except writing an app in Visual Studio?
- Klemens

Valter Minute [eMVP]

unread,
Dec 22, 2009, 4:59:39 AM12/22/09
to

You should try to explain your goal more clearly. Why you need to create
a file on the device? You can create it locally or you should build its
contents on a server and download it from the net?
My first suggestion would be a .bat file that you can execute on the
device, but I don't know if it can fit your needs.


--
Valter Minute (eMVP)
Training, support and development for Windows CE:
www.fortechembeddedlabs.it
My embedded programming and cooking blog:
www.geekswithblogs.net/WindowsEmbeddedCookbook
Windows Embedded support forums in Italian:
http://social.msdn.microsoft.com/Forums/it-IT/windowsembeddedit/threads
(the reply address of this message is invalid)

Klemens

unread,
Jan 11, 2010, 5:44:28 PM1/11/10
to
On 22 Dez. 2009, 10:59, "Valter Minute [eMVP]"

Thanks for the answer, Valter. To make it very precise: I want to
create an opera favorites file from the IE favorites list. This shall
happen locally on the device ideally using a local HTML page with
Javascript. Of course there is some logic involved to build up the
file content. This can be done in Javascript without problems. But
what finally fails is to create the file on the device. This is what
my question is about.
- Klemens

0 new messages