activex

Invoking the print/save/email function of Adobe Reader plugin in browser

Hello There, I've recently discovered Stack Overflow and I simply love it! I have got a problem at work and thought I should post that here first. I am looking for a way to invoke the print/save/email functions from the Adobe Reader plugin in the browser. To better explain, please open the following image in your browser: http://style...

ActiveX Print a web page

Possible Duplicate: ActiveX Print a web page I am new in activex, i want to write a activex with vb6 or .net (vb or c# is ok), the activex can print the web page without prompt the print dialog, the web page is the activex resided in. Now, I can write a activex in vb6, but cannot print a web page, I have tried many ways foun...

ActiveX component can not create object

We changed the function name “aaa” into bbb in vbexample.dll, and registered into VB application. After registering it is getting executed in my local PC. After that when I generated a build of that VB application and tested it in another PC, it is not working. The Message I get is: "ActiveX component can not create object". ...

applet or activex for a graphical overlay plugin (IE)?

I'm looking to write a plugin for IE that will do a little parsing of any webpage and display a layer atop that page that my users can interact with (an analytics heatmap might be my closest example). I'm trying to decide whether this should be written as an Applet (which I'm leaning towards), or an ActiveX control? Also, anyone able t...

Excel VBA: Which OLE/OCX control to use to display a chart in a form?

Hi, I have to display a column chart in a user form in VBA. Exporting the chart to GIF and importing in a picture box works; but I cannot use it because the chart needs to be modified based on options chosen by the user from the same form. I have been searching and people have commented that default OLE/OCX controls provided by MS may b...

How do I get the HWND for an ActiveX control after the control has been initialised/activated?

I am creating an ATL 8.0 based ActiveX control in C++ using Visual Studio 2008. I need to create a sub-window and attach it to the ActiveX control. How do I get access to the HWND that is owned by the ActiveX control? Which ATL function can I override in order to use the HWND after the control's window has been created? ...

C++ ATL Member Variable access help

I am not familiar with this, and can use a kick start. I am using ATL (unmanaged C++) user control and would like to use the ShockWave ActiveX object. I need to know how to declare it so that I can set a property or call a method. For instance, if I could assign a variable to it, then I would like to call 'variable->LoadMovie()' I kno...

Using ActiveX PropertyBags from C#

I have created a .NET user control with an ActiveX interface. It works well. Now, I want to be able to read and write from the property bag for the ActiveX interface. How would I do this? ...

Flash ActiveX: How to Load Movie from memory or resource or stream?

I'm embedding a Flash ActiveX control in my C++ app (Flash.ocx, Flash10a.ocx, etc depending on your Flash version). I can load an SWF file by calling LoadMovie(0, filename), but the file needs to physically reside in the disk. How to load the SWF from memory (or resource, or stream)? I'm sure there must be a way, because commercial sol...

Generate Code for Invisible ActiveX Object Event Handlers in Delphi

You know in Visual Studio you can use the "+=" syntax and a couple tabs to have it autogenerate the code for an event handler? How do I accomplish the same thing in Delphi? I'm trying to create an event handler for an event in an invisible activex library that I've imported using the Import Component function. I realize that with impo...

IE downloads and installs CAB dialog popup upon every page refresh

I have a signed cab on an aspx page. I am seeing the following inconsistent behavior. Any insights would be highly appreciated. On some machines, the cab is downloaded and installed on every page refresh. On few of those machines, the IE "install cab" dialog pops up on every page refresh, while on the others it pops up only once. A...

Good panel interface component for C#?

Any nice Paneled user interface component COM/ActiveX/Source-code for C#/VB? Like what VS has internally: Dock to screen edges Slide open/close (unpinned) Pin open Group in tabs And if possible, open-source/free. Well, because otherwise I'd have to develop an interface system myself. ...

Using updated ActiveX component in an existing WinForms application ?

Currently there is a Winforms application that is using an ActiveX component .ocx through the two interops. Now that there is a new version of the ocx available, I would like force the WinForms app to use newer version. Unregistering the old ocx and registering the new ocx doesn't help. Appreciate any help in achieving the same. ...

How can I hook up to Excel events in Javascript

In a client-side web application, I would like to: open an Excel spreadsheet, export some application data to Excel, allow the user to work with it, and when they are done, read the (potentially changed) data back into my application. I would like the user to have a fluid experience and detect when they are done with excel by hooking...

Questions about COM/ActiveX objects

I have a pretty good grasp on how a "traditional" .dll works, the differences between dynamic and static loading, etc. However, I'm confused about how COM objects work: it is mandatory to register it (with regsvr32)? can I have two versions of a registered COM object lying in the same/different directory? besides beying packaged insid...

Manually generate ActiveX wrapper after TLBIMP-ed dlls?

I have several ActiveX components that needed to be accessed from a C# project. I can import them via Visual Studio's add reference dialog, which will also automatically generate wrappers class. (i.e. ABCLib and AxABCLib) I know that I can generate the primary interop assembly manually by running TLBIMP /primary on each individual OCX ...

Delphi 2009 COM/ActiveX Type Library support stability

Referring to TLB and maintenance issues ... My question to people (often) using the new COM/ActiveX type library support in Delphi 2009: How stable is the implementation? Especially, I'm interested in: adding/deleting classes, changing GUIDs, renaming methods/properties, reordering methods/properties, huge type libraries (50+ classes),...

AxShockwaveFlashObjects and ShockwaveFlashObjects from Flash ocx

Hi, I'm trying to create: AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll entering the following command: aximp C:\WINDOWS\system32\Macromed\Flash\FlDbg10.ocx /nologo but I get an E_ACCESSDENIED error. What am I doing wrong? Thanks! ...

How to get proxy definitions from within an activeX

Ok, so here is the scenario: I have an activeX that uploads files using HttpWebRequest class. My problem is that I have to specify the network credentials in order to get the activeX to work properly behind a proxy server. Here is the code: HttpWebRequest req = (HttpWebRequest)WebRequest.Create(m_url); req.Proxy = new WebProxy("http:/...

Can .Net custom controls be used in VB6 form?

I am doing some maintenance on a VB6 Windows application. I have a .Net custom control component that I would like to use on a VB6 form. Is this possible? I know how to access non-visual .Net components from VB6 by generating a COM type library for the .Net DLL, but can a .Net custom control be used like a .OCX from VB6? If so, how is th...