I know ActiveX is kinda last decade, but I'm being forced to do one anyways ;o)
I'm confused by the way this exposed COM interface works.
I've pasted my interface below. Now this works fine on my client where the assembly is registered, but when i try to upload this to my webserver and debug it on another client, it does not load the ActiveX component i call through JavaScript.
I assume this has something to do with registering the assembly? I registered the assembly with regasm with /codebase /tlb, and my assembly is signed with a strong name through visual studio.
Can anyone point me in the direction i need to take to make this work on all clients?
Regards.
public interface ICmd
{
[DispId(1)]
void Cmd1(string dsName, string dsPath);
};
[
Guid("F2332866-6912-47AC-846E-0F416F3D13A8"),
ProgId("csharpAx.Cmd2"),
ClassInterface(ClassInterfaceType.None),
ComDefaultInterface(typeof(ICmd)),
ComVisible(true)