Results 1 to 10 of 10

Thread: (resolved) call an exe file in client side

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Resolved (resolved) call an exe file in client side

    hi if i made an exe file and put it at client side...
    can i call it thru javascript/html ???
    if yes then how...

    file///c|/myfoler/myexe.exe
    as a link but the exe is not opening...

    plz help
    Last edited by shahid; Feb 10th, 2006 at 02:37 AM. Reason: solved

  2. #2
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141

    Re: call an exe file in client side

    Think from a security standpoint, if you could call c:\anyfile.exe, what you stop you from calling something like c:\windows\fdisk.exe and wipping out an unsuspected users drive? You cannot call an exe on the client side.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

  3. #3
    Lively Member
    Join Date
    Oct 2004
    Posts
    88

    Re: call an exe file in client side

    shahid, this is the security restriction that I was telling you about in your previous posts.

    If you say that you do it specifically for one client, give him the .exe file and instructions to run it on his computer.

    No way that javascript or anything else would run this file automatically.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Re: call an exe file in client side

    thx for reply...actully client want to create some folders thur asp page(the folder names comes from text input boxes)..
    i made an activeX control but it's not working at client side..
    so i made an exe for that..with command line aruguments...but it's not working...
    now i made a batch file ...but it's not opening...ahhhh ......wot i do now????

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,930

    Re: call an exe file in client side

    Why don't you just put the user-input part of it into the program too, and get them to run it?

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Re: call an exe file in client side

    Quote Originally Posted by si_the_geek
    Why don't you just put the user-input part of it into the program too, and get them to run it?

    can u plz expalin wot do u want to say...
    the situation is : user input some fileds in browser and before save it he want to click a buttion so some folders create on his c drive then he hit the save button so the records save at server side..using ASP

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,930

    Re: call an exe file in client side

    Are the folder names related to the data that is being saved?

    If not, just have it as a separate program.

    If they are, then you should consider a different method of saving the data... if it is going to a database then you can use ADO (or similar) to write to the database from a VB program.

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Re: call an exe file in client side

    the data save at server side...while the folder create at client side...the server is using ASP as server language...what about the client..javascript is not creating folders.

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

    Re: call an exe file in client side

    Like I mentioned in your other thread, ActiveX, and only if the browser doesn't block it. And in FF/Opera, it won't even work.

    What exactly are you trying to accomplish? What is the requirement, and why does it need to be on the user's machine? perhaps you should be making a program in VB6, not ASP.

  10. #10

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    762

    Resolved (resolved) Re: call an exe file in client side

    thanks guise..
    i made a batch file on server side...and it download on client side..
    then the client run it manually..

    thanks to all

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