Click here to Skip to main content
15,891,905 members
Everything / ActiveX

ActiveX

ActiveX

Great Reads

by Maxim Kartavenkov
Articles describes how to create virtual video capture source directshow filter in pure C#
by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
by Maxim Kartavenkov
Article describes basic task which are requre to solve for developing your own DirectShow Splitter filters.
by Maxim Kartavenkov
Article describes basic tasks for implementing your own File Source DirectShow filters.

Latest Articles

by Southmountain
How to install and register .OCX components for legacy application
by gricardi
As users are migrating from traditional desktops to mobile devices, transitioning your Windows application to the web is the next step to increasing your exposure. Thinfinity VirtualUI delivers your Windows applications to users on any device, anywhere.
by TapasU
Steps to decode Windows Error code
by FranciskaR
Extract pages from a .pdf file and save as bitmaps

All Articles

Sort by Updated

ActiveX 

19 Aug 2010 by #realJSOP
You need to use Winforms integration to make that work. Here's a link that might help.http://blogs.msdn.com/b/mhendersblog/archive/2005/09/23/473065.aspx[^]If that doesn't help enough, google this phrase:"activex control in wpf"
21 Dec 2010 by #realJSOP
I found this with google (you know - that free search engine at www.google.com):http://support.microsoft.com/kb/241849[^]
18 Feb 2011 by #realJSOP
I'm with Sandeep on this. It's pointless, which means it's not sensible. Silverlight is a web technology and is hosted by a web site. You don't "install" xap files on a desktop.
20 Dec 2018 by #realJSOP
Nobody uses ActiveX (aka ActiveExcrement) if they can possibly avoid it. It's insecure. Find another way.
17 Apr 2019 by #realJSOP
DO NOT USE ACTIVEX. (Commonly referred to as "Active-Xcrement") Only Microsoft browsers support it, and anyone with have a brain avoids using it because it's insecure. There are too many examples of writing ADO code for an Asp.Net web site to have to use ActiveX.
20 Oct 2015 by 1234ctk
I'm using a customized VLC control (version 1.1.11) in vb.net, the control need VLC player to be registered on a computer or make sure that the existing version is'nt bigger then 2.0.0.0-in order for make my program run -i want to make my program for many computers and i cant check the problem...
26 Jul 2013 by 2006 Flauzer
I'm developing a C# assembly which is to be called via COM from an old vb6 (ie, "native" win32, not .net) application. I've installed VS2010 Premium in a W7 x64 and simply my goal is to use Visual Studio to debug the C# code...Other hint: the C# assembly is compiled in "x86 mode" (.NET4)...
29 Jul 2013 by 2006 Flauzer
From menu Debug->"Attach to.." option, please point the correct process ie, dllhost.exe COM Surrogate. and not win32 client....
7 Jul 2017 by _Maxxx_
I have a SP using MSXML2 to call a Web Service.It is working on my local machine using SQL Server 2008R2It is not working on my server, using SQL Server 2014.Running the same MSXML2 from a Javascript program from the command line, works on both local machine and server.The SQL Server...
5 Aug 2014 by _Maxxx_
Well, OK , looks like I will have to answer it myself.It turns out that the MSXML6.dll on Windows 7 is different to the MSXML6.dll on Windows Server 2012I don't know what the difference is, but the 'send' method fails on the 2012 version with an error Msxml6.dll 0x80070057which...
6 Nov 2013 by _Sahar
I'm using axShockwaveFlash in my C# project.I don't know why it gives me error:Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))platform of target is x86.what should I do now to fix it?
8 Nov 2013 by _Sahar
I installed Adobe Flash then It fixed.
8 Nov 2013 by _Sahar
HiI use Ultra Office Control to view word document.I want to show the page numbers that change by scrolling.Please Help me to write in c sharp.
4 Dec 2013 by _Sahar
I've solved it : Word.Document wddoc = (Word.Document)axFramerControl1.ActiveDocument;Word.Application wordApp = wddoc.Application;int numberScroll = wddoc.ActiveWindow.VerticalPercentScrolled;txtPage.Text = pageColumn + numberScroll + "";
29 Jun 2014 by _Sahar
I am using the Microsoft Ax Framer Control to view the word document in the Visual C# Form. After Hosting(Open) the Word Document in the Ax Framer Control. While Right Click on the Word Document, Ms word Context Menu is Appearing. I Want to Hide this Pop up Menu. I...
3 Oct 2012 by abhijeet5k
Hi All,Looking for a help, I currently have an ActiveX which can only be downloaded and installed on a machine using Admin Credential. I have to make some changes in the ActiveX so it can be downloaded on a machine using normal user credentials , in short I am trying to make Non Admin...
1 Mar 2010 by Abhinav S
Mark Randel wrote:from a list of ActiveX controls for ExcelThis is a .Net dll and is not registered in the normal activex way. You will need to make it com-interop visible.See here[^] (point 3 specifically).
24 Oct 2010 by Abhinav S
Make sure this COM dll is installed and registered as part of the installation.
19 Nov 2010 by Abhinav S
This[^] article describes some ways to fix this error.
26 Oct 2011 by Abhinav S
First, the term "static object" is a misnomer. A static class cannot be instantiated in .Net.You can expose a static method or class in .Net.Instead of CreateObject you can use the new keyword and that will create an instance of a class for you.In case you don't want to do all this,...
3 Dec 2011 by Abhinav S
You can use the sealed modifier (as described here[^]) in your custom control.
25 Feb 2011 by Accusoft
Did you know you can add barcodes to the forms your organization uses? Barcodes give scanned images a readily identifiable key, allowing for easy storage and retrieval in a database or content management system. Review the code samples and see how to add barcode reading and writing to applications.
1 Jun 2012 by Accusoft
Harness the power of PICTools high-performance native libraries & give your Java applications up to 7x faster JPEG compression over Java JPEG support. This white paper and sample code will describe how to inject this performance into existing Java applications, without the need for a complete rewrit
30 Nov 2012 by Accusoft
Using ImageGear Professional and Barcode Xpress.
12 Feb 2013 by Adwaitam
Hi,I am facing some problems in the deployment of my VB ActiveX DLL on a server.I have a job which runs a stored procedure. The job and the SP are on the same server as the DLL. Using this stored procedure I access the classes (and the methods in those classes) in DLL by using the...
4 Mar 2019 by aelkatatny@eg
Hi, i have a big application written in vb6 sp6, and i am the support guy. i know it's an obsolete version but really it's a very good application. i have a written function to get the servers list by using the SQLDMO following is the code: Dim Names As SQLDMO.NameList Dim SQLApp as...
17 Dec 2014 by Aescleal
My choice would be a DLL that exports a simple C interface - essentially something to initialise the library and register all the window classes. Whether you use another library (e.g. MFC) to implement your controls doesn't then matter for the client of your code.The reasoning behind that is...
9 Jul 2015 by Ahmed E Osama
I use windows 8.1 , with VS2010 Express.I have VLC installed and trying to use VLC ActiveX, I have done the following:1- In toolbox: I selected choose item then navigated to VideoLan Plugin and selected it.2- In project menu I selected Add reference and navigated to VideoLan Activex Plugin...
5 Jul 2014 by Ahrost
Hi,I developed a MFC application to use an activeX control. The ocx file is used for barcode reader in a device.when I add the ocx in my application, two different classes are added to my project.Here is some codes in my .cpp file for class 1:...1) Barcode barcode;2)...
29 Oct 2010 by AJThomas12
A project of mine requires that I call a dll using php via a COM object call:$obj = new COM("SimplAt1Com.SimpleObj") or die ( "Unable to instantiate the COM!");This call seems to work ok but the moment I try to call a function from the object using:$result = $obj->put_Name("A")...
29 Oct 2010 by AJThomas12
E,Thanks for the post.I tried what you suggested...I get the error:Fatal error: Call to undefined method com::put_Name()Do I have to 'define' method's?If so, is it done in the dll code or in my php script??hmmmmmmm....I think I may have just answered my own...
4 Mar 2012 by akamper
HelloI have a Form with a PropertyGrid and a UserControl on it.I would like to add ActiveX-Controls by choosing them in the PropertyGrid (so I would like to list the acitveX controls in list in an UITypeEditor) .Is this possible?How can I access the list of available activeX...
3 Jul 2011 by Albert Holguin
You just have to derive your own classes based on the MFC controls/dialogs. They're object oriented, so adding controls within a control is really nothing more than adding an object within another object.
7 Nov 2013 by Alexander Chernosvitov
ActiveX component for 3D visualization, embedded in different client applications.
22 Apr 2013 by ali_heidari_
hey ...i used this code to compile a source in run time. Microsoft.CSharp.CSharpCodeProvider cscp = new Microsoft.CSharp.CSharpCodeProvider(); System.CodeDom.Compiler.CompilerParameters cp = new...
10 Aug 2013 by AlphaDeltaTheta
Have you searched the CP Q/A and/or Googled it "properly" before? Google itself gives about 4.43 million results.If not then Let Me (properly) Google That For You![^]And this CP Question[^] is the top result.
8 Jun 2011 by Amol_27101982, India
Hi friends,I have created a ActiveX control that contains one textbox and one button. Added that ActiveX control on by .aspx page using Now the only thing pending is to read/ get value of the...
17 Jun 2011 by Amol_27101982, India
I did following workaround to handle above sinerio- From my ActiveX control created a .txt file on some predefined location as c:\SomeFolder\FileName.txt and writing CardNumber which I am reading from the client smart card reader.- And added an extra button (which I really don't want to)...
19 Jun 2011 by Amol_27101982, India
I have created an application in .net 2008 in which I have used a ActiveX control to read smart card.Now while development I was able to view and access my ActiveX control. Following is the way I have added it on my .aspx page
21 Jun 2011 by Amol_27101982, India
I had following workaround for above question. Created a single page application which will have the object tag as follows: Created a different Virtual directory for above application and hosted on the serverand that page is added as source in the iframe as follows: This works...
12 May 2011 by anacba
I have a sample code that uses an ActiveX control on a MFC Dialog based application for WinCE. This sample application have a class that has calls to InvokeHelper in all functions. In the Dialog function DoDataExchange, the function DDX_Control is called where the wrapper is passed as...
30 Jan 2011 by AndyASPVB
HiI have an Active X that is fired from either a button or a hyperlink in a web application that launches Outlook 2003. Unfortunately, the load behaviour is always being set to 2 by Outlook when I monitor this in Process Monitor.I have installed VS Office Tools 2005, during set up or...
10 Sep 2013 by Anorexic Tribble
I am writing a class in C++ that provides HTML editor functionality. It is derived from CHtmlEditCtrl. Well actually it is based on this excellent article DHTML Editor with Table Support and Source Editor[^].My problem is that the ActiveX control provided by Microsoft does not appear to be...
13 Sep 2013 by Anorexic Tribble
See comments under the question.
27 Jul 2010 by Ant Waters
I am writing an ActiveX in C#, to be used in a legacy C++ application.It all works ok, apart from event handling.The problem is that when the event is raised in C# I get the following error: An unhandled exception of type 'System.InvalidCastException' occurred in...
20 Feb 2017 by Antonio Bejar
I built a nice ActiveX control using .net 4.6.1. When using it in a html page inIE11 no problem at all.Then I used the same page using the WebBrowser control, and configuration problems appear.I'm sure webbrowser controls is configurated from IE, isn't it?Please, I need help.Thank...
15 Dec 2017 by AnujAero
Hi, I need help in getting the value for the activeX knob rotation in Microsoft Visual Studio MFC application. I am able to get the data for each knob rotation step, but i need to get the Knob value once the knob rotation in completed not the intermediate values. Can anyone suggest any...
5 Jun 2011 by anvas kuttan
Hi All, I am developing a printing functionality ,when it is hosted in IIS, I wont get the printer status. I found it is not possible to get the status directly. How create an active x control for mozila 3.5 using asp.net c# for getting the priter status details of client...
5 Jun 2011 by anvas kuttan
Hi All, My problem is to retrieve the Client's Printer Collection for a web application and then print to the client's default printer or a printer of his choosing. I know Asp.Net is basically server-side. So I was thinking of using an ActiveX Control which is downloaded on to the client's...
29 Aug 2010 by apriltommy
void CMFC_ActiveXCtrl::OnDraw( CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid){ // TODO: Replace the following code with your own drawing code.// m_MfcDlg.MoveWindow(rcBounds,TRUE);// InvalidateControl(rcBounds,TRUE); ...
21 Jul 2014 by AR547
Dear All Developers,I have to develop a small scale application in which I have to show the counts only. The data will be fetched from database.In web application it is a piece of cake to develop with no. of postbacks as required to show new data each time. But I have to show these counts...
23 Feb 2011 by aravindkrgec
Please correct me if you are wrong. My idea about the doubt is that you have a dlg based application and created a container called Ax0. And from there you have to invoke the activex application fn, foo. In that case do as follows:Create activex method in which you include foo. And call that...
3 Jul 2012 by Areff
Hello Everybodyi need a advise and help about a little activeX , i have to develop some control to control a an external hardware (some kind of a printer) , i have the printer's API inside a DLL , and also we have to develop a activex control to use this hardware in web platform (there was...
6 Apr 2019 by Arkadeep De
Kindly search in Google before posting your question. Here is one of the links where you might find your answer. I am sorry, here in the following link, answer is negative. how to launch a window application(.exe) from a web page with cross browser support[^]
19 Dec 2012 by armagedescu
It is easy.//ATL ActiveX wnd for the nested control, best place is as a class memberCAxWindow wndAnimationWnd; //best in OnCreate:wndAnimationWnd.Create(hWndOfYourControl, //hwnd of outer control &rect_ForEmbededAnimation, //client coordinates inside the outer control ...
3 Mar 2011 by ARopo
We have a product that is partly written in VB6. It is built up ofmany dlls that are activeX dlls. I'm trying to reduce our dependence onregistered COM objects. Since all the components are used inprocessthere is no need for items to be registered and during run-time, usingreg free com I...
20 Apr 2011 by Artem A. Razin
In March 2011, Virtualization Technologies released a new version of the developer library that makes it possible to use virtualization in applications.
3 Dec 2016 by Arthur V. Ratz
You would better to use the previous version of Visual Studio such VSS6.0, in which there's no IntelliSense, since the ATL is old for Visual Studio 2015 intended for C#.NET programming.
15 Jul 2012 by AshishChaudha
I had tried this..Open IE >> Tools >> Internet Options >> Security >> Custom Level >>(Enable) Initialize and script ActiveX controls not marked as safe for scripting You Javascript for ActiveX will surely run.ThanksAshishMark it solution if this is your answer..
3 Dec 2012 by ashishdhingra
I need to access secugen finger print device in my web application.I have got activex from one of my friend,but i am not able to use that.please help.
5 Dec 2012 by ashishdhingra
I need to integrate HCLINFOSECU disk(FD0U04) in my .net application.I tried secugen sdk,but that is not able to detect this device.Please guide.
26 Aug 2013 by ashishdhingra
You can download sdk from secugen site by registering at their site.With SDK,technical document will be provided along with sample code in .net.That will surely help you.
17 Feb 2015 by Ashutosh shukla207
friends.... i want to use ActiveX controls in my c# code behind..... i'm aware to use it throw javascript .. but in code behind i don't know ..... any one please can halp me???
26 Sep 2013 by Ashwani Gusain
please check may this will help youhttp://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp[^]http://api.itextpdf.com/pdfa/[^]
16 Apr 2014 by AsmoconX
The situation (all parts of program are built using C#):The program MUST run on a CLIENT PC. A user will manually login to the Host using windows built in Remote Desktop Connection. Only one Remote Connection will be open at any given time.I am curious if there is a way for the program...
8 Jan 2014 by Baakki
Hi,I need to develop a Control knob application which is having a needle to point 5 positions and shall have five positions..., Already I have used NED knob activex control but in that application the needle is hiding some time..,Pls suggest me the solution.Thank you.....
10 Apr 2013 by Babak Mahmoudi
It depends if the a typelib is available for the OCX. It may be included as a resource in the binary or somewhere else. The quickest way to check that is to add OCX reference in C#. "Add Reference->Browse". Visual Studio will try to create a wrapper of the ocx. If it succeeds you may start...
3 Dec 2012 by BadJerry
Hello,I am trying to write an ActiveX control based on Embedded Chromium. http://code.google.com/p/chromiumembedded/[^]I have had some success but it seems like the activeX crashes once the browser / control is non longer visible and the control is destroyed. I am hoping that the issue...
5 Oct 2013 by balasubramaniyan94
Hi to everyone,I have created two Active x dynamic linking library in c++. Marked one of the active x as safety using IObjectSafety and another is normal unsigned active x.I have tested both the active x in all internet explorer version (6, 7, 8, 9, 10).Both works fine in internet...
25 Apr 2011 by balu12345
Hi all,Please help me with your valuable guidence.I have done a web application which is hosted on our web server and is even accessable via internet for everyone.Once user opens the web site, the user will be prompted to enter the range of IP address to query the n/w for indentifying...
8 May 2011 by barneyman
You could simply host the control in embedded VB?i.e. embedding YOUR control that has WMP embedded in it, is simply a level of indirection you don't need?I've never used embedded VB, but i have done a lot with winMo :)From the wmpHost sample (which i guess is what you're referring...
24 May 2011 by barneyman
it's certainly possible, take a look at http://msdn.microsoft.com/en-us/library/e73ffa52(v=vs.80).aspx[^]You'd need to bolt your listctrl into a COleControl and use a COleControlModule instead of a CWinApp
12 Aug 2012 by barneyman
IE9 is touch more pedantic than the previous versions as regards security for AX objectsThe 3 problems to solve are1. Allowing code to be downloaded2. Allowing code to be loaded3. Allowing script to be runYou can turn these checks off in Options/Security, but i'd suggest you're...
2 Feb 2016 by Beginner Luck
javascript var macAddress = ""; var ipAddress = ""; var computerName = ""; var wmi = GetObject("winmgmts:{impersonationLevel=impersonate}"); e = new Enumerator(wmi.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True")); for(;...
23 Aug 2012 by Belial09
Hi,I have developed an VB.NET InteropUserControl which works properly on my pc.The InteropUserControl is used in a form in an Access 2010 MDA File. If i deploy it as an MDE File to another pc, the Form won’t open with the errormessage "There is no control in this object". The Control...
15 Jun 2012 by Bernhard Hiller
You have to deploy that dll also on the other system, and that means that you also have to register (regsrv32) it.
5 Jun 2016 by bernova
Hi All we write the MyActivex.dll in C#.net and register it in local system using following command :regasm MyActivex.dll /codebase /tlband add this to reference asp.net project and run correctly in local system with IE Browser. but we have face following error :1- when publish...
17 Jun 2016 by bernova
Hi all we wanna Design the Activex that print array of string , but how to bypass array to the printcontroleventhandler as follow , because this is delegate:[ComVisible(true)] public string CreatePrint(Int16 iPrintCount,string[] arr) { try { ...
18 Jun 2016 by bernova
I override the printpageeventhandler as follow :public class MyPrintDoc : PrintDocument { protected void MyOnPrintPage(PrintPageEventArgs args) { PagePrintHandler(this, args, this.arr); }and call as follow :private void...
27 Jul 2011 by bherbert
Been following the example http://www.west-wind.com/presentations/foxpronetwebservices/foxpronetwebservices.asp[^] and get an error "OLE error code 0x80029c4a: Error loading type library/DLL." ! how do i trouble shoot this ?Code i run in FoxProoForm =...
4 Aug 2011 by bherbert
Okay i finally figured out the problem !I just needed to generate a .TLB file for the DLLFoxPro 9.0 like all legacy platforms enforces to use that file for COM server description
14 Jul 2011 by billcodes
hi,I have a web application and i have integrated an activex component in a web page.I have to debug the control.The framework i have used is 3.5,language is c# and browser is IE 7.It's necessary for me to debug through activex code.How can I do that?RegardsBillcodes
20 Nov 2011 by BillWoodruff
Try this article: "Exposing Windows Forms Controls as ActiveX controls" by Morgan Skinner[^].... edit #1 ...this question evidently refers to an attempt to use C# dll inside "SIMATIC WinCC Open Architecture"[^]It appears the OP has used regasm.exe to "register," the C# DLL, then,...
18 Feb 2014 by bling
This *usually* means the containing window is processing the WM_ERASEBKGND windows message. If the Active-X control draws it's own background - having the containing window do this is a waste and also causes flicker. Override this message to return a non-zero value (eg. 1) to suppress this...
19 Apr 2011 by BobJanova
Not the recommended solution! ;)But seriously, I don't think it is. You can't communicate with hardware on the client machine without them installing an ActiveX and permitting you to run it when they visit your website, so why not have them install a WinForms (or WPF) desktop app to manage...
23 May 2011 by bstar1
Hi,I had one ocx say A which was registered in my machine and being used in application say App1. I have upgraded the same A to say A+ and used in application App2. Now my problem is if i register A+, A un-registered and vice versa. Because orinally both were same ocx. I want my both...
18 Feb 2011 by C party
Hi..I want to create an ActiveX control that contain Silverlight (.xap), Is this possible/sensible and does anyone have an sample code for this?so, that after converting that ActiveX (.ocx) into .cab file , silverlight (.xap) can be installed via web browser.
21 Dec 2010 by Cedric Moonen
ActiveX are platform specific (it's binary code). Do you have the version for WinCE ? If not, then that's most probably the reason of your problem.
2 Jan 2011 by Cedric Moonen
Yes, you need to install something on the target PC: the microsoft Visual C++ redistributable package. If your ActiveX was developed with visual studio 2008, then you can find the package here[^]. If you used another version of visual studio, then you have to look for the corresponding package.
18 Apr 2016 by chetanamre87
Hi Experts, We are exposing our SSRS reports through the reportViewer page present in the default BIDS installation. All the features in the report work fine in IE. But when reports are opened on other browsers like chrome, firefox, safari some features like 'Print' button, Datepicker seems...
19 Dec 2012 by CHill60
Right click References, Add Referenceselect the COM tab in the dialog box and locate your activeX object - I'll call mine objA for now - and hit Ok. objA should appear in your list of references.In your code you will need to putusing objA;Then you can use it like any other object...
11 Jan 2014 by CHill60
I found the responses to this stackoverflow post[^] particularly useful - especially the one from PatFromCanada.As to whether you can ignore it in the new version that depends on how you are going about your conversionSee these other resources which may...
1 Mar 2014 by CHill60
If you really want to stick with the ActiveX control then this article may be helpful[^]However I would recommend upgrading the control to a standard .NET datagridview while you have the chance
17 Jun 2019 by CHill60
Have a look at the SysInternals suite of tools Sysinternals Suite - Windows Sysinternals | Microsoft Docs[^]. I think the one you want is ProcMon - you will be able to tell what the COM object is trying to access and work out exactly what is missing. Also ensure that you are using the right...
28 Jun 2010 by chirag2121
Hi,I have a C# form application. When the program starts up, I show this form which has activeX controls over it..I need to be able to drag and drop the activeX controls anywhere on this form..How do I attain this functionality? Is there any code snippet here that can help me?Any...
4 Jan 2010 by Christian Graus
wrote:I know than I have to using WaitFor VerticalBlink() and Flip() functions.Do you ? If you're owner drawing, I'd just expect that you need to double buffer. Hard to know, you don't say what language you're using, where you use your control, or what it does.
15 Jun 2011 by Christian Graus
I think you want to know how many monitors there are. The Screens class contains that information, as well as the position of each monitor so you can position items on them.
15 Jun 2011 by Christian Graus
IF you can't do it, then you've got the wrong project. If you cna't explain what you've tried and where you're stuck, then you're asking us to write your project. The jobs board is for that.