activex

Call to Documents.Open(url) ignores user/password

I am trying to open a user/pass protected [Alfresco] webdav document from a Java applet, using Jacob and COM Automation. I pass "http://usu:pwd@srvs/docu.doc" to Documents.Open, but it seems to ignore the auth information. Is there another way to pass this information or somewhere else to authenticate beforehand? Notes: The document ...

Debugging COMException

I am using an ancient Intergraph routing library to do some routing. I could create several ActiveX and COM objects just fine but there is this one type "Location" and "LocationCtrl" that throws a COMException on creation. Here's the relevant code _sourceLocation.Streets = _streets; _sourceLocation.VerifyAutomatic = fa_sourceLocations...

Toolbar with VLC ActiveX in VB.NET

Hello! I've used the VideoLAN VLC ActiveX Plugin 2 (available in the VLC 0.9.4 installation) in my VB.NET App. I've noticed that: The controller toolbar (seek bar, control buttons, volume) do NOT appear at all Even after playing a file And the "Toolbar" property cannot be set to TRUE, read-only? So my questions are: Is the "Toolb...

Can I use Silverlight in an ActiveX Control?

I would like to create an ActiveX control that uses Silverlight. Is this possible/sensible and does anyone have an sample code for this? I am working in a legacy (non web) system that cannot directly use WPF/Silverlight controls. But the system can access ActiveX controls. The thought is that we may be able to host Silverlight in an Act...

Using CreateObject("Excel.Application") - issues with unsigned control

Hi all We have a legacy ASP page that writes content to an excel file by generating client-side VB script based on data from the database. It uses set app = CreateObject("Excel.Application") to initialize Excel. The problem is that this is an "unsigned activex control", and some clients are now saying they wont change their IE settings...

Make hosted WebBrowser control inherit tab background?

I've run into a problem where I can't really find a good, low maintenance solution. We're trying to integrate our hosted ActiveX WebBrowser control in a dialog box with tabs (the native C++ tab control) better, such as having its HTML font use the "Shell Dlg" font, removing the 3D border for the WebBrowser control, and making its backgro...

Entrypoint of an OCX

What are the entrypoints of an ocx ? are they same as that of com dlls ? ...

A serious issue with jQuery and ActiveX security?

Has anyone not noticed that JQuery uses ActiveX controls? When a user has limited their activex security they will get script prompt popups and a yellow bar accross the top of their browser window. -This setting is by default on Windows Servers. -Internet Cafe's dont support Active X. -Company internal workstations dont support this. ...

.NET client vs. ActiveX (or another approach?)

Does anyone have any white papers or articles that would compare and contrast a web architecture where a .NET client component is required and the options being considered are ActiveX or a .Net component solution? I have a customer that wants to architecturally recommend a .Net client approach over Active X. However, there are some st...

Is it best practice to use COM properties or COM setters and getters in C++?

I am relatively new to development within COM, and I was wondering what the community standard was for access of COM object properties. I have seen both of the following conventions in code: comObjectPtr->PutValue(value); and comObjectPtr->Value = value; and both seem to work, but I was wondering if there was an inherent advantage ...

Plugin for Tortoise SVN get Redmine's issue list, plugin in Delphi

I downloaded tortoise plugin samples, but I don't know how to implement it on Delphi. I have successfully compile C# sample, and use it on a repository, but my knowledge in C# for general development is poor. In other hande, I don't know how to start creating that plugin in Delphi, but after that I think would be easy for me. I want to...

Automating VB6 application with ActiveX controls

I have a VB6 application that I don't have source code. This application uses third-party ActiveX controls. I want to automate these ActiveX controls. Is it possible to get the IUnknowns or Object references? For some of these, I can get the underlying HWNDs, but from what I can tell there isn't a generic way to convert these HWNDs to th...

SWF in WPF WebBrowser control - Auto accept camera/microphone access?

I have an application with a WPF WebBrowser control which displays a Flash file. The flash file is used for WebCam/Microphone chat. At the moment, everytime the flash is loaded it displays a dialog box asking for permission to use the microphone and camera. How can I fake a click on the allow button to stop hassling users with this ques...

OnReadyStateChange event in ActiveX controls

I wrote a Firefox plugin (only compatible with FF3 atm) that allows the hosting of ActiveX controls. Before the flaming begins - this is not the main topic for this question and the plugin was designed with security in mind so it doesn't break my favorite browser. if you are interested, it's hosted at http://code.google.com/p/ff-activex-...

ASP.NET: does it involve Active X at all?

Sorry, really newbie question, but if I was to create an ASP.NET website application, such as a calendar of events linked to a database - would the user interacting with this Calendar be using Active X? Don't really know how to put that question any other way. Reason I ask is that my works system blocks Active X controls and therefore t...

What causes Visual Basic Run-time error -2147319765 (8002802b) in Excel when an ActiveX control has been instanced?

I have created an ActiveX control using C++. I use Visual Basic code to instance the control in an Excel worksheet. I can only run the VB script once, subsequent runs cause the following runtime error when attempting to access the 'ActiveSheet' variable: Microsoft Visual Basic Run-time error '-2147319765 (8002802b)': Automation erro...

Looking for an ActiveX equivalent for Java and/or Linux

Hi all, I have a Java application that needs to be able to open multiple different file formats and embed the document within my java JPanel. In Windows I can do this with jaco zoom & ActiveX but I will be working in Linux. I have briefly researched npapi, mozswing, java plug-in technology, and bonobo & kparts. I am hoping to hear fro...

On-the-fly upgrading a COM object used in a .NET application

We have a large, deployed, 3-tier .NET application which for good business reasons can't be upgraded at present. The client makes use of a number of classic c++ ActiveX controls through the usual interop mechanism. We have fixed some critical bugs in one of the ActiveX controls and need to deploy the fixes to a number of customers with...

How do you suppress IE7 ActiveX messages using javascript?

I'm trying to decide whether to use a custom ASP.Net Ajax Extender or jQuery to perform a simple web service call. The web service method accepts a customer ID and returns the customer name. I'm leaning towards jQuery because of it's simplicity. The only problem is that due to my company's IE7 Group Policy settings, the first time jQu...

Can ActiveX properties (to be accessed from Visual Basic) be procedurally generated at run-time?

Does anyone know if it is possible to generate ActiveX properties at run-time? I only need to be able to get and set these properties from Visual Basic. My ActiveX control is coded in C++ and I already know how to create properties by implementing hard-coded C++ get and put functions. However I have potentially a large set of prope...