activex

How to determine if an event is complete using a 3rd Party API - C#?

I am currently working with a third party ActiveX control where I need to detect when an event I called from the API has completed. Looking at the ActiveX control in VS 2008 Object browser, I call public virtual bool MyMethod() and there is an event public virtual event IActiveXObject_MyMethodEventHandler SettleComplete. There is als...

Java SWT interop with COM - putting a float[] into a Variant?

In my Java SWT application I'm hosting an 3rd party ActiveX control. I'm using OleClientSite to do this. // Ah, this works. :-) OleAutomation comObject = new OleAutomation(...); There are 2 easy little functions I want to call from Java. Here are the COM function definitions: [id(5)] void easyFoo([in] int blah); [id(20)] void proble...

Does anyone have Redi Plus Active X API Samples

I know I'm going all the way down the long tail on this one, but does anyone have any FUNCTIONING Redi Plus Active X API Samples? I need to connect to their API and none of the .NET code samples they gave me actually work, and I cannot get anyone from Redi to give me any support as to why they don't work. If you've used the Redi Plus Ac...

Can CWnd::CreateControl be used with windowless ActiveX controls?

Does anyone know why MFC's CWnd::CreateControl does not appear to successfully create some ActiveX controls, for example VBA's Label control. (PROGID: "Forms.Label")? I suspect it can't support windowless ActiveX controls, can anyone confirm this? I have workarounds (ATL), I'd just prefer to use a CWnd. ...

ActiveX control created with CWnd::CreateControl and invisiblity problem

I noticed if a create an ActiveX control with an MFC CWnd and call ShowWindow(SW_HIDE) or SetWindowPos to hide the window the internal m_hWnd of the class is set to NULL. Debugging into MFC revealed that some sort of "OLE Verb" was being executed on the object, which I think indirectly is nulling out my handle. Anyone know why? Modify...

What is Microsoft's roadmap for in browser applications? Silverlight, ClickOnce, ActiveX, dlls...

So here I am, first time windows developer (done java swing, iphone, flash/flex) and I'm confused by what technology Microsoft wants me to use for in browser rich applications. The application I'm designing is a file uploader that supports drag and drop from the filesystem, seems easy, I already implemented this already in Java and I fi...

using activex dll in vc++ win32 project

hi i have got a ScreenCameraSDK and it comes with a 11kb dll file, it has a documentation too which lists the functions which can be used. It says ScreenCamera SDK ActiveX Reference Documentation ActiveX Reference The ActiveX ID on the system is: ScreenCameraSDK.RemoteControl Every method on the interface returns FAIL or SUCCES...

C#: Loading an embeded swf into an flash activex without a temporary file.

My project requires that my final application be completely self contained in a single exe. I am already combining the executable and dlls using ILMerge (assmebly merge utility). I am hosting an flash active x control in a C# application and I have embedded the one swf i need to load into the flash control into the c# application as an e...

other mouse buttons and active x

Im trying to pick up the forward and back buttons being pressed in an activex control (ie) but im having no luck finding what value they are. Is TranslateAccelerator the correct place to pick this up? And what are the defines that represent the extra mouse buttons. Visual studio 2008 c++ win32 ...

Can an ActiveX control in IE download native assemblies it is dependent on

I hope the title of this question makes sense. What I want to know is if I develop an Active X control (developed in C++/CLI) that is dependent on other native (i.e. non-COM) assemblies, will the Active X control work in IE? I.e. will it be able to download the native assemblies locally or is it only the Active X control assembly itself...

I have a problem in dll?

hello all friends.......... I create a form inside the Dll. But it compile is not successfully.Some Error below. " Access violation at address 004EB784 in module 'Project1dll.dll'.Read of address 00000048" Thanks..... ...

Debug Installation Of ActiveX Control in Internet Explorer...

I have an ActiveX control that runs on a website, where the old version installed fine. Of course it runs and installs perfectly on the development computer. The new version is versioned with a new name and a completely new CLSID. The new version brings up the installation dialog in Vista in Internet Explorer 8 (with the correct Digi...

Why do I get a http response 206 when loading a .Net control .dll (activex) file in IE?

So I'm still struggling with the sucky fact that if you make a .net user control deploy as a .dll file to embed it in IE you have to have the user add the site as a trusted site AND modify their .Net security settings. If I don't do the above two things (add trusted site and modify .Net security settings) I get a http response 206 when ...

Deploying activex DLL via msi file results in red x in IE after user clicks trust.

I'm getting so so close to deploying my .Net dll user control in IE, somebody suggested trying to package it inside an msi file (instead of directly linking to the dll in the object tag) so that the user gets the trust prompts. So I followed the directions here: http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/8ddd0fd...

Programmatically give full trust to an ActiveX?

Is it possible give full trust, programmatically to an ActiveX control embedded in a web page? We are trying to build an activeX dll which creates and open a word document and refreshes its data based on some data from another site. It works fine, if I give the assembly full trust from Administrator Tools -> .net 2.0 configuration tool....

How to install/run a .Net activeX control at the default IE security level? Authenticode cert not working?

So after a lot of searching, trying and failing I've finally got the recipe down for creating a COM visible .net dll file, signing it and installing it (via cab and an exe) via IE such that you can use the control inside IE. Problem now is, it won't run at the default IE security level (Vista/Windows7). I got a thawte Authenticode cert...

Creating ActiveX dll in vb6

Hi, We are currently working on creating an ActiveX dll for migrating our existing xlt template file. For this we tried creating an ActiveX dll in VB6. We were successful in creating the Add-Ins but we are facing a serious issue. The AddinInstance_OnConnection is being called indefinitely leading to creation of multiple excel objects. A...

Sample code to call Invalidate method of Rect object in Active X control in Visual C++?

Can anyone tell code about Invalidate method of Rect Object in Active X control in VC++? ...

Programming Visio ActiveX control

My task is to use Microsofts Visio ActiveX control (Visio Viewer) to visualise a Visio document in a web page and to catch the events generated by user clicks. My immediate problem is to generate the AxVisOcx assembly. Explained below: ActiveX control wrapper assembly that allows the control to be embedded within a Windows Form ...

Managed activeX component won't work in internet explorer

Hi, We have created an ActiveX component in C# and we are placing it on an HTML page served via ASP.NET. The ActiveX is referenced via the tag. The dll sits on the web site in the same folder where the aspx is and all is working nice. However, we have deployed this to a customer and it doesn't work there. We have setup the .net framewo...