activex

Control property is accepted by the compiler, causes a runtime "doesn't exist" error in UserControl - but works fine at runtime!

I'm using the LeadTools Multimedia video capture control, which appears as type AxltmmCaptureCtrl. In my code, I have the following line: AxltmmCaptureCtrl1.VideoWindowSizeMode = LTMMLib.ltmmSizeMode.ltmmFit; That compiles just fine, with no complaints or even warnings from the compiler. But when I use the thing at runtime, I get th...

Turning an ActiveX component into a .NET component

I have an ActiveX component with no user interface that was created with C++ / Visual Studio 6. Now I need to create a .NET component reusing the code. How do I go for this? Can I just wrap or embed the ActiveX inside a .NET component? ...

How to pass structure from C# to ActiveX function created in C++ (MFC)

Hi everyone, I've strange problem: the MFC structure is #define SENSOR_DESC_LEN 30 #define CAM_ID_LEN 20 typedef struct { unsigned int SensorType; char Desc[SENSOR_DESC_LEN]; unsigned int CommType; // USB or TCP - COMM_TYPE float FirmwareVersion; float HardwareVersion; int Width; int ...

VB6 ActiveX Controls in a C#/ASP.NET Based Website

We have a website that is based on C# and ASP.NET, I have a barcode scanner with a .dll file to control it that I can get to work in VB6. Before I dig deeper in exactly how to do this I wanted a quick answer on if it is even possible to do what I want first. Can I write an activex control in VB6 that will allow me to control the barcode...

Creating a wxActiveXContainer

My objective is to display an active x object in wxwidgets. I have declared two member pointers: TeeChart::ITChartPtr mpChart; wxActiveXContainer* mpAx; I then create an instance of the teechart control: mpChart.CreateInstance("TeeChart.TChart"); I then wish to create an instance of the wxActiveXContainer defined as: wxActiveXCon...

How to customize print size in .net for a short receipt?

I want to print a short receipt in receipt printer, however, i print a whole long web page size. I refer to the method searched in google and make a dll and register. However, get a automation error can not create object. THen i regsvr32 scrrun.dll and set allow intialize not safe activex control in internet explorer it still get the...

How to implement Website security based on client hardware or other solution?

Hi, I have two websites (one asp classic and the other asp.net) which we would like to implement some kind of security based on the client's hardware. We want something other than a password which could be shared. The purpose is to be sure access to information on the websites is not shared. We were contrmplating storing hardware info...

how can i get compressed content-length in Pluggable IE async

Hi. First, sorry for my english, i'm not a native. I got a Asynchronous Pluggable Protocol for IE, the target of this plugin is monitoring responses of the server when IE requests a web page. Basically, plugin is a activeX what implements next interfaces: class InternetProtocolHook : public CComObjectRootEx, public IInternetProtoco...

Hosting Microsoft Access 2010 in WPF or Windows Forms?

Is it possible to host microsoft access 2010 in WPF or Windows Forms as ActiveX or anything? I've seen DsoFramer examples but it's not supported from Microsoft and not to mention buggy. Some articles suggest using webBrowser but it's coupled with registry settings that I would not like to overwrite. Interobility at that moment isn't tha...

Installing activeX controls

I have been tasked with installing a certain control across the network. I have access to wise installMaster, installbuilder, SMS installer, Advanced Installer, python, PSexec, MSIexec. I have tried on WInXP to register this control using regsvr32, i get that has sucedded in registering, however, its not getting listed within internet o...

ActiveX HWND, DirectX WindowLess mode

Hi. I would like to render video in ActiveX control (not in pop-up DirectShow window). I have: IID_IVMRWindowlessControl IID_IVMRFilterConfig9 CLSID_VideoMixingRenderer9 I would like to set WindowLess mode, but I don't know how to get HWND of..., exactly, of what? IEFrame, HTML element? hr = pWc->SetVideoClippingWindow(???); Anyo...

AxImp Generated Reference

I've recently been working on a C#/VS2008 project which requires 3 ActiveX controls. I created a .NET wrapper using AxImp.exe for the controls, and added them as references to my project. The code had been working without any trouble for a few days. Yesterday, I pulled a clean version from our version control server (the wrapper DLLs w...

Migrating ActiveX Component from VC++6 to VC++2008 giving errors in cstdio and xiosbase

I am trying to port VC++6 code which builds an ActiveX component to VC++2008. Whenever I use "#include", it is giving me errors which point to cstdio and xiosbase. I dont understand the reason for it, Can someone let me know why this is happening? Error trace: c:\Program Files\Microsoft Visual Studio 9.0\VC\include\cstdio(34) : error C...

GPS Software for PC

hi ! I will start on a private project that will require some GPS software on my computer, so far I have been contacting Garmin and Destinator to ask if they have some sort of SDK kit for theire map services. however they could not offer me this in Norway. I am therefore asking here if anyone here know any kind of map software, capable...

Programming an ActiveX component in Visual Studio 2008 vc++

Hi, anyone knows a good tutorial for programming ActiveX in Visual Studio 2008 for VC++? or the way to create methods and properties automatically, like the old Wizzard in VS6.0 did? I was trying harder to find some info, but everything is for C#, VB, or it's explained for VS6.0 and not 2005 or newer :( Thanx everybody. ...

Prompt to install ActiveX not showing

I've written an ASP.net site that requires the use of a 3rd party ActiveX control. Everything works as expected however when a new user visits the page for the first time they do not get a firts time prompt to install the activeX control. (the yellow bar in IE). Where do i begin troubleshooting ? ...

How to hook ActiveX control into events/changes into my viewmodel?

Hi, I've added WindowsMediaPlayer ActiveX to my WPF/MVVM application. Now I need the control to react to changes happening in the viewmodel (most importantly updating URL when the current selection in my collection changes). Based on Walkthrough: Hosting an ActiveX Control in WPF I have the following in my Loaded event: // Create the i...

Why ActiveX "Unknown Publisher" error when using signed certificate?

Hi, I have been struggling for days trying to get a simple ActiveX DLL to work with no success despite studying several articles on the subject which I have found online. I suspect I have several things coded incorrectly as I am just not familiar with this and most of the articles on the subject are out of date. I am using Visual Stud...

Add ActiveX and NPAPI Plugin in one page using Nested Object Tag

I want to embed both an ActiveX and NPAPI plugins in one page using nested object tags (as recommended by Mozilla) instead of relying on user agent. The problem is: I want to use one object id, such as id="MyObject", which will be defined in both object tags (for the ActiveX or NPAPI) so that my Javascript calls the object MyObject dir...

Create new category section for property when bulding ActiveX component in MFC

Hi everyone. I'm building ActiveX component in MFC. The problem is that all properties automatically added to miscellaneous section. I want to unite some new properties with new category. I haven't found it in any microsoft samples. However in some advanced ActiveX controls like Component One controls there are new categories, so it is...