Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Now, I use ActiveX for running .exe files via browser(IE). But Microsoft have finished support this legacy technology. Its not working in the Edge browser. What alternative solutions exists?

What I have tried:

I have checked Microsoft edge document but I didnt get any idea. What are alternative solutions.
Posted
Updated 18-Aug-16 2:41am
v2

None.
ActiveX was a security nightmare, and was rightly abandoned. IE was the only browser to implement it, and even then it was disabled by default very quickly after it showed so many weaknesses that could be used by malicious sites that users stopped trusting it.
 
Share this answer
 
Comments
leekru 18-Aug-16 8:10am    
What are alternative solutions to resolve this.
OriginalGriff 18-Aug-16 8:20am    
There aren't, thankfully.
ActiveX was *dangerous* - it let sites execute programs on your PC without you knowing. When you think about the rise of Ransomware in an environment when users have to run it themselves, do you *really* want a random website (or a hacked trusted site) to be able to do this to your computer?
leekru 19-Aug-16 0:15am    
Thank you.

Actually I am planning to write browser extensions for edge browser. My browser wants send some information to .exe and .exe will return some information.
Edge doesn't support Active X. How will I resolve this. Tell me approach.
This technology is terminated because it is dangerous.
For security reasons, you can consider that no web page can make changes on the client side other than changing files that are reserved for itself.
The only alternative is not to use a browser and have an app installed by user, which wouldn't be a problem if legitimate.
 
Share this answer
 
Comments
leekru 18-Aug-16 8:10am    
What are alternative solutions to resolve this.
As others have said ActiveX is dead and will hopefully soon disappear along with Adobe Flash. If you update you question with what you system actually does or what you are trying to accomplish we might be able to help you better.

You have to think about the Internet and today's world. The Active X framework was released 20 years ago during the infancy of the web. Things change and paradigms shift. In 1996 nothing was connected like it is today. My watch has a more powerful processor than my PC in 1996. With everything connected today like it is security is a huge concern. The idea of frameworks like Active X are out dated.

You have a couple of choices. The first is to look at what your system is really doing and does it really have to do it this way. We can't answer that for you.

The second would be why not treat these systems like embedded controllers. For example at my company we have several engineering systems that are decades old and only run on Windows Server 2003. When the OS reached EOL we could not simple stop using these systems and we do not have the resources to currently replace them. So what we did was pull them into there own network. They are not connected to any outside network, no updates, no changes.
 
Share this answer
 
Comments
leekru 19-Aug-16 0:14am    
Thank you.

Actually I am planning to write browser extensions for edge browser. My browser wants send some information to .exe and .exe will return some information.
Edge doesn't support Active X. How will I resolve this. Tell me approach.
AnvilRanger 21-Aug-16 18:30pm    
There really is not one. The browser is a sandbox and should not have access to anything outside of it without the user being in full control. You do not give much detail about what you are attempting to do, but if I ever found out that a plugin was communicating with an exe then I would see that as a security issue and immediately uninstall that plugin and report it.

The only option that I know of if you could possibly look at a Java app, but I am not a Java programmer and refuse to use any site that requires it anymore.
leekru 22-Aug-16 8:36am    
Clear description:
I want to launch .exe(developed in c#) on port and after launching the .exe I would like to communicate throw java scripts and c# will send some data to java script.

I need alternative solution. We know edge doesn't support Active X.
AnvilRanger 22-Aug-16 9:55am    
You are not able to do that. That is what we have been telling you. A web site trying to launch an exe on a local machine is a huge security risk. Today's browsers will not allow you to do this. You have to rethink what you are doing.
leekru 23-Aug-16 2:21am    
okay. Thank you. Above functionality have been developed in chrome browser using NMH concept.

Reference Link:
https://developer.chrome.com/extensions/nativeMessaging

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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