activex

Is it possible to cache/serialize a COM object in PHP?

I have a large(ish) COM object that works as the back end of my PHP application. Every time i refresh the page, PHP creates a new object of the COM interface. This is however slow. Is there any way to serialize/cache the COM object so that I can access the already initialized object? Or is there maybe some other workaround. I would also...

How do I create an activeX component for a desktop application in C#

I need to create a plug-in (with GUI) for an application that loads them as activeX components (the joy of legacy systems). I've done some googling, but while I can find multiple examples of how to create an activeX component for a web page I can't find any examples for the desktop equivalent. ...

Please recommend PDF Viewer active-x control

For a project I need a PDF Viewer active-x control, or a CodeGear VCL control. I need to be able to view and print PDFs, not create or modify. One important requirement is that distribution should be royalty free. Searching on Google shows this is a jungle. I tried a few but ran into problems with them all. Do you use/know one you can...

Best approach for user to user audio communication

For one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption. What are the alternatives to passing the audio through my server to the users? Is it possible to create a link between tw...

Accessing ActiveX method from asp.net (C#)

I have written an activex user control to get an image from a user's clipboard. I have a method to get the byte stream for this image. I want to embed this into a asp.net webforms page (C#). I am not sure how to call this method from the "code behind" portion of the asp.net page by using c#. I am not able to access the object from the "...

Imported ActiveX controls are non-visual

I have imported ActiveX controls before and were able to use them same as regular VCL controls. Every now and again I bump into a control that imports fine but doesn't show up at run-time and only show a little block in the designer. The latest one is an ActiveX wrapper for the Scintilla editor and it shows me a grey block 100 pixels wi...

Why is my .NET 2.0 ActiveX Control reporting it's version as 0.0.0.1 in IE's Manage Add-ons?

From the Details section of the property tab of my control's dll: File version 9.0.1.38589 Product version 9.0.1.38589 [assembly: AssemblyVersion("9.0.1.38589")] Shows up in reflector. However, for some reason Manage Add-ons is reporting the control as version 0.0.0.1. I've been unable to find any information on how this number is d...

Need to tab out of ActiveX control in browser

When tabbing through controls in an ActiveX control hosted in IE, once I get to the last control the tab key no longer does anything. I would like it to move the focus outside the ActiveX control to the next html control. This works fine when the ActiveX control is hosted in a WinForms app, does anybody know how to make this work in the...

Need PDF viewer control - tried a lot ...

I'm looking for a component to view and print PDF files from Delphi/C++Builder. Delphi or ActiveX, not .NET. The license must be for royalty free distribution and the viewer must not require Adobe Reader to be installed. So far I have tried: Gnostice PDFtoolkit: Display problems with JPX images Radaee PDF Viewer: Fast rendering, but c...

Handling ActiveX events in JS

So, I am trying to handle activeX events in the JS. I established a connection and I am firing an event in ActiveX using PDispatch->Invoke method. It just seems like my JS is not recognizing an event. And on the function Add::OnTalk() line it gives me warning about :: Anyone came across similar problem? ATL 8.0 test page for object...

IOleInPlaceSiteWindowless::AdjustRect not working?

I am using IOleInPlaceSiteWindowless::AdjustRect to properly capture and release the mouse in a windowless ActiveX control hosted in IE: LRESULT CD3DControl::OnMouseMove(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/) { CRect rc(CPoint(lParam), CSize(0, 0)); HRESULT hr = m_spInPlaceSite->AdjustRect(rc); ...

Adding a new page in MS Word using Qt

Hi, I am using Qt 4.5 and using ActiveQt to generate MS Word documents. I am able to create a document based on the ActiveX commands of VBA for MS Word. But I am not able to create a new page at the desired position. I tried selection->dynamicCall("InsertBreak(const QString &)","wdPageBreak"); selection->dynamicCall("InsertParagraph(...

Winforms/ActiveX cross threaded calls

I have an application wherein I am hosting multiple types of content (images, PowerPoint presentations, videos etc) in a kiosk-type app. The user has to be able to page back and forth between these bits of content, preferably using gestures of the touchscreen on the kiosk, i.e. tap one side of the screen to go forward, the other side to ...

html codes from external html-file in to textarea (any professional in active-x or javascript help me)

In the below code how can i make it load the file into a textarea where textarea path is parent.a.frame_name1.document.form_name1.textarea_name1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv=...

standard ActiveXObject refrence list

Is there a reference for the standard available ActiveXObject objects? so far I know of: Excel.Application Excel.Sheet Scripting.FileSystemObject ...

how to load the text in another textarea where the textarea is within iframe

in the below code plz tell me how to load the text in textarea where the textarea path is parent.frame_name1.iframe_name1.form_name1.textarea_name1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <meta http-equiv="Content-Language" content="en-us"> ...

MAC Address using script in IE (activeX)

Hi , everybody, I have found a code sample to get the mac address of a PC but my problem is that it only work when launched on the desktop (locally) but when I upload the HTML page on my server it doesn't work at all. is there a way to sign this script inside a cab or something else to make it work online? thank you to help me. I am stu...

How to bypass Active X pop-ups when a html file with active x controls are loaded in IE+6

i have a vb6 project which uses web-components to open a HTML file, whenever i execute the vb6 program it asks me "Active X control on this page might be unsafe to interact with other parts of the page.Do you want to allow this interaction? Yes or No" How to bypass this pop up? ...

Change both the code name and the shape name of an activex optionbutton control in Excel vba

Excel VBA: I am trying to get to some activex option buttons through the OLEObjects object, but I am finding that even though I change the value of (Name) in the property window for the object, it still requires the "OptionButton1" default name as a key. I know that some of the objects in Excel VBA have a code name and another name whic...

how to implement IObjectSafety to my webpage page

i have a java-script function (in my html page) that uses active code. i searched in google and found out that i need to implement IObjectSafety to my webpage in order to stop the activex propmt saying "Active X control on this page might be unsafe to interact , Y/N ?" . ...