Code Hungry
Code Hungry

Reputation: 4000

Can we open .exe file in browser from server?

Please help me if this is possible to do. I am having .EXE file on server i want to run that file in web browser.

Please guide me how can i implement this?

Upvotes: 0

Views: 1725

Answers (2)

robnick
robnick

Reputation: 1768

Web browsers cannot natively execute a random .EXE file (imagine the security implications).

Having said that, on a Windows machine (example), using ActiveX (in the IE browser for the sake of example) or the Mime handling capabilities of the browser, you can open up a Excel spreadsheet, PDF, even invoke Outlook (etc.) on your PC. This assumes the user have allowed such execution to occur etc... But its not the same as running the .EXE

Upvotes: 1

Andrew Thompson
Andrew Thompson

Reputation: 168825

No, it is not possible to open a .exe file in the browser. Internet Explorer can open ActiveX controls, and browsers with Java can load applets, but nether is a Windows executable file like you seem to want.

Upvotes: 0

Related Questions