Click here to Skip to main content
15,860,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Comments
AmitGajjar 29-Sep-12 2:33am    
Where you want to play? at client or at server ?
ravi sharma11 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

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.
 
Share this answer
 
Comments
ravi sharma11 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 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 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900