Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello,

I'm looking for the best/recommended way working with an exe on the desktop. So i need the ability to do the following:

- check if exe is running
- start the exe if it's not running
- write text to a text file in user's profile area

I'm trying to avoid an ocx (activex). I am currently use a .net comm wrapped dll but windows 64bit IE8 won't run it and I do not know why. I've tried IE debugging and well as fuslog and doesn't tell me anything - 32bit works just fine.

So any advice would be greatly appreciated...

thanks
Nathan
Posted
Updated 26-Oct-12 5:46am
v2

1 solution

The best and the only recommended practice of using IE and all other browser: absolutely no interactions with EXE, OCX (ActiveX) or any other application-specific local executable modules.

First, this is potentially very unsafe. Also, this are platform and browser-specific techniques. And it's quite possible to organize work based only on open standards, in a platform and browser independent manner. ActiveX objects are sometimes used in corporate environment based on mono-platform culture, where system administrators make sure the same operating system version is used, and control its support and tooling. And to me, such form of "culture" means no culture, or something suitable only for very rigid non-creative working environments (such as supermarkets).

—SA
 
Share this answer
 

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