activex

Conditional hooks in inf file.

Dear all, i have to run my setup.exe file conditionally in a .cab file. that setup.exe installed myproduct.exe. I prepare my setup.exe by using installshield. How can i check in INF file, either my product is already installed , howevere first time it installed silently and work file, but second time when i try again to open web page. it...

callback/event management with COM/Ole/ActiveX

I am writing a native COM/Ole/ActiveX wrapper for a scripting language. I need some advices to implement events/callback (like onreadystatechange from Microsoft.XMLHTTP object) I noticed that some COM objects can call my custom object through an IDispatch interface. Is it the only way to manage events ? ...

Hooks or Subclassing on 3rd party ActiveX

Can we hook or sub-class a 3rd party activeX ocx like acrobat reader control such that it cannot receive WM_LBUTTONDOWN message? If yes then how it is possible ? Thanks in advance Regards, Naeem ...

Developing ActiveX controls

I would like to develop an ActiveX control and as I don't own visual studio I'm wondering whether I can use VisualC++ express edition on it's own, or do I also need the Windows Platform SDK? ...

Using JavaScript to get an LDAP multi-valued string attribute

I am trying to retrieve an object attribute in Active Directory that appears to be a multi-valued string (See canonicalName). After performing a search: var conn; conn.Open = 'Provider=ADsDSOObject;'; var command = '<LDAP://CN=Partitions,CN=Configuration,DC=domain,DC=com>;(&(objectcategory=crossRef)(systemFlags=3));name,nETBIOSName,nCN...

How do I intercept DLL load/unload events in a VB6 ActiveX DLL?

I've inherited a legacy classic ASP application that uses VB6 ActiveX DLLs to perform the business logic. I'd like to track the points at which the DLLs are loaded and unloaded. Is there any way of intercepting these events in a VB6 DLL? On a related note, should Class_Terminate events always run when a their containing DLL unloads? ...

Create Visual Fox Pro DBF with activex

Hi, any one knows if there is a activex dll that can create VFP DBF files? I mean im writing app with 1C:Enterprise 8.2 language, and i need to export some datas into VFP DBF. And i can only use activex dlls in this language. Would be perfect to get free dll, but i can pay also if there is anything good. ...

Disable pan and zoom on Windows Mobile Explorer 6

I have a web page that is used with mobile devices to take signatures, but the signature component doesn't work well in windows mobile 6. When moving the stylus across the component, the screen will pan. I have reduced the viewport size using <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0"...

ActiveX Print a web page

I would like to find or write an Internet Explorer ActiveX control that will allow me to print a web page to a specific printer without a dialog box. The problem that I am having is that this particular page needs to print to a label printer with very specific orientation properties. Can anyone get me started? Thanks. ...

Is it possible to control when the activeX warning appears in Excel 2007

We have an Excel spreadsheet with an ActiveX control on one of the VBA forms. We are getting an ActiveX security warning popup - this is expected and perfectly fine. The odd thing is that sometimes the warning appears when you first open the workbook, and sometimes it doesn't appear until the form the control is used on is opened. As ...

Difference between COM DLL & ActiveX control

Few similarities I know.. Both cannot execute by themself. It needs some program to instantiate it. COM DLL & ActiveX controls are platform independant.. (Is it so..?) Both requires to support the interface IUnknown & exposes three methods QueryInterface, AddRef, and Release It also requires be registered before using & un-registered a...

WPF as IHTMLPainter control

I need to host WPF control inside IE, therefore I'm trying to implement IHTMLPainter and IElementBehavior interfaces. I'd like to build my custom behavior and use it inside IE, but the problem is how to draw WPF control by just having IntPtr hdc parameter. Probably I can get Drawing.Graphics by the following code: Graphics.FromHdc(hdc);...

Issue with .cab file (ActiveX) installation on Windows Vista and 7

I have made an ActiveX control and have made its .cab file for automatic installation on client machine using Internet Explorer.. It working fine of Windows XP, but on windows Vista and Windows 7 its installation is blocked by UAC (User account control), and when I disable it, all things works fine... I have signed my .cab file with a ce...

Manually Installing ActiveX component

I'm trying to view a surveillance camera system. The remote access is available through a website, and that website seems to need to download a CAB file full of goodies to let me view the cameras. On some of my systems this install process goes over nicely. On a few, particuarly the ones with slower Internet, I get into an endless-l...

Embed a Windows Form in a web browser

I have a class which inherits System.Windows.Forms.Form. I need to make the form available via a Web browser. The form currently allows a graph to be generated given various parameters. So embedding it directly in a web page would be ideal for my needs. How would I go about doing this? Thanks. ...

ActiveX running Issue on Vista

I have Installed ActiveX control on windows vista.. using Internet Explorer and cab file.. It is installed.. I have signed the ActiveX with a test certificate.. but IE is not running my ActiveX, but when I launch the IE by right clicking it and then "Run as Administrator" every thing works fine.. This ActiveX is working fine on Windows X...

How to Set ActiveX Control Name

I have an ActiveX control and have signed it with a test certificate every this is working fine but problem is that My internet explorer shows an ugly message The website wants to run following add-on: 'Not Available' from 'Control name is not available', If you trust the website and the add-on and want to allow it to run, click here.......

Using Windows named pipes from inside activeX control - Possible?

Hi All, I am starting to design a DMO to run from inside a windows media player activeX control in Internet Explorer. is there any reason why using windows named pipes from inside the DMO wouldn't work? user permissions/privilages/ kernel mode stuff? Thanks :) Roey ...

VOIP Softphone with API or strong command line interface

Does anyone know of a sip softphone that can be controller by an API. Xlite can launch a call through command line interface, but thats pretty much it, preferably looking for something cheap, the voip SDKs iv seen are pretty expensive and i wouldn't have any knowledge of sip protocol or development. ...

ATL Combobox-based control

I'm trying to create a simple ATL control based on a ComboBox under VS2008. So, I create a new ATL Project using the ATL Project Wizard, then add an ATL Control to the project using the ATL Control Wizard. I use all of the default settings except that I tell the wizard to base my control on ComboBox. The wizard does its thing and generat...