activex

Alternative to VB6 ActiveX Controls - Silverlight or .NET based ActiveX Controls

I have a web application which extensively uses Windows Common Controls ActiveX controls for User Interface. These mainly include Listview, Treeview, Common Dialog etc. With these controls I get very good performance in load times and also these controls provides very good communication with JavaScript. Recently I enabled supporting Un...

ActiveX not working properly with default security settings

I have written an ActiveX control in C# and have made it working using regasm command, and it works fine as long as the security level is set to low.. Then as a next step I have made a .cab installer (ICD - Internet component downloader), and have signed my .cab file and ActiveX .dll file with a test certificate. when I hit the html pag...

How to deploy new ActiveX objects

I am supporting some classic ASP pages. One of the core 3rd party components had a leak and was fixed with a new version of their CAB. For first time users or the ones who deleted the objects, browser prompts and downloads the object. How can new cab be made available for existing users with limited privileges? ...

How to list all ActiveX controls?

Is there a way to list/browse all ActiveX controls in the system or for particular application? Can this be done from some administration screen as well as in code? Thx for any help. ...

Issue with .INF file for registering ActiveX

I have made an INF file, its contents are as follows [version] Signature="$CHICAGO$" AdvancedINF=2.0 [Add.Code] MyControl.dll=MyControl.dll ; Now installing the ActiveX [MyControl.dll] file-win32-x86=thiscab clsid={05B7BC83-FCA1-452d-9D33-193784FEC637} FileVersion=1,0,0,1 RegisterServer=yes but the Control is not registered after I...

scriptable objects in internet explorer content plugin

While there are many guides for Browser Helper Objects, i have a hard time finding resources on how to implement scriptable objects (i.e. besides the main control) for content plugins (i.e. embedded in website). To avoid misunderstandings: the question is about scriptable objects that a plugin object may return to the scripts in a websit...

How do I override calls to ActiveX and Java Applets made by javascript so that I can change the resource path? These objects are being dynamically embeded.

I have developed a reverse proxy and currently ONLY process the "html/text" responses from the remote applications, everything else (images, javascript, etc) are passed thru unmodified. The problem I'm having is when the remote site contains javascript that dynamically inserts either java applets or activex controls into the page, as th...

Using ActiveX with Silverlight

I would really like to use Silverlight for a project I'm working on but I will need to interact with an application running on the user's desktop. Is it possible to do this with Silverlight, or am I stuck with ASP.NET + ActiveX? ...

Allow IE interaction to trigger execution of local code client-side

I want to allow interaction on a trusted webpage to trigger execution of code on the client. The users will be using IE as web browser. The code files to be executed will be available on the client. The method interface of the local code files will be known to the webpage. This could for example be used to save data from the browser to a...

is DISPID_VALUE reliable for invokes on IDispatchs from scripts?

Continuing from this question, i am confused whether DISPID_VALUE on IDispatch::Invoke() for script functions and properties (JavaScript in my case) can be considered standard and reliable for invoking the actual function that is represented by the IDispatch? If yes, is that mentioned anywhere in MSDN? Please note that the question is ...

AxWindowsMediaPlayer does not play audio/video from url ?

HI, I am using activeXMediaPlayer to play files from url but each time I pass a url to it shows the message , "either the file is corrupted or player does not support the file format u are playing." But when i run the same url on browser the file is downloaded and this downloaded file can be played on the media player. I am not able t...

Question about ActiveX transparent objects and handling clicks

I am trying to make an ActiveX control work in my program. The component (UserControl) has transparent boxes on it and the control itself is transparent, so it can overlay an image. I put boxes on it so the user can click in the box and go to another screen based on the group from the main image they picked. But it doesn't recognize the...

What is ActiveX Hosting?

I need to get the Flash Player ActiveX on the .NET Compact Framework in Windows CE 5. This thread says I need to create an "ActiveX Host" for Net CF in order to accomplish this. How do I do this? Does it mean that I program a COM container component for my ActiveX? (Flash Player) ...

How can I load an SWF from a C# EmbeddedResource without first writing to file?

I'm using the flash 10 activex control to load a flash movie into my WinForm. Unfortunately, it only takes a path. What I'm trying to do is load the swf from a stream I can get from an EmbeddedResource so I can embed the swf into my exe such that A) I don't have to worry about paths and B) I don't have my swf quite so exposed - simpler...

Permission Denied in IE w/ iDispatch DISPATCH_PROPERTYGET

Howdy, I have a activex control that I've written using ATL, and am running into a somewhat serious and confusing problem. when iDispatch::Invoke is called with DISPATCH_PROPERTYPUT/METHOD everything is fine.. when a return a value to javascript/ie after a method call of a VT_BSTR/with a valid BSTR it works fine and has been. but wh...

VB6 ActiveX DLL Running Slow On Terminal Server 2008

I have a VB6 ActiveX DLL that has run fine on all our machines for several years. Recently our IT manager setup several locations so they remote into Terminal Server 2008 and run the program that accesses my DLL on the Terminal Server so that their databases are local to the corporate network. My DLL runs very slowly on the terminal serv...

How to pass variable by reference in javascript? Read data from ActiveX function witch returns more than one value.

I have a ActiveX object witch I want to use in the browser (javascript). There is a function I want to call. It's prototype is: function TOPOSFiscalPrinter.DirectIO(Command: Integer; var pData: Integer; var pString: WideString): Integer; So, the function returns three values: result code, pData and pString; In javascript the functio...

ActiveXObject is not defined

My program is getting employee details in web page using javascript. This is successfully working in IE5,6,8. but not working Mozilla Firefox. Please Help me... Thanks in advance My source code is: <script type="text/javascript"> <!-- var adOpenDynamic = 2; var adLockOptimistic = 3; /* Path of database. */ var strDbPath = "..\\SRVGd...

problem on executing on mozilla (activexobject is not defined)

my source is working in IE but not in mozilla. please help me. <script type="text/javascript"> <!-- var adOpenDynamic = 2; var adLockOptimistic = 3; /* Path of database. */ var strDbPath = "..\\SRVGdb.mdb"; /* Here is the ConnectionString for Microsoft Access. If you want to use SQL or other databases, you hav to change the connection...

IMessageFilter's message filter not working for active x control

Hi All I am displaying acrobat reader 5.0 active x control in windows form. I inherited my form class with IMessageFilter and implement the PreFilterMessage function as given below. if (m.Msg == 513)//left button click { int mouseY = HiWord(m.LParam.ToInt32()); int mouseX = LoWord(m.LParam.ToInt32()); // where axAcroPDF1 is pdf contro...