activex

Replacing Latest .NET WebBrowser Control with a browser, like Firefox or Chrome

删除回忆录丶 提交于 2019-12-08 09:31:06
问题 I am using Visual Studio C# found an ActiveX control but it looks like it's an old version. I need: A browser that can integrate inside a window of my application (not a separate window) A good support for CSS, js and other web technologies, on par with any modern browser Basic browser functions like "navigate", "back", "reload"... Liberal access to the page code and output. 回答1: Take a look at CefSharp: https://github.com/cefsharp/CefSharp CefSharp lets you embed Chromium in .NET apps. It is

Run a ATL COM DLL from a Browser (call a method)

不问归期 提交于 2019-12-08 08:37:05
问题 I have a COM Object created using ATL (without MFC Support) The Object has 1 method that opens a Dialog (that does all the rest) Currently I call it from another EXE: hr = CoCreateInstance( CLSID_MyControl, NULL, CLSCTX_INPROC_SERVER, IID_IMyControl, (void**) &pMyControl ); and then: hr = pMyControl->MyMethod (ATL::CComBSTR(InputString1), ATL::CComBSTR(InputString2), &IntReturned, &IntReturned); Is it possible to call it as is from a browser ? How can I Instantiate the object and invoke my

Allowing ActiveXObject for a trusted site

主宰稳场 提交于 2019-12-08 08:26:47
问题 I've had an idea that would greatly improve the intranet homepage at an organisation, but this idea needs activexobject. During testing, I've been unable to disable the prompt asking for confirmation on whether to run the control. How can I overcome this? (The Organisation only uses IE, 8 in some places, but mostly 9) All help appreciated 回答1: Please follow below steps to disable opening of ActiveX prompt for allowing to run. ActiveX controls are essentially mini-programs that can be shared

Excel Comboboxes double up on some PCs

穿精又带淫゛_ 提交于 2019-12-08 08:23:09
问题 I've got an excel workbook witch uses activeX comboboxes to run VBA code. It works fine on most PCs. However some of my clients find that when they click on the comboboxes the combobox appears to double up or duplicate, one on top of the other. Also the doubled up drop down doesn't function. Here's an example (bottom combobox displays the issue): Here's the code - I'm afraid it calls 3 subroutines which are all quite lengthy: Private Sub SegmentComboBox_Change() Call DrawTabCCView PopTab Call

Excel '13 VBA Cascading ComboBox - Trouble getting unique values in Combobox2

回眸只為那壹抹淺笑 提交于 2019-12-08 08:10:20
问题 I finally was able to get combobox2 to load with values that correspond with the selection made in combobox1. The issue is that i can not get only unique values to populate in combobox2. It returns all of the values based on combobox1's selection including the duplicates. I have moved the .clear to various spots in the code but that only changes it from loading multiple duplicate values to showing 1 total value or blank. Here is the source where I am adapting the code from https://www.youtube

“Temporary Internet Files” folder on Windows

妖精的绣舞 提交于 2019-12-08 07:59:54
问题 My Java program needs to delete any temporary internet files that were created by a "Shell.Explorer.1" ActiveX control created by the program. What is the best way to do that? If I go to Tools->Internet Options in Internet Explorer, click on the Browsing history Settings button on the General tab, and then click on the View files button, it takes me to this folder using Windows Explorer: C:\Documents and Settings\<user-name>\Local Settings\Temporary Internet Files I then see a listing of

How do I sign a PDF with a Smart Card in a web context using iText?

家住魔仙堡 提交于 2019-12-08 07:39:09
问题 Read through the following references: iText Digital signature white paper, and C# examples. (specifically chapter 4) For those interested, another great and concise summary of the PDF signing process. CAPICOM documentation. Online examples / questions here and on iText mailing list archives, such as here and here. Hashing code: BouncyCastle.X509Certificate[] chain = Utils.GetSignerCertChain(); reader = Utils.GetReader(); MemoryStream stream = new MemoryStream(); using (var stamper =

Get version of installed Flash ActiveX in Win32/C++

主宰稳场 提交于 2019-12-08 07:10:34
问题 Is this even possible? I'm embedding Flash inside an IE frame in my application and would like to check if Flash and what version of it is installed. The application needs to run without admin privileges. Bonus question: Can I also check if ActiveX controls are enabled in the IE settings? 回答1: The only thing that comes to mind is to examine the file version of the corresponding *.dll or *.ocx file. On my 64-bit system, the file is C:\Windows\SysWOW64\Macromed\Flash\Flash10b.ocx As you

Setting options for VLC ActiveX Plugin

◇◆丶佛笑我妖孽 提交于 2019-12-08 06:45:14
问题 I was able to use the vlc activex plugin (version 1 and 2) in a c#.net application to display videos. It runs nicely, but I can't set any options. Here's the code: string options = "--brightness=2"; // I also tried ":brightness" axVLCPlugin1.addTarget("file:///"+ filePath1, options, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0); axVLCPlugin1.play(); This is for version 1. Version 2 gives the same results. The "options" do not have any effect on the displayed video. The documentation says

load ActiveX object in Applet

◇◆丶佛笑我妖孽 提交于 2019-12-08 04:56:55
问题 I have a web application that processes events and audio received from a specialised microphone. The audio is processed by a Java applet that runs in the web page, but other events (microphone connected, microphone disconnected, microphone button pressed) are handled by an ActiveX object. The ActiveX object traps these events and calls JavaScript code to handle them <!-- Load the ActiveX control --> <object id="PhilipsSpeechMikeCtrl" width="0" height="0" tabindex="-1" classid="CLSID:AAA44754