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):