EDN Admin
Well-known member
Hello,
Ive created a C# activex control....
[GUID("...")]
[ProgId("Test.AX")]
public class Test
{
string Test()
{
return "from com component";
}
}
now when I instantiate this component in js
comp = new activeXObject("Test.AX");
I can call alert(comp.Test()); and a messagebox with the text from the c# dll pops up.
How can I call functions in the other way -> call a function in the javascript file from the dll?
thanks and greets from germany
View the full article
Ive created a C# activex control....
[GUID("...")]
[ProgId("Test.AX")]
public class Test
{
string Test()
{
return "from com component";
}
}
now when I instantiate this component in js
comp = new activeXObject("Test.AX");
I can call alert(comp.Test()); and a messagebox with the text from the c# dll pops up.
How can I call functions in the other way -> call a function in the javascript file from the dll?
thanks and greets from germany
View the full article