|
Posted by Andy Dingley on 07/12/06 11:31
Dylan Sung wrote:
> I have an executable file I created to extract data from text file, but I'd
> like to invoke it from a HTML interface.
I have an executable file that re-formats your disk. Would you like me
to be able to invoke it on your computer from my web page ?
No? Then this is why HTML in general doesn't have the access rights
to go around invoking executables.
> Can anyone tell me how this is done
> using HTML code? If not, can it be done using a simple java script ?
If you're using a local HTML page, which probably needs to be loaded
from disk and not a server (for most modern browsers) then you should
be able to do this. Just use
<a href="file://...." >My program</a>
and replace "..." with the path to your programe executable file,
including the .exe extension.
Practice this first with a nice simple JPG file.
A lot depends on what browser you use and how paranoid it is.
Navigation:
[Reply to this message]
|