activex

Detect registered protocols in Windows from web page using IE

Programs for MS Windows can associate some protocols with them. So when you click in browser, registered program for protocol "myprotocol" will be opened. Like "mailto:[email protected]" opens your Email programm. I have a website and want to know if visitor of my web site have registered some protocol in his system or not. So when he clic...

HTML5 Local Storage - Creating and writing to a json file?

Hi all, We are building a web application using SVG & JS. The log file for this application needs to be created on the client side and then finally uploaded to the server once the project is ended. As we donot wish to go near ActiveX controls, is it possible to achieve this with the new HTML5 'Local Storage'? Isnt that what 'Local Stor...

VB6 ActiveX exe loses focus when launched from a third party app

I have a VB6 ActiveX exe that is launched from a third-party CRM App. On launch, the main form opens but it starts to flash and then loses focus. If you move the form, you'll see a server busy screen with the Switch To, Retry button. I've tried using SetFocus and the SetFocusAPI in the OnActivate event of the form, but that doesn't work...

Getting error when trying to handle ActiveX event

Hello, I have a two ActiveX servers I need to handle it's events. the first one I got to work with no problems but with the second one I get a error once I try to assign a new event. The one that works the code is below: public delegate void ICwGetXEvents_OnCommandExEventHandler(uint CommandW, uint CommandL, string CommandText); ...

Calling a dynamic function into an object error

I know the title sounds a bit strange, but this has been boggling my mind for a little bit. So Intel offers this TurboBoost sidebar gadget with calls using JavaScript, and I want to write a program from scratch in C# that does the same thing. The calls stem from what I believe is an ActiveX DLL which I easily imported. The problem is, wh...

blocking in STA COM object

I'm about to write a control that has this defect. Why exactly is this bad? Your ActiveX control has a common defect that single-threaded apartment (STA) ActiveX & COM objects must avoid: STA COM objects cannot perform blocking operations on the STA thread, unless the COM object also pumps Windows messages. Therefore, ...

how to raise resize request to active-x container?

We have an active-x control developed using ATL with MFC support. Our active-x control shall be used in something called frame application. The frame application create its own active-x control and embed our active-x control inside it at runtime. There are 20+ frame applications in the industry. Now the issue is that each frame applicat...

Detect if no system activity from browser (including activity outside the browser)

I need to detect if the is no user activity in the system (e.g. what screensaver does) - all from a web browser. As far as i'm aware it is not achievable using pure JavaScript. There is a library for detective idle input within a browser though: jquery-idletimer-plugin For system idle events I'm thinking ActiveX control or SilverLight....

.NET user control for use in a web browser and prevent design time use

Hello, I created a .NET user control that will be installed on a user's pc via cab file. the cab will be signed with my company name and will register the .net component on the user's machine. I would like to make sure that users do not take my .net binaries that are on their pc and use them at design time in 'ANY' IDE .. With ActiveX...

.NET [LicenseProvider(typeof(LicFileLicenseProvider))] and LicenseManager.UsageMode

Hello, I started using the .NET licenseProvider to add licensing for my net user control that can be used in a web page. In my user control's constructor I check if the control is being used in DesignMode or RunTimeMode : bool designMode = (LicenseManager.UsageMode == LicenseUsageMode.Designtime); As soon as I start using the [Licens...

flash activex in wpf issue

I know how to host a flash activex in wpf, but there a issue to that. After I reinstall my os , my app failed to laod a flash file, but after I opened the flash file with web browser and restart my app, my app worked again. is there some configuration I have to do ? ...

Activex component for asp.net page

Does anyone know how to add an com (active x) control to an asp form? I have ticked the object in the "tools->chose toolbox items" list but it never actually appears in the toolbox. I have tested with a standard C# win forms application and then the com object appears in the toolbox. When i try to use the com object in an asp.net applic...

How to convert ActiveX control to NPAPI plugin

I have an ActiveX control which is designed to * Search for nearby wireless networks * Create a wireless access point * Manage network adapters I would like this plugin to work in Google Chrome/Firefox. In IE; I can use the following code to embed: <object classid="clsid:33FC4347-8118-4DB5-BFBE-8FCF2C96A997" width="32" height="32" id="...

DAX Error: Access violation Read of address 00000000

Every time I try compile a VB project that uses a Delphi (2007) activex, I get a DAX error in the delphi activex. This only happens when I try to compile the VB project. Anybody knows what might be going on? ...

Access OpenPDFFromMem function of an ActiveX control in .NET

I have an ActiveX control which has a function for opening a document directly from memory. The function has the following signature: Public Overridable Function OpenPDFFromMem(ByVal lpPDFData As Integer, ByVal nPDFDataLen As Integer, ByVal lpszUserPwd As String, ByVal lpszOwnerPwd As String) As Boolean How do I load the document in me...

Instantiating an ActiveX Object

I have imported an ActiveX library into my project in Visual Studio 2008 using: #import "TeeChart8.ocx" named_guids Now I would like to create objects exposed by the ActiveX library. However, I am having trouble understanding the API. There are two files that were created after I built the project with the #import, a .tli file and a...

Using mscomm ActiveX with Qt (solved)

Hello. I know this question may seem odd due to new existing alternatives, but trust me there's a reason. I would like to use the mscomm active X control to communicate through serial port with Qt. Yes, I know there's QextSerialPort, QSerialDevice and a lot of examples about how to write serial communication code. But due a problems I...

catching exceptions in Javascript thrown from ActiveX control written in C++

I've written an ActiveX control in C++ that throws (C++) exceptions out when error conditions occur within the control. The Javascript code that invokes the object representing an instance of the control is surrounded by a try - catch block: try { var controlInstance = window.controlInstance; ... perform operations on controlIn...

ActiveX object is not receiving fired events

i, I`ve written a class A and implemented it in an Active X object (AXObj). Class A should also receive events fired from another object(O2). O2 is created inside A and I use EasyAdivse to connect the two objects, i.e. O2 is the event source. I know O2 is exists because I am able to directly call functions that O2 implements from with...

What are the good wysiwyg HTML editor controls based on ActiveX?

What are the good wysiwyg HTML editor controls based on ActiveX? There are two editors I have found so far, both are good but also have some shortcomings. I am looking for a better alternative. nBit HTML ActiveX Control XStandard Pro XHTML WYSIWYG Editor Javascript based HTML editors are not relevant in my context. I want to add th...