|
Posted by Dylan Sung on 07/12/06 12:37
<dingbat@codesmiths.com> wrote in message
news:1152703863.707818.220830@75g2000cwc.googlegroups.com...
>
> 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
Funnily enough I do too.
> to be able to invoke it on your computer from my web page ?
Erm, no. I was wanting it for personal use.
>
> 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.
>
Thanks, I really should have done that in the first place.
<note to self: Duh!>
Cheers,
Dyl.
[Back to original message]
|