ocx

Create ActiveX OCX control

We are using a system that allows ActiveX extensions through .ocx files. I need to write an extension to plot some specific proprietary graphics. After lots of searches, I found out Visual Basic 6.0 can create these ActiveX controls and deploy them as .ocx files. So, is VB6 the only option? I'm reluctant to believe no other options hav...

Exception in Delphi App: EOleError Could Not Obtain OLE Control Window Handle

I'm coding a Delphi application using Delphi 2007. I'm using a third party OCX and when I try to show a form from the main form I'm getting an exception: Exception class EOleError with message 'Could not obtain OLE control window handle'. The form that I'm trying to show was created manually within Delphi with the OCX dragged from the...

Why does my Com Ocx not catch Key Presses in IE7

We have a COM OCX that catches various keypresses to IE when it's loaded into a web page. This OCX works well in IE6, however does not catch any keypresses in IE7. It does load in IE7, generate other events (which are caught by Javascript). It throws no errors. I've run the Microsoft Application Compatability Toolkit as it's runnin...

Validating streaming URL's in PHP without using WMPlayer.ocx ...

We have a SOAP-based webservice that our client uses to validate their updated live streaming video URLs. We implemented this service so our client can rotate their live streaming publishing points multiple times a day to obscure their location. The problem is that we do a number of checks on our end to validate these new publishing poi...

An error occured while registering ocx files?

Hi everyone, I created an ActiveX control ocx file using Visual Studio 2008. Then tried registering the ocx file from command prompt "regsvr32 filename.ocx" It gave an error saying "Load Library(filename.ocx) failed- The application has failed to start because configuration is incorrect. Reinstalling the application may fix this proble...

activex in VB ocx file

How do I catch events of activex visio control in ocx file in VB? in dll file I had a method QueueMarkerEvent that caught the events, but it doesn't catch the events in the ocx file. ...

VB6 Error - Cannot load .ocx File

Good afternoon, I have been trying to load a OCX file into one of my VB6 projects for most of the day today. I've tried checking the COM registration in the registry the best that I know how, and have attempted several times using REGSVR32 on the file to no avail. All I keep getting from VB6 when I try to load the component (Under Pro...

Mappoint 2009 Europe MapPointControl.ocx

I have an old legacy VB6 app that I support, which uses the MapPointControl.ocx. Customers are saying it doesnt work with Mappoint 2009. Having Googled, it would appear the European addition of Mappoint shipped with a bad OCX file on it. Apparently this has now been sorted on the latest CDs, but that doesnt help my customers who are s...

Issues while trying to install a digitally signed .ocx file

I have a link to an digitally signed ocx file in my web page. When I browse to that page I get a prompt to install the active x control. I click on install but the ocx never gets registered on that machine. I got to this log file through the Code Download Error log viewer. Code Download Error: (hr = e06d7363) Unknown Error!! Operation ...

OCX Build File Rule?

In my quest to use an OCX file as a resource in my project, I initially started to use Visual Studio C++ Express Edition which easily allowed me to add the OCX file as a resource and view/utilize its functions. However, upon upgrading to Visual Studio 2008, whenever I try to use the OCX file as a resource (in C++ mode) it asks for a bui...

msdxm.ocx and duration issues

This is a VB6 question. How does Windows Media Player compute duration? Is it possible to detect corrupt media files and do not compute duration on these? I sometimes get duration = 0, why does that happen? Thanks :) ...

ImpersonateLoggedOnUser and starting a new process that uses ocx fails.

I write a c++ windows application (A), that uses LogonUser, LoadUserProfile and ImpersonateLoggedOnUser to gain the rights of another user (Y). Meaning the A starts using the user that is logged on on the workstation (X). If the user wants to elevate his rights he can just press a button and logon as another user without having to log hi...

About multi Flash.ocx verisons in one machine

I have a application using Flash.ocx to get the frame picture from SWF file, after updating adobe flash player to the newest, the frame picture is totally wrong. Is there a way to keep the old Flash.ocx in my running folder and my application will use that instead of the one in the system folder? I tried add the flash.ocx within applicat...

Flash ocx "Class not registered" on Windows 7 x64

I have a WPF app that uses Flash10c.ocx developed on a 32 bit machine. I didn't have to register the ocx on my dev machine, I just installed the latest flash, added a reference and started coding. When testing on a 64 bit system I get ye old "Class not registered" which I think mean I need to regsvr the ocx. Is it Ok to just copy the ...

Load OCX component from a different location

Is it possible to load an OCX component for one application from a different location than the system default without unregistering the one in the System32 directory with regsvr32? Two applications are having conflicts with an OCX component. ...

VB6 application requiring comdlg32.ocx, running on windows server 2008

I have a legacy vb6 application that needs to run on a server 2008 machine. I have been unable to get comdlg32.ocx to register, which the application depends on. Any suggestions? ...

Registration-Free Activation of COM Components

Does this example for Registration Free Activation still work in VS2008 and Windows Vista/7? http://msdn.microsoft.com/en-us/library/ms973913.aspx I haven't been able to get it to work. But I was able to use the Isolated COM setting to make an embedded manifest load an OCX file as I wanted. Registering with regsvr32 worked also, so so...

Unable to register VB ocx components (err 0x80040201)

Hi, I have a problem trying to register some ocx files. When I execute regsvr32, it returns 0x80040201 error code. I'm using win xp SP3 and my user has administrator permissions. When I try to register them with another user on the same machine I can do it without a problem, and both users are administrators and have "total control" p...

Specify Isolated COM settings in dependent DLLs or just executable?

I'm setting the Isolated COM project settings in a C++ VS2005 project to load an ocx component using the Registration-Free Activation method. If the ocx component is also used in a DLL library my application loads, do I need to set the Isolated COM settings in that DLL project's settings as well? Or would setting only the main applicat...

How do I use IE ocx on VB6

Hi guys, I'm using this EDIMAX IP Cam (IC-1520DP) which has a browser based administration. When I first login, It ask me to install an OCX (IPCamPluginMJPEG.ocx). Now I wanna use this OCX so I can have the camera displayed on a form in VB6, I can add a reference to the OCX and everything is fine but I can't initialize or use it at all ...