Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
I have a upplayer.exe which will be in client pc. From server i want to run that exe.
When i am doing this from iis. It is running but player is not visible.
 
Please give me the solution of this problem....
Posted 28-Sep-12 20:32pm
Comments
@AmitGajjar at 29-Sep-12 2:33am
   
Where you want to play? at client or at server ?
ravi sharma11 at 29-Sep-12 2:46am
   
I want to play it on client side.
 
I was said to keep it into c drive in client pc. Actually it is a player given by client.
And it is only exe file
 
So when user play file, it will take a file from server and run exe from client.
It starts the process of exe but do not show GUI of player

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You cannot do that, excepot in specific circumstances which do not exist in 99.99% of situations.
Security will not allow you to directly execute any program on the client from the server.
There are various ways to play sounds at the client, but none of them allow you to specify an executable program to run.
  Permalink  
Comments
ravi sharma11 at 29-Sep-12 3:13am
   
than what is the solution ? this player is give by client and this files not supported by media player or other players
 
Please give me the solution.
OriginalGriff at 29-Sep-12 3:40am
   
The only way you can run an exe on the client is if the client is running IE, AND the client has ActiveX controls enabled, AND the client accepts your ActiveX control, AND the client allows it to run, AND they have the EXE on their system.
 
If you can persuade all of these conditions to be true, then start reading up on how to write an ActiveX control. Otherwise, forget it, and look for a better solution to your problem.
ravi sharma11 at 29-Sep-12 5:20am
   
suppose if i put my exe in client pc statically, and give a path of client pc like c:\upplayer.exe? then? active x will only install exe?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 31 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid