vbscript and .NET

huby

Active member
Joined
Feb 20, 2004
Messages
32
hey everyone!

i would like to launch a .NET assembly from vbScript.

example :

Code:
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 cant create object: BusinessLogic.CDataLoader"

any hints?

thank you,

Huby.
 
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 dont know much about this, but I think studio .net comes with tools to do this.
 

Similar threads

C
Replies
0
Views
183
Csaba Árpádházy-Godó
C
J
Replies
0
Views
262
Jickyboy11
J
B
Replies
0
Views
77
BABB55B7-D59B-432C-B429-FAD0203C05A7
B
Back
Top