RE: can't call my dll's function
Since you're using VB.net, you'll need to use regasm to register your DLL and use the following code to call your Display function:
var vbDotNetObject=new ActiveXObject("Namespace.Msg");
vbDotNetObject.Display();
where Namespace is the name of the namespace which your Msg class is in.
|