Handling file system of PPC by HTML/javascript

  • Thread starter Thread starter RC
  • Start date Start date
R

RC

How to create/delete/copy/modify file in PPC by an PIE Web page?

Is it possible? Any code provided for doing that?

Thanks
 
Not possible

Alex, isn't this possible with an ActiveX crafted for this purpose?

I'm not familiar with PocketPC though -- my experience is with custom
WinCE automation devices, often with a local Web interface.

Koen.
 
It might be possible from an ActiveX. I'm not entirely familiar with the
security model on CE though. I guess this calls for an experiment.
 
I'm not sure if the original poster is ready to implement an ActiveX for
this, but if he does, here's briefly how I would do it:

1. Use eVC and the ATL COM wizard to start with a simple COM component.
2. Derive additionally from IObjectSafetyImpl to tell PIE the component
is okay.
3. Better *make* it okay then: derive also from IObjectWithSiteImpl and
get a grip of the location of the Web page (hosting the ActiveX). I will
want to check if the page is at a safe (e.g. local) URL before allowing
potentially desastrous operations like file write/move/delete.

Something like that.

Koen.


on 2-Feb-2005 23:12 (CET):
 
Hello. Could you provide some concret/sample code for doing that? I'm a
newbie for implement ActiveX.

Thanks
 
Back
Top