activex

How do I get a transparent windows dialog and drawing primitives to remain on top of a window that is drawing streaming video?

I have an activeX control that contains one window that has streaming video being drawn to it. I have a separate dialog that I create in another window that I have made transparent or semi-transparent in various ways (i.e. using the SetLayeredWindowAttributes(...) along with the Layered property [for alpha blending] of the dialog or se...

Where do .CAB files go on my web server?

I am working on an ASP Classic site that uses 3rd party ActiveX controls. I've never worked with ActiveX controls before and I'm not sure where to put the .CAB files on my web server to get them to install through IE when IE can't run the objects. Could someone point me in the right direction? The code in my page to load the object look...

How do I find the ProgId for an ActiveX control using javascript?

I am using an ActiveX control and I need to find it's ProgId so that I can see if ActiveX is disabled using the " var p = new ActiveXObject(ProgId); " try/catch method. All I know about the object is what I put in my .aspx page: Also, I have looked up and down my registry and can't find that CLSID, maybe because it's only instal...

I would like to interactively detect when an ActiveX component has been installed, and asynchronously refresh a portion of the page

Hello, I am working on a website, and I would like to refresh a portion of the page after an ActiveX component has been installed. I have a general idea of how to do this with polling, which I am working on getting going : function detectComponentThenSleep(){ try{ // Call what I want ActiveX for, if the method is available,...

ActiveX cab alternative

I need an alternative to ActiveX Controls to run code on the client-side. I need a solution to download a file and execute it's binary code. But the only solution I found was an ActiveX Cab Control. Basically what this control is going to do is communicate with mainframes through sockets. Maybe I can do this with Silverlight, but I don'...

activex in winform

I need to put some activeX in my .Net WinForm. The provider had sent me a .tlb and the com .dll. Is this enough? How do I put it on winform? ...

Cannot register an ActiveX control on only one computer.

I have run into an odd problem while attempting to register a vendor-supplied ActiveX control on two different computers. On one computer, I can register the part using regsvr32, and then use it in an Access 2007 form with no problems. On the other computer, after I register the same DLL, it is simply not recognized as a valid ActiveX p...

How to stop Explorer giving Active X warning when loading website containing Jquery on USB stick

I've done a lot a looking for a solution, including trying to put in the Mark Of The Web, but when I put a plain HTML site on a USB and launch the index page I get a security warning that Active X is trying to activate. this does not happen when launching the page from our raid server the page in question does not have any javasc...

VB6: problem with activeX dll

hi all, i created an activeX-dll which returns a class object (let's call it myclass). the problem: although i got myclass added in my host-project, i'm getting a type mismatch error when trying to define the returned object as myclass like: sub dll_done(obj as myclass) it only works with type variant. seems like it's something wit...

ActiveXObject issue in javaScript

hi.. I wrote a javascript function in my html page to execute an .exe file. for this i used ActiveXObject. my function is: //~~~~~~~~~~~~~~~~~~~~~~~~~~~JavaScript~~~~~~~~~~~~~~~~ function openWin(url) { if (!document.all) { alert ("Available only with Internet Explorer."); return; } var ws = new ActiveXObject("...

Non-Admin registration of ActiveX Controls

Hi according to Non-Admin ActiveX Controls, it is possible to register activeX under current user (that will not require admin right during the installation). I have crated ATL project (VS2008, native) and added some ATL Control that does nothing. I created an inf file: [version] signature="$CHICAGO$" AdvancedINF=2.0 [Add...

COM - How to convert DATE data type to a formatted string in UTC

How to convert DATE data type to a formatted string in UTC without using the library class COleDateTime. I do not have ATLComTime.h on my system I would like to pass it as a DATE data type and return a string in 'yyyy-mm-ddThh:mm:ssZ' ...

How to determin if a SystemTime value is in UTC

Is there a way to determine the timezone of a DATE data type that has been converted to a SystemTime value? Let say a C# file using the COM lib set the value below: someComInterface.someDateAttribute = new DateTime(somedate).ToUniversalTime(); In the COM library I want to do something like this if(VariantTimeToSystemTime(DATE, &syst...

VBScript Error when calling GetObject("WinNT://JohnDoe,User")

I have code that hasn't been touched in over a year, but the DCs were upgraded from 2008 to 2008 R2. The AD folks claim it’s not the DC upgrade but the issue started promptly after that went in. Microsoft VBScript runtime error '800a0046' Permission denied: 'GetObject' It's failing on the Set Group line. Set Group = GetObject("W...

ActiveX control not processing arrow keys correctly when hosted in Delphi application

I have an ActiveX control hosted in our application. The control was imported using Delphi Import component menu. The ActiveX control contains an edit box for user input. When I run the control in its own sandbox application(not a Delphi app) the arrow keys work as expected moving the cursor within the edit control. However when I run...

How do I integrate MS Word into a web page?

I have a section of a web application I’m working on where there are mail merge templates. The documents are word documents. When a user has need to edit the template I’d like them to be able to simply click edit, which would cause word to load with the document loaded. When the user is done, they click save in word and the web page spot...

Uninstall WM DRM Active-X control

I am using WM DRM to protect content. Licenses for the content are issued through a web page (lauched from within Windows Media Player) using an embedded active-X control with the following Id. clsid:A9FC132B-096D-460B-B7D5-1DB0FAE0C062 Obviously, not everyone has access/permission to install the Active-X control so there is a separa...

ActiveX code from Visual C++ port to Borland C++ Builder

I have the following code example for Visual C++ which creates an ActiveX object which can then be used. // create a smart pointer for ActiveDSO _DActiveDSOPtr activeDSO; HRESULT hr = activeDSO.GetActiveObject(__uuidof(ActiveDSO)); if (FAILED(hr)) { hr = activeDSO.CreateInstance(__uuidof(ActiveDSO)); if...

Any Performance overhead if the application has more 5000 COM objects?

We do industrial automation application and we need to use VC++ application. As part of that we need windows controls which shall be developed in Visual Basic 6.0. When we run the application with tabbed interfaces, we have approximately 5000 COM objects together. COM object count is expected to grow. Are are any performance overhe...

Need transparent overlay window to draw lines on top of window drawing video? ::MFC,C++,windows::

How do you create a transparent window that can be placed over another window that is actively having streaming video drawn to it. I want to create a window on top of the video window that I can draw on without video constantly drawing back over it. I can create a window from a transparent dialog resource and set its z-order using SetW...