Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Open program

  1. #1
    New Coder
    Join Date
    Sep 2006
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Open program

    I need a program to open..

    THIS PROGRAM IS INSTALLED!

    I made a link:
    file://C:\Program Files\WinPVR\WinPVR.exe
    When you click on it it asks you to save the file.. I want to open it without having to have a dialog come up

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You can't in a web environment.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Sep 2006
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I read somewhere about a code that automatically selected the open option for files... I don't remember where though...

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,672
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    That depends on the browser. Some ask to download it, some give the option of running it directly (while actually just downloading it to a default location before starting it). However, as allowing for executables to be executed without any prompt or active confirmation would be a free ride for hackers and spammers to mess around on any remote computer browser vendors have become careful with such things and you’ll never get around a download confirmation message today.

    In a nutshell: Browsers generally aren’t made to execute external programs (even Flash is affected since the Eolas lawsuit). And this is especially for programs on your personal hard drive that are not affiliated with a browser.

  • #5
    New Coder
    Join Date
    Sep 2006
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The file IS on the hard drive, not on a server

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Its not a matter of where the file is located its a matter of where you are opening the webpage. If you are using a browser then no it won't work. You need to use something like a .hta file.

    http://www.htmlgoodies.com/beyond/re...le.php/3472841
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •