Internet Explorer-exe交互的最佳实践 [英] Internet Explorer - Best Practices with exe interaction

查看:110
本文介绍了Internet Explorer-exe交互的最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在寻找在台式机上使用exe的最佳/推荐方式.所以我需要具备以下能力:

-检查exe是否正在运行
-如果没有运行,请启动exe
-将文本写到用户个人资料区域中的文本文件中

我正在尝试避免ocx(activex).我目前使用的是.net comm包装的dll,但Windows 64位IE8无法运行它,我也不知道为什么.我已经尝试了IE调试和fuslog,并且什么都没告诉我-32bit可以正常工作.

因此,任何建议将不胜感激...

谢谢
Nathan

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

推荐答案

使用IE和所有其他浏览器的最佳实践和唯一推荐实践:完全没有交互作用带有EXE,OCX(ActiveX)或任何其他特定于应用程序的本地可执行模块.

首先,这可能非常不安全.另外,这是特定于平台和浏览器的技术.而且完全有可能以平台和浏览器无关的方式仅基于开放标准来组织工作. ActiveX对象有时在基于单平台文化的公司环境中使用,在这种环境中,系统管理员确保使用相同的操作系统版本,并控制其支持和工具.对我而言,这种形式的文化"意味着没有文化,或者仅适用于非常严格的非创造性工作环境(例如超级市场).

—SA
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


这篇关于Internet Explorer-exe交互的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆