Hello folks, I'm writing a custom ATL ActiveX component, but I'm having this little weeny problem: Visual Studio insists that every function defines in the *.idl file has to have a HRESULT return type, even though I want to have a ULONG return type.
[id(3), helpstring("method addh3h3")] ULONG addh3h3([in] ULONG x, [in] ULONG y);
It gi...
Hi
I try to register dll (ActiveX) for non-admin user using MSI.
To create registry settings I have register the dll in admin mode, then exported the relevant registry entries and renamed all HKLM to HKCU.
When I install it for non-admin user all works fine. But when I use the same settings with admin user, there is a problem of discov...
Is it possible for a website to automatically run an external .exe file upon visiting? That is, an .exe file that is not already on the client file system. If so how is this possible? Also, i've read about the use of HTA files or ActiveX components or Java in this process. Is it possible for a java applet to write code to a client's file...
Hello exprts
I want to give a link of network local file in browser, where users can open from there.
link would be like this file.xls
In IE6,7,8 it doesn't work.
Any idea ?
...
I made an ActiveX control, placed it in an Object tag on an html file, placed that file on an https apache server. When i access the web page using my development machine, it works fine. I unregistered the activeX from my development machine, deleted all instances of the .ocx file , but it still runs successfully on my development machin...
Hi
Several years ago we have written VB6 activex control that is hosted by a webpage.
Since then for many users it stopped working unless the user logged on with administrative privileges. The website is set to "Trusted sites" in IE. The IE security settings are the same
for both Admin and User.
The control cab file is signed.
The con...
Hi, I have a small unmanaged c++ application, I'm trying to use CoCreateInstance(...) to create an instance of the "Adobe SVG PLayer" which is installed as an ActiveX control.
When I compile and run my application under 32-bit configuration, it works fine, but when I compile under 64-bit configuration, my application fails to create the...
Essentially, I want to implement a jQuery feature on a site that I'm building, but I don't want Internet Explorer users to have to click "Allow Blocked Content". The feature works fine with Safari, Chrome, and Firefox. It's only IE that prompts the users with the Active X warning.
I'm using the following jQuery cycle plugin: http://mals...
I am trying to create a .NET Class Library with a User Control exposed as an ActiveX component, but I receive the following error when using it. I have tried dropping my security level to its lowest to no avail. I am on Windows 7 and do not have the .NET configuration tool in Administration Tools to adjust the library to be full trust....
I've added an .ocx to the toolbox in VS.
Two .dll's were created: Interop.NNN.dll, AxInterop.NNN.dll.
What is each one? Are they both required?
...
Running into kind of a strange problem:
I'm using delphi 6.0 and trying to integrate a third party activex control which connects to a server, streams and renders video (no visibility into this control).
The control has a frame rate setting from 1 - 30 and if i set this to a small value like 1, the VCL thread seems to block for a secon...
I am working on a program using the JACOB project (JAva COm Bridge).
There is a file to open, the entire name is passed along (ex. c:\test\test.xls). In order for JACOB to create a new ActiveXComponent it needs to be passed a ProgID or CLSID. (Such as Excel.Application, or Word.Application, but outside of the MS realm there is also A...
Hi,
I have active-x class written in c# which is multi-threaded. I need to call javascript from my activeX. I tried it by Microsoft.mshtml .
/*JS
function do_Print() {
control.setPage(this);
control.scriptPrint();
}
function report_back(report){
alert("Report:"+report);
}
C#
public void setPage(mshtml.HTMLWindow2C...
I have create a self-signed certificate and signed my ActiveX. I followed the steps in this topic. (http://stackoverflow.com/questions/84847/how-do-i-create-a-self-signed-certificate-for-code-signing-on-windows)
One difference is that my executable files come in MSI package. So I used signtool to sign the MSI file and all other DLLs/Exe...
I have successfully used the Automagic syntax to register to an ActiveX event from JavaScript. How do I later unregister from the event?
Example:
function MyActiveXObject::SomeEvent() { alert("event raised!"); }
Edit: included example
...
Hi,
I can use the MS Word ActiveX control in order to access some parameters related to the MS Word application itself. I can also open up new documents and then perform automation on those documents.
Is it also possible to access documents that were already open on my machine and then perform actions on them?
The code I'm using is th...
Hi,
I have written an ActiveX user control in C#. That ActiveX control is hosted inside a legacy application running in IE that is written in Delphi.
Everything works, my only problem is that i need to subscripe on events of the control that is hosting me (for example - resize event).
currently I am unable to do that, and when I resize...
I apologize in advance if this problem is more sysadmin than programming, but since my actual problem involves getting the browser to run my code I figured I'd post it here first.
I am using IE's Content Advisor to create a white list of websites for specific computers.
I would like the home page of these computers to contain a list of...
What is the difference between the two lines of code below:
CComPtr< IInterface > m_interface;
IInterface* m_interface;
I know that CComPtr help eliminate memory leaks, but I am getting inconsistent results. When declaring the pointer with CComPtr< IInterface > m_interface;
and using the interface in my C# code there are no errors, h...
I have an ActiveX control that gets placed in an IE browser container. The control creates another dialog window that has WS_POPUP and WS_LAYERED properties enabled in order to be able to use SetLayeredWindowAttributes(...) function to accomplish color keyed transparency and alpha blending on top of the control.
Because the WS_LAYERE...