activex

Using the old CrystalReports ActiveX control 'Crystl32.ocx'

I'm working on an application that is about 8 years old, and it uses version 8.0.0.4 of the Crystl32.ocx file for viewing reports. The issue is, when I go to view the report, it shows a parameter screen, that the user can CANCEL from. But, if you click CANCEL, the report window STILL opens, and shows a report with no data... (Or data ...

Disable column in MSHFlexGrid in VB6.0

Hi how to disable particular columns in MSHFlexgrid in VB6.0? i don't want my user to edit the values in a particular column. ...

Change checkbox(Activex control) in word 2007

In word 2007, I'm trying to use the default activex control as check box. I would like the color of text changed after some one check the box it. I know how to get it done with VBA and checkbox formfield, but how can this be done with checkbox(active control)? Shortly, is there any way I can retrieve the properties or other object info...

How to Raise Events from VB.Net ClassLibrary/UserControl (ActiveX) to JavaScript?

I've created a VB.Net ClassLibrary with a UserControl in it. I can load it from an HTML page and call the methods that I created. This works as expected. I've tried several examples for how to raise an event from the VB code to the js caller, and none of them seem to work (I'm using IE7). What I'm doing: Public Class ctrlABC Public ...

GetObject and VB6 ActiveX exe

The VB6 help on GetObject says "You can't use GetObject to obtain a reference to a class created with Visual Basic" (the very last sentence!). My VB6 GUI exposes objects as an ActiveX exe, for other components to manipulate. I want the other components to connect to the GUI that's already running, rather than start a new instance of the ...

Non realbasic ActiveX controls in Realbasic projects

Realbasic allows you to include e.g an MS Flexgrid control in your Realbasic project and use it as though it were a native control. Does the end user need to have this control installed already and if not and realbasic includes it in the build are there licensing issues? I have vb6 and can distribute this control legally with a vb6 appli...

How to write a self registering activex control (in C#)?

I've been able to create a small activex control, but it requires the dll to be registered on the client (using regasm). How can i avoid this registration problem? I'm attempting to write an activex control that is delivered over the web (to IE browsers) that will access the clients webcam (using directshow). Here's my simple control:...

How to display excel chart in browser?

I have an excel sheet containing excel chart. I am able to display entier excel sheet on browser using an iframe. However, I only want to display the chart present inside the excel sheet on the browser. How do I achieve this? I see that it needs Javascript + ActiveX APIs. I tried but couldn't get it to work. Please see code given belo...

Sending MIDI messages in a Web page

How can I play individual MIDI notes in a Web page? I know of two ways to do it: Write an ActiveX control. Then it only works on Windows. I used to write ActiveX controls a long time ago, but now nobody likes to install them. Write a Java applet. This is OK if the user already has Java installed, but many users disable applets. Th...

Best way to access client side devices from a web application.

I need to provide support for various scanners and printers to an Intranet web application. Basically the user needs to be able to take pictures using his webcam or camera, scan using his scanner and print through his printer. Because this is an Intranet application, compatibility is not an issue. I can ensure the user has all drivers in...

Porting ActiveX control to run on multi-browsers

I currently have an ActiveX control which links in many c/c++ dlls. The problem is that we now need this control to run on browsers other than IE (most importantly Firefox). As I see it I have the following options: Write the control as a firefox plugin. This seems like it will be the quickest but would then tightly couple us to Mozil...

Changing "active content" security settings on WPF WebBrowser control

I'm putting together a WPF application that will allow users to view PowerPoint files through the WebBrowser control, once the files have been saved as either .MHT or .HTML. The problem is that the files contain ActiveX controls, and the WebBrowser control by default will display a warning every time I load these files, saying "To help p...

How to use IDispatch in plain C to call a COM object

I need to compile some code of mine using the gcc compiler included in the R tools (R the statistical program for windows), the problem is that I need to use IDispatch in my code to create an access the methods of a COM object, and the gcc compiler doesn't support much of the code that I'm using to do so, which is basically C++ code. So...

Communicating with ActiveX with a GCC compiler

How do I reference and communciate with an ActiveX library from within my gcc compiled application? ...

Using the RDP control to login to a Vista machine that requires Network Level Authentication

I'm trying to use the mstscax.dll (Microsoft Remote Desktop Control) to login to a Vista machine that requires Network Level Authentication. I've played around with all the methods in IMsRdpClientNonScriptable4, IMsRdpClientAdvancedSettings4 and IMsRdpClient6. There are a slew of functions that appear that the might enable this. Enabl...

Adding an ActiveX dll to a .Net project as reference works on one dev's machine, but not on another one?

Good afternoon, we're having a semi-weird problem here with a legacy activex dll that needs to be used in a .net project and strangely it works perfectly fine (adding it as a reference and all its functionality) on one developer's machine, but on no other ones, the build-server complains about a faulty reference etc etc. Whenever e.g. ...

web components axspreadsheet in vb.net not compiling

has anyone seen this error with compiling web components in vb.net? i added axspreadsheet on to my form and it does not compile. it gives me the following error. please help! System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Class not r...

accessing a object from a windows application running in the system tray

I want to have one application running in the system tray managing the communication between the client / server and login's to the server. Then I want to have multiple c# applications access a class inside the application running in the system tray. When the calling windows application calls the system tray application - the system tr...

Can I use ChangeWindowMessageFilter to receive DocumentComplete events from Protected Mode IE?

In my app, I want to open a new IE window, then receive and process DocumentComplete and NavigateComplete2 events fired from the new opened IE. In XP, everything works fine. In Vista, the new IE is running in Protected Mode, so my app is not able to receive DocumentCompelte event from the IE. I do not want to change any security level,...

IE strict mode flicker on activex controls

I have a web page containing (amongst other things) several activex controls embedded in it. It's only ever rendered in IE, and it's in strict mode. If I highlight any text in the page (or rollover an image with an onmouseover event to change it's image or whatever), the controls all flicker horribly. If I change the page to quirks mo...