huby Posted November 15, 2005 Posted November 15, 2005 hey everyone! i would like to launch a .NET assembly from vbScript. example : Dim obj set obj = CreateObject("BusinessLogic.CDataLoader") where BusinessLogic is a .NET dll, strong-named, and registered in the GAC. it seems vbscript looks for a COM component, as it tells me "ActiveX component can't create object: 'BusinessLogic.CDataLoader'" any hints? thank you, Huby. Quote there are 10 kinds of people on earth: those who understand binary, and those who don't.
Leaders snarfblam Posted November 16, 2005 Leaders Posted November 16, 2005 Yes, your vbscript will definitely look for an ActiveX component. I recommend doing research on creating COM wrappers for your .Net classes (I believe, but am not sure, that you can create an ActiveX compliant wrapper). I don't know much about this, but I think studio .net comes with tools to do this. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts