activex

VBA - Reference Label in PowerPoint Presentation with UserForm

南楼画角 提交于 2020-01-25 11:27:47
问题 I am attempting to use a VBA UserForm to edit an ActiveX label in a PowerPoint Presentation (which will serve as a textbox). I can't determine how to reference the label, however, and could use some direction. I have tried variations of Presentations("Combined Staff Agenda Template").Slides(0).Shapes("Date_Label").Value = LabelDate , but I still receive an error. The ActiveX label is on the first slide of the "Combined Staff Agenda Template" presentation, and is named "Date_Label". 回答1:

VBA - Reference Label in PowerPoint Presentation with UserForm

自作多情 提交于 2020-01-25 11:27:25
问题 I am attempting to use a VBA UserForm to edit an ActiveX label in a PowerPoint Presentation (which will serve as a textbox). I can't determine how to reference the label, however, and could use some direction. I have tried variations of Presentations("Combined Staff Agenda Template").Slides(0).Shapes("Date_Label").Value = LabelDate , but I still receive an error. The ActiveX label is on the first slide of the "Combined Staff Agenda Template" presentation, and is named "Date_Label". 回答1:

After setting ActiveX textbox to empty value, previous text briefly appears in box before disappearing again

孤人 提交于 2020-01-25 09:34:08
问题 I have created a data entry form on a spreadsheet using ActiveX TextBoxes, these are coupled with a submit details button and a clear data button, both at the end of execution set the text boxes back to blank to allow them to be refilled by the next user of the tool. However I ave noticed that after the boxes are set to "", when the user proceeds to begin filling the form in again each time the user selects one of the text boxes the previous entry details very briefly flash in the text box

Sign an ActiveX control for intranet usage?

∥☆過路亽.° 提交于 2020-01-24 21:29:05
问题 I have created an activex control that will be used only for our intranet. Can I somehow sign the control for free if its being used only internally or do I still need to buy a certificate? 回答1: You will have to sign the control with a certificate that all machines on your intranet trust. This article http://www.top20toolbar.com/misc/codesigncert.htm suggests a method but it involves importing a certificate on every client computer, which may be impractical for you. If you have an internal

CSS dependent on ActiveX?

主宰稳场 提交于 2020-01-24 09:57:06
问题 I've got my page working in FF, Chrome, Safari, and even IE8... as long as ActiveX is enabled. [link removed] To get the CSS3 features (rotation, opacity, text-shadow) working in IE8, I had to use ActiveX filters. My problem with this is that when you first go to the site, it pops up with a banner at the top, which users have to click, then click Allow, then click OK. I don't think most IE users are going to do this. So I'd like to make the default layout in IE8 (before ActiveX) look decent

ActiveX not working on client machine

本秂侑毒 提交于 2020-01-24 04:35:15
问题 I'm trying to run activex control for a simple hello world message box. First i created the class library and i have now the dll , then i created the HTML page and called the activeX control : <!DOCTYPE> <html> <head> <title>DemoActiveX</title> </head> <body> <OBJECT id="DemoActiveX" classid="clsid:400DCE17-4B26-4E59-9A88-AF39E2BE4A55"> </OBJECT> <script type="text/javascript"> try { var obj = document.DemoActiveX; if (obj) { alert(obj.SayHello()); } else { alert("Object is not created!"); }

mozilla firefox activeX

試著忘記壹切 提交于 2020-01-24 00:13:32
问题 I like firefox more than IE, so am looking for firefox webbrowser activeX control just like the IE webbrowse control to use in my vb6 project. Where can i get it or can someone give me directive as to how to make/compile the gecko st code to activeX thanks 回答1: I wonder if this is what you're looking for: http://code.google.com/p/geckofx/ Or this: https://developer.mozilla.org/en/Roll_your_own_browser_-_An_embedding_HowTo Or even a similar question here on SO: Is it possible to Embed Gecko or

What data type is suitable to handle binary data in ActiveX method?

妖精的绣舞 提交于 2020-01-22 15:17:25
问题 I'm writing an ActiveX control for my friend, that should encapsulate encryption routines. It will be used from VB6 primarily. What data type should I choose for binary data like encryption key, initialization vector, input and output data so that it would be convenient for my friend to use it from VB6? I'm using Delphi 7 to write this ActiveX, if that matters. One choice is to use hexadecimal strings. What can be the other? 回答1: VB6 Binary data stored in Byte variables and arrays. Dim

JS实现浏览器打印、打印预览

故事扮演 提交于 2020-01-21 22:09:58
1.JS实现打印的方式 方式一:window.print() window.print();会弹出打印对话框,打印的是window.document.body.innerHTML中的内容,下面是从网上摘到的一个局部打印的例子,该例子的不足是打印会修改页面的内容。 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>局部打印案例</title> <script type="text/javascript"> function doPrint() { if (confirm('确定打印吗?')){ try{ print.portrait = false ;//横向打印 }catch(e){ //alert("不支持此方法"); } bdhtml=window.document.body.innerHTML; sprnstr="<!--startprint-->"; eprnstr="<!--endprint-->"; prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17); prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));

Vue.js 与 ActiveX 控件

爱⌒轻易说出口 提交于 2020-01-21 03:16:51
目前需要解决的问题有两个: 1、调用 ActiveX 控件函数 传统方式,如下。 document.getElementById('objMqtt').init() 其他方式,未考证。 参考链接: https://forum.vuejs.org/t/vue-ocx-vue/20324/6 参考链接: https://www.jianshu.com/p/5f9c6f05cda1 2、Vue.js 与 ActiveX 事件 方法一:使用 attachEvent 或者 addEventListener 方法。 据说在IE8-10可用,不过未能实现。 参考链接: https://blog.csdn.net/youyouwoxing1991/article/details/88649638 方法二:动态生成脚本,渲染到页面上。IE 9-11,测试成功。 1.在methods中,新增事件触法的方法。 wakeUp(msg) { console.log('receive:' + msg) } 2.在methods中,新增方法,用于动态生成ActiveX控件事件绑定。 initActiveXObject () { var scriptStr = document.createElement('script') scriptStr.setAttribute('for', 'obj1')