activex

Can I load more than one COMCTL32.dll into a process?

I'm developing an ActiveX control which (these days) is used mostly in WinForms apps. The ActiveX control has a 'property page' dialog, which can be shown programmatically using the ShowPropertyPages method on the AxHost class. This is the custom UI that can be brought up in Visual Studio to edit a control's properties. This property p...

Access memory address in c#

I am interfacing with an ActiveX component that gives me a memory address and the number of bytes. How can I write a C# program that will access the bytes starting at a given memory address? Is there a way to do it natively, or am I going to have to interface to C++? Does the ActiveX component and my program share the same memory/ad...

ActiveX cannot create object vb6 application with crystal report8.5

I inherited a program from my late dad its developed with vb6 and has sql server 2000 as the back end. when i try to print a report from the application it gives the error message "ActiveX cannot create object" but when i view the report from crytal report it displays everything. Please i need help ...

Dynamically add an ActiveX control without the VS designer

Hi all, I'm trying to dynamically add an ActiveX control to my application, without having to place it on a form. However, when I do place the ActiveX control using the Visual Studio designer, initialization code is generation which contains a statement for setting for OcxState of the ActiveX control. When an ActiveX control is added...

Unable to get window handle, Windowless ActiveX controls are not supported?

I upgraded my development machine to Windows 7 and my project to .NET 3.5. When I try to run the project, I now get this error: Unable to get the window handle for the 'AxVt' control. Windowless ActiveX controls are not supported. The project is using the Dart Emulation for ActiveX Vt control, which emulates a terminal control. I doub...

Tool for ActiveX Control Capabilities

Is there a tool out there that allows me to browse all the ActiveX controls I have installed on my system and the methods and properties that I can access? And of course their UUIDs. ...

Ms Sitelock 1.15 and VS 2005

Hello Folks, I'm trying to implement the MS Sitelock template into one of my Active-X Controls. I've downloaded the sitelock 1.15 sdk and I'm stuck on the very first step. Including the sitelock.h header file causes a bunch of compile errors that have to do with the sal.h header file. It looks to me like sitelock.h wants to use attr...

Microsoft Web Browser Active X broken

Recent windows updates seem to have broken the MS Web Browser Active X control. I found Stephen Labens HTML Editor (http://www.lebans.com/htmleditor.htm) as a demonstration and downloaded it. As in my own application the message is "no object in this control". I'm using Access 2003 on a Win XP machine. My version of shDocVw.dll (Inte...

Adding a User Control to a Webpage

I have a compiled class library containing a user control and I'd like to add it to a webpage. I'm adding an object tag to the html page that looks like: <OBJECT id="Main" classid="http://localhost/HelloWorld/Hello.World.dll#Hello.World.UserControl"&gt;&lt;/OBJECT&gt; However, the control isn't being displayed. The DLL makes it to my...

Handle ActiveX Control Event in C#

I have an ActiveX control (an OCX file) which raises an event. I want to catch that event in C#. How do I go about doing it? I can catch the control's event in JavaScript, here is the code for that <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body > <script ...

I want to convert MFC .exe to DLL which should work on IE.

I have created application which is opening .txt files in an window. I want to make it as Active X which should work on IE. What should i do to convert to DLL. Please suggests. Sow ...

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...

VB Script ActiveX Task for SQL 2000 DTS Package

I'm trying to load data from an external csv file that needs to be massaged before being inserted into a SQL table. Reading the file is fine, but when I try to loop through the stream and load an array using the SPLIT function I get a "Expected End of Statement" error. Do While Not txtFile.AtEndOfStream strText = txtFile.ReadLine ...

Signing an ActiveX control

Hi, I did this before, but i completely forgot how to sign an activeX control? Can anyone help me? thanks in advance ...

Inheriting legacy COM architecture, is it any good?

Our system looks like this: One or many applications containing one or many in-process COM component(s), that communicate with some hardware via a single COM server. (Hope that makes sense - please ask if it needs clarification) The design decisions that led to this system design have been lost in the mists of time, however I think tha...

Remote Machine Scan

Hello, As part of a web-application I'm building, I need to be able to scan the remote user's machine for viruses / malware, before they can continue using the web-application ... something like the McAfee On-Demand Scan. I'm assuming that ActiveX would be the way to go (since all the On-Demand scanners of the antivirus companies seem ...

Windows 7 & VB Classic Code: Any runtime issues?

Microsoft has promised that VB6 code will continue to work on Windows 7, but has anyone noticed any gotchas specific to running VB6 code in the Windows 7 RC? And for that matter, any issues with COM objects and ActiveX controls outside of VB6? I remember Microsoft saying that they'll ensure THEIR controls continue to work and end it at...

Mozilla plugin for remote desktop protocol

Is there a remote desktop plugin for mozilla browsers that can perform remote desktop functionality from with the browser. Similar to the ActiveX control found in Terminal Services Web. IE similar to this: http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=E2FF8FB5-97FF-47BC-BACC-92283B52B310 ...

.NET and COM (ActiveX) objects perspective

We are using a software library from a major US manufacturer. For years the library had mainly two interfaces, a bunch of C API DLLs and a collection of ActiveX controls which encapsulate the DLL functionality. The ActiveX interface worked pretty well back in the old days of Visual Basic 6. Then .NET appeared with it's COM Interop compat...

How to use the Automation object model of Microsoft Office packages (Word, Excel, etc.) in "plain" COM/ActiveX

I finally found the object model documentation for Microsoft Office. However it talks about interop assemblies and stuff that sounds like .NET. I don't use .NET directly, and I don't really want to learn much about it. Is there a way to just use plain COM/ActiveX classes/interfaces to automate MS Word/Excel? ...