activex

What is the difference between “Form Controls” and “ActiveX Control” in Excel 2010?

杀马特。学长 韩版系。学妹 提交于 2019-11-26 10:35:00
Using Microsoft Excel 2010, I noticed two kind of controls that can be inserted into a document: Form Controls and ActiveX Controls . What is the difference between them? Google is full of information on this . As Hans Passant said, Form controls are built in to Excel whereas ActiveX controls are loaded separately. Generally you'll use Forms controls, they're simpler. ActiveX controls allow for more flexible design and should be used when the job just can't be done with a basic Forms control. Many user's computers by default won't trust ActiveX , and it will be disabled; this sometimes needs

How to handle an ActiveX event in Javascript

走远了吗. 提交于 2019-11-26 08:13:35
问题 This is somewhat of a follow-up to an answer here. I have a custom ActiveX control that is raising an event (\"ReceiveMessage\" with a \"msg\" parameter) that needs to be handled by Javascript in the web browser. Historically we\'ve been able to use the following IE-only syntax to accomplish this on different projects: function MyControl::ReceiveMessage(msg) { alert(msg); } However, when inside a layout in which the control is buried, the Javascript cannot find the control. Specifically, if

Overview of differences between Form Controls and ActiveX Controls in Excel

血红的双手。 提交于 2019-11-26 07:42:07
问题 Why are there 2 types of controls available in Excel? (2 buttons, 2 combo boxes, 2 check box, etc...) What\'s the difference between Forms Controls and ActiveX Controls ? Which one should I use? Some code samples I find online work with my controls, but others do not. How come? How do I work with each type, and how can I tell the difference? 回答1: There is [eternal] confusion surrounding the two types of controls available to Excel — exacerbated by the contrasting terminology used by different

Blocking dialogs in .NET WebBrowser control

一曲冷凌霜 提交于 2019-11-26 07:33:50
问题 I have a .NET 2.0 WebBrowser control used to navigate some pages with no user interaction (don\'t ask...long story). Because of the user-less nature of this application, I have set the WebBrowser control\'s ScriptErrorsSuppressed property to true, which the documentation included with VS 2005 states will [...]\"hide all its dialog boxes that originate from the underlying ActiveX control, not just script errors.\" The MSDN article doesn\'t mention this, however. I have managed to cancel the

Print directly from browser without print popup window [duplicate]

↘锁芯ラ 提交于 2019-11-26 06:37:19
问题 This question already has an answer here: Automatically Print Image from Website 9 answers As it said in the subject I\'ve to create a feature for a web-based application that will allow users to send print directly without prompting any dialog boxe just make the print i.e click and print, simple! but not for me :(. Please, suggest what would be the best option and how should I write it up (technology). Suggest please! Thanks. EDIT: The print should be send on the user\'s default printer. 回答1

What is the difference between “Form Controls” and “ActiveX Control” in Excel 2010?

空扰寡人 提交于 2019-11-26 03:28:40
问题 Using Microsoft Excel 2010, I noticed two kind of controls that can be inserted into a document: Form Controls and ActiveX Controls . What is the difference between them? 回答1: Google is full of information on this. As Hans Passant said, Form controls are built in to Excel whereas ActiveX controls are loaded separately. Generally you'll use Forms controls, they're simpler. ActiveX controls allow for more flexible design and should be used when the job just can't be done with a basic Forms

How to launch an application from a browser?

Deadly 提交于 2019-11-26 03:20:23
问题 Is it possible to launch an application from a browser? I am not talking about opening a file from a browser (like open a PDF with Adobe Reader), but rather opening a new (blank) instance of an application that is installed on the user\'s machine. Hypothetical situation: User browses a website that lists computers that can be managed via RDP. He clicks on a link to 192.168.1.10, that link opens Microsoft RDP client (mstsc.exe) with that ip address already filled out. I am talking strictly

Microsoft Excel ActiveX Controls Disabled?

时光总嘲笑我的痴心妄想 提交于 2019-11-25 22:46:21
问题 I have some Excel worksheets that use ActiveX checkboxes to control certain activity. They worked recently but today started to give errors. I was alerted to this by a colleague, but it was still working on my computer. I checked his version of Excel against mine and his was newer. I noticed there were new Windows updates, so I did the update. After I applied pending updates, it now no longer works on my computer. I cannot check the ActiveX checkboxes any longer, and, as a part of trying to

How to launch an application from a browser?

萝らか妹 提交于 2019-11-25 22:02:24
Is it possible to launch an application from a browser? I am not talking about opening a file from a browser (like open a PDF with Adobe Reader), but rather opening a new (blank) instance of an application that is installed on the user's machine. Hypothetical situation: User browses a website that lists computers that can be managed via RDP. He clicks on a link to 192.168.1.10, that link opens Microsoft RDP client (mstsc.exe) with that ip address already filled out. I am talking strictly about Windows universe. Is that thing even doable outside of ActiveX and IE? Is it wise to attempt this in