activex

C# dll as an ActiveX control to access GPS data in Windows Mobile 6.1 IE

Is it possible using VS2008 and C# to create a class library which can be treated as an ActiveX control on a Windows Mobile 6/6.1 device? I am looking to retrieve the positioning details from a device so I can post the current location on a google map. I have this all working nicely as a application but I need to expose the same functio...

JACOB (Java/COM/ActiveX) - How to troubleshoot event handling?

I'm trying to use JACOB to interact with a COM object. I was able to invoke an initialization method on the object (and to get its properties), but am not getting any events back. The code is quoted below. I have a sample HTML+Javascript page (running in IE) that successfully receives events from the same object. I'm considering the fo...

ActixeX Control zoom in/out in IE

I have a webpage with nested ActiveX control. When I use zoom in/out in IE browser design zooms correct, but ActiveX control stays the same size. How I can zoom in/out ActiveX Control corresponding to webpage zoom? ...

How can I test for an ActiveX control without using new ActiveXObject()?

Is there a way to test for the presence of an ActiveX control (with JavaScript) without actually attempting to create an object from it? The control I'm attempting to detect is taking a long time to instantiate; I'm just looking for a more efficient approach, if there is one. Thanks in advance! ...

How to avoid manual editing of manifest file

My VB.Net application uses isolated activeX (outer), that depends on another activeX (inner), both are using registration-free-com. The generated manifest file contains only the information for the outer activeX. (probably because vs cannot know that the outer activeX is using inner activeX ) When I re-build my project, I always need t...

Invisible ActiveX that takes a string

I need to adapt a simple function (let's say) int printText(string) written using an MFC library (this function prints the text on a particular printer whose driver lib is completely developed by MFC), to two applications developed the first in LabView and the second in Java (Eclipse RCP). I've thought that an ActiveX component is the ...

How to use Mozilla ActiveX Control without registry

I've been using the IE Browser component that is part of Windows. But I'm running into problems with security settings. For example, users get security warnings on pages with Javascript. So I'm looking at using the Mozilla ActiveX control instead. It's especially nice because it has a compatible interface. It works well if I let it inst...

How do you create multiple versions of an ActiveX control?

Hopefully this is a straightforward question, but googling has proved fruitless (and frustrating, to say the least). Links to good documentation would be greatly appreciated. Here's the problem. We have a web application with an associated ActiveX control. (The control wraps a crufty old MFC application if it matters.) Moving forwar...

.NET consumer of ActiveX throwing TargetParameterCountException

I have a .NET (3.5 w/ Dev Studio 2008) app that hosts a visual Active X (written in C++ w/ Dev Studio 2003). Have access to all sources, but can't easily move the Active X control up to 2008. This as worked fine in the past. Made some changes to the Active X control and now, when calling one method on the Active X, I'm getting a TargetP...

Prevent property page size change at dynamically (runtime)

I developed (ATL)ActiveX control which used to launched by 3rd party applications. My control has CProperySheet as a child, and which has few property pages. Once control created, i creating instance of CProperySheet, adding property pages to sheet and setting sheet window size to fit control size. In the propery sheet i have three butt...

Open the Word Application from a button on a web page

I'm developing a proof of concept web application: A web page with a button that opens the Word Application installed on the user's PC. I'm stuck with a C# project in Visual Studio 2008 Express (Windows XP client, LAMP server). I've followed the Writing an ActiveX Control in .NET tutorial and after some tuning it worked fine. Then I add...

Good freeware COM/ActiveX Type Library Explorer?

I used to have a dated, but valuable solution to display COM/ActiveX control- and type-library contents (ProgIDs, method names and signatures, enumerations, constants, interfaces/coclasses, etc.) of all such libraries registered on my system. It provided an Explorer-like overview of everything that was available to ActiveX development/...

How can I sign an ActiveX control with a code signing certificate and be a verified publisher?

I'm trying to sing an ActiveX control with a code signing certificate issued by Thawte. I was able to successfully sign the control using signtool.exe. When I look at the file properties, it says "The certificate in the signature cannot be verified." When I view the certificate it says "Windows does not have enough information to ve...

Assembly not referenced error with Interactive Brokes ActiveX API

I'm attempting to use the Interactive Brokers ActiveX API, but I'm having a little trouble: error CS0012: The type 'System.Windows.Forms.AxHost' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ...

COMException in System.WIndows.Forms.dll with Interactive Brokers TWS API

Hi, I've been trying to run the sample project provided with the tutorial at stockbotprogramming http://www.stockbotprogramming.com/sharpcibtutorial1.php , but I keep getting a COMException every time I run the application. I have the TWS Client running and the sample VB projects provided with the API are able to connect just fine, but ...

Pass parameter from page to ActiveX

<object id="Bacs_DBTableRepX" classid="CLSID:CA8B72B3-3B15-40D7-9364-478E25AF5B41" codebase="Bacs_DBTableRepX.cab" style=" Z-INDEX: 102; LEFT: 20px; WIDTH: 1200px; POSITION: absolute; TOP: 80px; HEIGHT: 600px"> <param name="ax_Command" value='<%=GetText()%>'/> </object> Here is my try ...

VB6 ActiveX exe - what is the proper registration sequence?

I have recently updated a Visual Basic 6 application that is an ActiveX exe, running on Windows XP. I have a couple of testers for this application who have received a copy of the exe and are attempting to run it. However, they are getting an error message "Unexpected error;quitting" when trying to do so. A key difference between their...

Does a VCL OrgChart component with decent features exists? Is there a viable alternative?

I am using DevExpress OrgChart component that is still maintained but not developed since 2003 (fortunately bugs are fixed, but nothing more). Honestly this component, even if it starts to look too old still suffices my requirements except for 2 things: 1) it doesn't support at all the staff feature, for understanding what I mean see t...

We are able to connect to remote desktop but randomly keyboard does not work in remote machine. Where as mouse works perfectly.

Description: The project deals with interaction with the remote desktop connecting through web browser (Internet Explorer). What we did: We have created an activex which installs through the web browser into client machine which lets the user to connect to different servers through web browser. What is in Activex In Activex we used ...

Issues Arising in windows 7 /Ie8 when running custom Built Activex Control

Description: The project deals with interaction with the remote desktop connecting through web browser (Internet Explorer). What we did: We have created an activex control that and installs through the web browser into client machine which lets the user to connect to different servers through web browser. What is in Activex In Acti...