activex

How to login to the Microsoft RDP Client Control ActiveX using QAxContainer.QAxWidget() and PyQt

天大地大妈咪最大 提交于 2019-12-12 01:55:11
问题 everyone! Help me please with connecting to the Microsoft RDP Client Control using QAxContainer.QAxWidget() in Python and PyQt... This is my code snippet: QAx_RDP = QAxContainer.QAxWidget(self) QAx_RDP.setControl('{54d38bf7-b1ef-4479-9674-1bd6ea465258}') QAx_RDP.setProperty('Server', 'xxx.xxx.xxx.xxx') QAx_RDP.setProperty('UserName', 'user') QAx_RDP.Connect() All works fine, but I need to enter the password manually... My QAx_RDP object has the AdvancedSettings2.ClearTextPassword property,

IE Error using active X object

柔情痞子 提交于 2019-12-12 01:33:22
问题 Well, I'm having trouble on creating an ActiveXObject! It works nicely on IE7 but on IE8+ it crashes the application! I'm trying to do the following: var oXml = new ActiveXObject('Microsoft.XMLDOM'); oXml.async = false; oXml.loadXML(document.XMLDocument.xml); When I try to loadXML by document.XMLDocument.xml the browser says that document.XMLDocument.xml is null or not an Object!! I already tried many things, like this: http://dean.edwards.name/weblog/2006/04/easy-xml/ and lot's of stuff, but

Are there any good resources for dealing with “User Document” (.dob) files

て烟熏妆下的殇ゞ 提交于 2019-12-12 01:17:52
问题 I've inherited a vb6 application that makes use of "Visual Basic User Document" files (.dob). This tech seems to be abandoned and forgotten. Are there any good resources out there for working with them? 回答1: Almost no-one used ActiveX Documents when they first came out, and I imagine there's hardly anyone using them now. I've never used them. Here's some suggestions. I haven't read the ActiveX Document sections myself (never needed to) but I know they are reliable sources of information on

launch an application from browser with parameters (cross browser)

Deadly 提交于 2019-12-12 00:54:25
问题 I am trying to launch an application from a webpage with parameters. Activex shown below works only at IE. MyObject = new ActiveXObject( "WScript.Shell" ); MyObject.Run('"C:\\Program Files\\application.exe" -guiparm=".." -system=..-client=..-user=.. -pw=..'); ` Is there any other way to do that cross browser? Thank you very much for your help 回答1: You can use the following: <a href="c:\windows\Notepad.exe" type="application/octet-stream">Launch Notepad</a> From what I remember using file://

Use JavaScript/ActiveX to get list of files

心不动则不痛 提交于 2019-12-11 18:51:54
问题 I've been Googling for hours with no avail...! How do I use the Scripting.FileSystem object? In my current case, I want to fill a SELECT element with a list of folders from a particular location. Then, after selecting a folder, I want to display all images found within that folder. Thanks P.S. Security is not an issue. 回答1: You can not use Scripting.FileSystem in web pages because of security reasons. In case you have enough permissions to create such object (HTA or no IE security), it can be

How can I reuse classes in my VB6 application?

≯℡__Kan透↙ 提交于 2019-12-11 18:45:31
问题 First of all, as I am using VB6, please confine your kind suggestions to techniques applied to VB6. I have a set of controls related to each other as the above figure shows. It includes several treeviews, a split bar, a listview, a subform( a usercontrol), and etc. When I click or change the treeview nodes in the left, the right controls will change their display accordingly, and vice versa. The data behind the scene is maintained in an Access database. This set of data management and display

Windowless ActiveX controls are not supported windows 2008R2 - Works in Windows 7

牧云@^-^@ 提交于 2019-12-11 18:24:09
问题 I have a windows forms application that uses legacy vendor com objects. I've registered the ocx. The VS2010 project succeeds in referencing the axFOO dll. The code works in Visual studio running on Windows 7. The setup project installs correctly and if installed on my local PC (win7) it works. When I attempt to install on a windows 2008 VM, installation is successful, when the portion of the application that uses the object is executed it fails with this error: Unable to get the window handle

Getting “Invalid Floating Point” error with ActiveX Control in Delphi

*爱你&永不变心* 提交于 2019-12-11 17:32:41
问题 A vendor has developed an ActiveX control in Microsoft C++. The ActiveX worked fine when they were using the 16bit version of the compiler. The control does not work when compiled using the 32bit version within the Delphi2007/D7 environments. If you drop a control on a form and run it throws an "Floating Point Error". It is a Delphi issue. We are able to use the ActiveX in other applications. Anyone ever have a similar problem or have a solution for this? 回答1: Sounds like an FPU problem -

Remove border on activex ie control

爷,独闯天下 提交于 2019-12-11 16:28:46
问题 For the application im building, i use an activex ie control. It works greate but i cant work out how to remove the border around it. I have tried overriding the invoke call and setting DISPID_BORDERSTYLE to zero but it looks like it never gets hit. Any ideas? 回答1: I think you need to implement IDocHostUIHandler on your host. then in GetHostInfo you can return the DOCHOSTUIFLAG_NO3DBORDER or DOCHOSTUIFLAG_NO3DOUTERBORDER flag. 来源: https://stackoverflow.com/questions/1087537/remove-border-on

Saving binary file from base64 text data by IE, ADODB.Stream to hard disk

橙三吉。 提交于 2019-12-11 16:23:46
问题 I had a problem when try to saving a binary file by IE, ADODB.Stream on client. Assume the the client's browser has full permission to write file to hard disk. Here is my client code witten by javascript.: var base64_encoded_string = "base64 string of a binary file"; var data = window.atob(base64_encoded_string); var stream = new ActiveXObject("ADODB.Stream"); stream.Type = 1; // text stream.Open(); stream.Write(data); //Problem in here stream.SaveToFile("D:\\Whatever.pfx", 2); stream.Close()