activex

Possible to append a ActiveX control to a page using javascript?

I'm trying to append an ActiveX control dynamically to a page using jQuery. The append is successful; however, the control doesn't initialize when it is done this way. I believe IE calls the OnCreate method of an ActiveX control when a page that contains a control has finished rendering. The problem is that the tag is not present on the...

What can you do with COM/ActiveX in Python?

I'm thinking that I'm going to have to run monthly reports in Crystal Reports. I've read that you can automate this with COM/ActiveX but I'm not that advanced to understand what this is or what you can even do with it. I'm fairly familiar with Python and it looks like from what I've read, I might be able to open the report, maybe cha...

Detecting if a file is already open in javascript

How can I check to see if a file is already open by another user in javascript? As it is right now, the program I'm trying to fix will open/edit a file then fail on trying to save if the file is already in use. Also, is there an easy way to add a lock on the file so another process knows it's in use? Edit: the program is a .hta using ...

How to use Terminal Services Gateway with the IMsRdpClient6 ActiveX Control?

I am hosting the IMsRdpClient6 ActiveX control in my WinForms application in order to make connections to remote machines. I have setup a terminal services gateway machine, and I can successfully use it. I want to get my ActiveX control to use this gateway. I have set the Gateway options, but connection fails with no error that I can s...

How can I return both an error string and error code to VB6 from an ATL activex control?

I'm trying to return a detailed error to VB6 using CComCoClass::Error, but it seems I can only return an error code /or/ a message - but not both. return Error(_T("Not connected"), __uuidof(IMyInterface), HRESULT_FROM_WIN32(ERROR_CONNECTION_INVALID)); results in a generic "Method 'Request' of object 'IMyInterface' failed" error messag...

Keep alive code fails with new RDP client

Hello - For our Secure Terminal Server project, we have a need to keep the RDP session open, that is, to prevent the remote computer from timing out and locking the session. A little background: We have several virtual servers configured as go-between agents, with a client piece that launches a RDP session to the virtual servers, and ...

Remove border on activex ie control

For the application im building, i use an activex ie control. It works greate but i cant work out how to remove the border around it. I have tried overriding the invoke call and setting DISPID_BORDERSTYLE to zero but it looks like it never gets hit. Any ideas? ...

Controlling print size in IE7

It seems that IE7 defaults to "Shink to Fit" on the printing of HTML pages. Is there a way to control the browser settings/print preview settings using ActiveX thru Javascript? ...

How to cleanly release resources used by .NET ActiveX Control when IE closes

I am using a .NET ActiveX control to an interface with a USB device. The supplier of the control says the we must call the control's Shutdown() method when we are through using the device. This is problematic for a me as it is not easy to determine when the users are through using the control because it is used between pages and I can o...

New Version of Third Party COM DLL - How to Install and Keep Old Versions in Delphi?

I need to have my Delphi program use a new version of a third party DLL. I'd like to be able to use the new version but revert to the old version if I need to. Some of the objects are invisible objects on a form in the app. Others I instantiate at runtime. How do I install the new version of the DLL into Delphi while maintaining the ...

Print directly from browser without print popup window

Hi Everyone, As it said in the subject I've to create a feature for a web-based application that will allow users to send print directly without prompting any dialog boxe just make the print i.e click and print, simple! but not for me :(. Please, suggest what would be the best option and how should I write it up (technology). Suggest...

How do I migrate a VB6 ActiveX control to VB.net?

I have a legacy VB6 ActiveX control used in IE to provide control of a parallel-port device from a browser application. I wrote this thing about five years ago; It's a pretty simple control, and it doesn't require a lot of maintenance. However, I've noticed that running the VB6 tools is becoming more and more painful over time, so I'm ...

Creating new C# version of existing COM object to use in Delphi program

We had a bit of a problem where we have lost some source code for a very old ActiveX component we had. We've got a Delphi7 program that calls the Active X component. Thats a bit of a moster and can't be changed too much. However, some of the functionality in the Active X component needs to be updated. Since we've been moving our apps to ...

ActiveX for Browser. Which one should be choose VB6 or .NET?

Hi, I've to create an activeX control that need to run without any prerequisit (like .net). When user come by using IE, s/he just click and start using. No .net and anything else need to be installed. Actually, this query is about a print activeX control that just send a print directly without popup any window. I've created a .NET Comp...

web services from a delphi 7 Activex Control on IE 8 running on XP service pack3 does not work

Hi, I having problems in calling webservice from delphi 7 activex control in Internet Explore 8 while running on machines having window XP service pack 3 . the active X control works in the following combination Window XP service pack 3 with IE7 or lower Windows XP service pack 2 with IE 8 currently i use the delphi 7 SOAPHTTPClient...

ActiveX doesn't show up in Browser

Hi, i'm trying to put an activeX object on an asp-webpage. it already worked good a week ago, but now the object isn't showing up anymore. already made a little asp testing-project....just an asp-page and a activex control, containing a button and a label. but when i call up the page in the browser, there is only a white area with a lit...

Handling events fired by Property of ActiveX Control in HTML/Javascript

The following HTML object represents an ActiveX control that has a property named SubSystemA: <object id="MainObject" CLASSID="CLSID:2C327457-D12F-4FC4-BFC2-D7C029003D07" width="0px" height="0px" > <embed name="MainObject"></embed> </object> SubSystemA is a COM object implementing some interface with methods, propertie...

Disable Internet Explorer shortcut keys

EDIT: After waited a while and didn't get anything yet, I've decided to do shortcut disable thingy only for IE now. Is there a possibility to disable IE shortcut keys to access menus/print etc. via vbscript? Is it possible to disable browser shortkeys? Because many of them are using in application. For instance, "ctrl+p" i...

Problem with JDICplus embedding IE in Java

I am building a Java Swing application that needs to support both an embedded browser and ActiveX. The easy way to do this seemed to be to use JDICplus, which just embeds IE in your application. That would have covered both requirements. I also need to overlay some buttons on top of this browser view so the user can navigate between vie...

Javascript and C# COM interaction

I am using C# COM Interop techniques to interact with some device from website using ActiveX. Right now I can call C# codes from javascript and pass only string values. But I intend to pass javascript structure into C# method and the reverse. How can I do that. Right now as an alternative I pass JSON formatted string from C# code and ge...