-
Feb 4th, 2006, 02:27 AM
#1
Thread Starter
Fanatic Member
(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
-
Feb 4th, 2006, 02:36 AM
#2
Frenzied Member
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.
-
Feb 4th, 2006, 03:50 AM
#3
Lively Member
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.
-
Feb 4th, 2006, 06:47 AM
#4
Thread Starter
Fanatic Member
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????
-
Feb 4th, 2006, 08:29 AM
#5
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?
-
Feb 6th, 2006, 02:32 AM
#6
Thread Starter
Fanatic Member
Re: call an exe file in client side
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
-
Feb 6th, 2006, 10:10 AM
#7
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.
-
Feb 7th, 2006, 01:43 AM
#8
Thread Starter
Fanatic Member
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.
-
Feb 7th, 2006, 07:29 AM
#9
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.
-
Feb 10th, 2006, 02:34 AM
#10
Thread Starter
Fanatic Member
(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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|