activex

How to make COM ActiveX object work in IE 64 bit?

旧街凉风 提交于 2020-01-14 01:38:28
问题 I have a COM object embeded in ASP.NET page using <object classid="clsid:XXX..."> . It works in IE 32 bit, but does not work in IE 64 bit - can't access its functions. There are no error messages, no event logs where I can get some information. The dll is in C#, includes COM visible class, compiled for Any CPU (though I also tried x86), and registered during client installation by executing regasm. This creates registry keys, well everything works fine except for IE 64. I searched internet

voice record (winmm.dll) using C#.net

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-13 00:29:53
问题 My requirement was to build an utility which could record voice (through mic) and save on disk .wav files as desktop and web app. for specific users so i chose activeX technology as i didn't find any other better way (may be you know and can guide me.. would be more than welcome) I used winmm.dll (aka Media control interface (MCI)) and it is working perfectly fine but on specific computers like when i run it on vista, it works fine and on win server 2008 but on windows 2003 and xp it's not

How do you fix “Could not load unit UnitName symbol information for TClassName. Do you want to try to find this file yourself?”

夙愿已清 提交于 2020-01-11 10:13:10
问题 In delphi, creating ActiveX controls was something that was once more popular than it is now. However it remains possible to create ActiveX controls with Delphi. This question assumes Delphi 2007, but it should be the same no matter what Delphi version you use. There are some strange errors in Delphi when you create ActiveX controls. IN my case, I can now no longer import a certain class that I am trying to import and wrap, and Delphi won't tell me why any more, just that it could not load

How do you fix “Could not load unit UnitName symbol information for TClassName. Do you want to try to find this file yourself?”

时间秒杀一切 提交于 2020-01-11 10:12:24
问题 In delphi, creating ActiveX controls was something that was once more popular than it is now. However it remains possible to create ActiveX controls with Delphi. This question assumes Delphi 2007, but it should be the same no matter what Delphi version you use. There are some strange errors in Delphi when you create ActiveX controls. IN my case, I can now no longer import a certain class that I am trying to import and wrap, and Delphi won't tell me why any more, just that it could not load

How do you fix “Could not load unit UnitName symbol information for TClassName. Do you want to try to find this file yourself?”

[亡魂溺海] 提交于 2020-01-11 10:11:53
问题 In delphi, creating ActiveX controls was something that was once more popular than it is now. However it remains possible to create ActiveX controls with Delphi. This question assumes Delphi 2007, but it should be the same no matter what Delphi version you use. There are some strange errors in Delphi when you create ActiveX controls. IN my case, I can now no longer import a certain class that I am trying to import and wrap, and Delphi won't tell me why any more, just that it could not load

Adding #include <boost/thread/mutex.hpp> breaks my ActiveX control?

守給你的承諾、 提交于 2020-01-09 10:48:09
问题 Is there a known problem with the boost::mutex header when used inside an ActiveX control? (Boost version v1.39) If I create an MFC ActiveX Control project in Visual Studio 2008 called "DefaultOCXControl" then I can build it, the control registers itself as part of the build, and can be inserted into the ActiveX Test Container as you would expect. All good. If I then just add this line: #include <boost/thread/mutex.hpp> at the top of my DefaultOCXControlCtrl.h file and rebuild: the

How can I use JScript to create a shortcut that uses “Run as Administrator”

风流意气都作罢 提交于 2020-01-09 10:44:07
问题 I have a JScript script that runs using cscript.exe . It creates a shortcut on the desktop (and in the start menu) that runs cscript.exe with parameters to run another JScript script. It looks, in relevant part, like this: function create_shortcut_at(folder, target_script_folder) { var shell = new ActiveXObject("WScript.Shell"); var shortcut = shell.CreateShortcut(folder + "\\Run The Script.lnk"); shortcut.TargetPath = "cscript"; shortcut.Arguments = "\""+target_script_folder+"\\script.js\"

Implementing ActiveX Control for web browser

大城市里の小女人 提交于 2020-01-07 08:32:26
问题 My requirement is to develop a ActiveX control which can send the byte stream to serial port. The ActiveX control should expose only one function like SendData(char* data, int nLen, int nPort) This function should be able to be invoked by pressing a button developed in java rendered in Internet Explorer(both 32 and 64 bit). I am confused whether i should go with windowless ActiveX control using MFC/ATL or Browser Helper Objects. In future i may need to support Firefox also. Any help will be

JavaScript修改注册表实例

白昼怎懂夜的黑 提交于 2020-01-07 08:29:46
来自森大科技官方博客 http://www.cnsendblog.com/index.php/?p=241 GPS平台、网站建设、软件开发、系统运维,找森大网络科技! http://cnsendnet.taobao.com 注册表有关安全设置项的说明: 注册表路径: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones Zones 项包含表示为计算机定义的每个安全区域的项。默认情况下,定义以下 5个区域(编号从 0 到 4): 值 设置 0 我的电脑 1 本地 Intranet 区域 2 受信任的站点区域 3 Internet 区域 4 受限制的站点区域 注意:默认情况下,“我的电脑”不会出现在“安全”选项卡的“区域”框中。 其中的每项都包含以下DWORD值,用于表示自定义“安全”选项卡上的相应设置。 注意:除非另外声明,否则每个DWORD值等于0、1或3。通常,设置为0则将具体操作设置为允许;设置为1则导致出现提示;设置为 3则禁止执行具体操作。 值设置说明: 值 设置 1001 下载已签名的ActiveX控件 1004 下载未签名的 ActiveX控件 1200 运行ActiveX控件和插件 1201 对没有标记为安全的ActiveX控件进行初始化和脚本运行

Updating caption on ActiveX button in Excel vba

柔情痞子 提交于 2020-01-07 05:11:14
问题 I'm trying to update the caption of an ActiveX control button on an Excel spreadsheet to note that the code associated with the click event is working. The code pulls data from an azure database so pressing the button triggers anywhere from a 5-10 sec delay. My original code had a single sub that essentially looked like this: Sub GetInfofromDB() btnUpdate.Caption = "Updating...." <<code to get data from azure db>> btnUpdate.Caption = "Update List" 'reverts button to standard text End Sub