activex

How to get HWND of a windowless ATL control?

I created a ATL windows less control and the class definition is like this: class ATL_NO_VTABLE CRSPClient : public IObjectSafetyImpl<CRSPClient, INTERFACESAFE_FOR_UNTRUSTED_CALLER|INTERFACESAFE_FOR_UNTRUSTED_DATA>, public CComObjectRootEx<CComSingleThreadModel>, public IDispatchImpl<IRSPClient, &IID_IRSPClient, &LIBID_a...

Defining byte arrray in javascript.

Hi How do I pass a byte array from javascript to ActiveX control. My javascript will call WCF server (method) and that method will return a byte array. After that I need to passs this byte array to the ActiveX control. Could anybody provide me a solution for this. ...

Current directory for C# ActiveX object loaded from HTML

I have an ActiveX object that I made with C# and registered in the system. I'm loading it with JavaScript in HTML like this: <object id="myComComponent" name="myComComponent" classid="clsid:MY_ACTIVEX_GUID"></object> This works fine. Now I want to open a file that exist in the same directory as the html inside the ActiveX object. The ...

creating setup for installing activex control

Hi I need to create a setup for an ActiveX conrol we have developed. can any body let me knwo, the possible ways of packing the activeX and other depended dll's as a setup. Thanking you. ...

How do you find a COM's interfaces without typelib?

Is it possible to find all interfaces (classes, parameters, ect..) normally registered with Component Object Model's (COM) TypeLib even though the TypeLib is completely empty? If so how would you go about doing this? I believe another term for this is an "Anonymous COM". I am sure that accessible interfaces exist for this COM because i ...

ActiveX component installation is blocked by IE.

HI I have created a ActiveX componed and packed into a cab file 1) Created the setup for Class Library that I would like to be exposed for COM access. 2) Create the CAB setup project taking the Project output from the setup created in the setup 1. 3) Embedded the object tag in a sample html file Now when I launch the sample html...

Switching from Windows Form to Web Form

I created a Windows Form executable in .NET 3.5 that uses a dll to communicate with a machine that scans checks. I'm eventually going to need to move from an executable to a Web Form that can do the same thing. This will be months from now, but I wanted to start doing the research now as I have not done this before. I'm going to need ...

How to Create a .ini file?

Hi friends, I am working on ActiveX Control.I need to use Cab file in the "Codebase" attribute.I came across a code like <OBJECT id="OurActiveX" name="OurActiveX" classid="clsid:121C3E0E-DC6E-45dc-952B- A6617F0FAA32" VIEWASTEXT codebase="OurActiveX.cab"></OBJECT> How to Create .ini , cab files and how to include the .ini file into ...

Javascript Refuses to Call ActiveX Method, Agrees to Call Another

Hello, I have an ActiveX object which extends some functions. I have a web page that loads the ActiveX object and calls its methods in Javascript. The ActiveX object has two method; the problem is that Javascript can successfully call one of them but fails to call the other; citing Object doesn't support this property or method which is ...

how to use .Net localization framework when embedding a winforms control in internet explorer

I have a standalone winforms application localized in 4 languages. For authentication and security reasons, I had to embed the main control in internet explorer (to be able to use an authentication session cookie created earlier when the user sign-in with his browser). I embedded the control in IE by making my assembly and main control ...

Are ActiveX objects blocked from accessing the clipboard in Internet Explorer 7?

I have an ActiveX Object which uses Tidestone's Formula One (Verion 6). In it I have a button which lets the user copy the contents of the control to the Clipboard, but since Internet Explorer 7 was installed, all they get is a message which states "Unable to open clipboard" (even when running in compatibility mode). I know there's a s...

Activex component is not installing from cab file.

Hi I have created a CAB file for an ActiveX control which is included in a setup. if i access the HTML page in which CAB file was embedded, it is asking for the installation and some download kind of processing starting and finally saying done. But No ActiveX installation/registration took place. if i install the ActiveX setup manuall...

"Temporary Internet Files" folder on Windows

My Java program needs to delete any temporary internet files that were created by a "Shell.Explorer.1" ActiveX control created by the program. What is the best way to do that? If I go to Tools->Internet Options in Internet Explorer, click on the Browsing history Settings button on the General tab, and then click on the View files butto...

Active X Development: VC++ or VB or Other technologies

We are in the process of creating active-x controls used within our application. Since Microsoft stopped supporting classic Visual Basic, is it wise to use Visual Basic to develop the Active X control or the latest VC++/ATL/MFC libraries provide more feature where we can create controls faster by leaving Visual Basic flexibility? We w...

How can I call ActiveX from SAP?

I have a custom ActiveX control that I would like to Call from SAP. In this case I cannot use PI, what other options do I have? ...

AxShockwaveFlashObjects again

Hi I was cheating from a sample program to integrate with Flash. I able to add a reference to ShockwaveFlashObjects.dll to my windows app, but What is 1- AXShockwaveFlashObjects. 2- How to add a reference to it, or I have to create it using some tool? Thanks ...

How to fix "Unexpected error (32801)" when compiling VB 6 program ?

Hi all I have to maintain an old VB 6 ActiveX DLL called by another 3rd party program for which I have no sources etc. This DLL works and compiles fine against the API of said program for about 6 years and 3 major versions. But now when I try to compile the DLL against a new major version the mentioned error occurs. It seems the error ...

What can I use to communicate with HMS AnyBus AB7007 gateway to PLC

Hi, I need to develop a simple website to display some values that are inputted to a PLC connected to a hardware Gateway( HMS AnyBus AB7007) already installed that converts RS485 Modbus to Ethernet Modbus TCP/IP. I am developing my code using .Net (C Sharp) As I am quite a novice in PLC interfacing, is there a component, AcitiveX co...

CAB file for X86 and X64

HI I have created a CAB file for an ActiveX component which is wrapper around a .Net Libray. Here the .Net Library is refering some third party components which are actually build in (X86 or X64) No Any CPU. So My Cab file should be intelligent enogh to install eigther X86 or X64 depending on the client ( Browser) I Know the change ...

ClickOnce Deployment in restricted environment

Hi all, I'm deploying a .Net 2.0 application using ClickOnce. The production intranet environment of my company will soon only allow the execution of signed ActiveX components. My app is signed, but I don't know if when this resctriction is active the browser will forbid the deployment of my app, because it is not an ActiveX. Has anybo...