Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

there are 10 kinds of people on earth:

those who understand binary, and those who don't.

  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...