how do i run a program from a web page?
how do i run a program from a web page?
I want to run a script that will print to a barcode printer. I want to execute the script from an intranet web page.
Best answer:
use FF and select the peference “run program automatically”
Under Forum

1 Comment for how do i run a program from a web page?
1. Frank Fazzio | July 26th, 2006 at 1:01 pm
If we’re talking intranet, you have several options. First, IE is going to look for a “helper program” based on the extension of the file you reference. So, for example, if the extension .xyz is registered on the client machine to run program xyz.exe, then all you need to do in your link is reference a link like file://s:/thefile.xyz where s: is a common drive all the users have and thefile.xyz is just a file (could be empty) that you create.
What I’ve done in the past, is write a little VB 6.0 program to open a file, read the contents, and execute the command found inside. I come up with a unique extension (I used “.linkto”) and registered my stub program on all the client machines. Then, I put the command I really want to execute in the .linkto file, and code the hyperlink file://c:/mycommand.linkto
Leave a Comment for how do i run a program from a web page?
You must be logged in to post a comment.
Trackback this post | Subscribe to the comments via RSS Feed