How do you reference an executable file and run it from a web page? I want to run my VB program as a demo software when somebody clicks on the link.
Printable View
How do you reference an executable file and run it from a web page? I want to run my VB program as a demo software when somebody clicks on the link.
If you just link to it, they will have the option to download or run (the browser does this).
What I'd like to do is run the exe on the spot, I mean, I want the person viewing the page to execute the program when the link is clicked. Of course, I used the "classic" html tag <a href></a> to set up the link. Downloading the file is not an option that I want at this time since there are other files needed to run it. Any other suggestions?
There aren't any other options. You just have to inform your users that they *have* to click "Run" instead of "Download"
Sit and ponder for a moment the security risks of being able to do what you are asking.
We need a FAQ...
monte96 is right...that's exactly why browsers don't automagically run whatever they're given.
Good idea, JoshT...F.A.Q.'s are Fun And Quality! :D
If you could run exes by just clicking on them, you could destroy someones comp!
Lets not make the rest of the internet like ms outlook...
There is an activex component to do this - it's used on the PC Answers cover cds...
You can only use it on a web page on a CD or private intranet (not sure how they check that but anyway...) For the security reasons mentioned above it will not work on a www site.
Have a look at: www.particle.net/intralaunch
You could easily write your own of course but you'd have to get it signed by Verisign and due to the nature of it I think you'd find it very hard to get their approval.
PC Plus use it as well - it was discussed in their latest Q&A.
Perhaps that's where I saw it... I don't buy PC Answers anymore cos it's aimed too much at beginners but I know my dad gets it... I get PC Plus a lot...perhaps it was there I saw it... dunno.
What the heck am I talking about? :rolleyes:
That Kilroy guy with the sign on your sig is cool.
Who cares what you're talking about? ;) You made a good point and that's what matters :)
Well I know I just thought.... hang on a minute... you're talking about you're sig aren't you!?! :eek:
My sig?