Results 1 to 9 of 9

Thread: Advance JavaScript

Hybrid View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    29

    Advance JavaScript

    Does anyone know how to use JavaScript
    [1] to invoke an application in a computer and
    [2] to transfer a file to a specified disk location? For example, when user click on a photo in my website, the photo will be downloaded and saved into location D:\My Photo

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Advance JavaScript

    Not even advanced Javascript will let you do these things for security reasons. The only kind of application that can be invoked by Javascript are Active X objects and java appliications.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    29

    Re: Advance JavaScript

    Hi visualAd,
    I have heard that only ActiveX can do that. But have you tried "The Webshot Desktop" from www.webshot.com before. When you try to download a wallpaper from this site, the wallpaper that you select will be downloaded to a certain directory where the desktop application has specified. And at the meantime, the Webshot Application will be evoked.

    In my opinion, that is performed by JavaScript. You can try to install the program and see.

    Thank for your help

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Advance JavaScript

    Quote Originally Posted by Alvinwind
    Hi visualAd,
    I have heard that only ActiveX can do that. But have you tried "The Webshot Desktop" from www.webshot.com before. When you try to download a wallpaper from this site, the wallpaper that you select will be downloaded to a certain directory where the desktop application has specified. And at the meantime, the Webshot Application will be evoked.

    In my opinion, that is performed by JavaScript. You can try to install the program and see.

    Thank for your help
    That is a WBZ file which is a type handled by Webshots software. Try doing that with Webshots uninstalled and you'll see what I mean.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    29

    Red face Re: Advance JavaScript

    mendhak, if I don't get you wrong, what you meant was the file type of the wallpaper. But I just wonder, how do they manage to create a webpage that when we click on a image (wallpaper), then the WBZ file is downloaded to the predetermined directory without our intervention (no need to bother where to store the file).

    I find that is quite interesting and very suitable for my application. Therefore, if anyone know how to do it, pls pls, teach me. Thank you

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Advance JavaScript

    Webshot Desktop is a program you install locally on your computer. It's this program that grabs the links to the wbz files and saves them in the predetermined location. This has nothing to do with JavaScript.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width