Hi,
Thanks for helping!
I've registered the dll using regasm. Now my code looks like this:
code:
Namespace myMSN
Public Class Msg
Public Sub New()
End Sub
Public Function Display() As Boolean
MsgBox("hello world")
Return True
End Function
End Class
End Namespace
my jscript is :
code:
function OnEvent_ChatWndCreated(ChatWnd)
{
var vbDotNetObject = new ActiveXObject("myMSN.Msg");
vbDotNetObject.Display();
MsgPlus.DisplayToast("", vbDotNetObject.Display());
}
and yet it doesn't do anything
Do you have an idea why ?
I can't even see the debug window, it's gone for some reason and I can't reactivate it even if I tick the checkbox in the options...