using com object in vbscript
I have created .dll with vb.net and registered it with regasm and copied it to the GAC with GACUtil. Everything worked fine. If you use gacutil /l the file is there.
Now I want to use the dll in a vbscript. the code I used is
set testdll = createobject("myDLL")
and I am getting the following error
ActiveX component can't create object: 'myDLL'
What am I doing wrong
Re: using com object in vbscript
Your call to "CreateObject" seems wrong.
Correct syntax :: CreateObject([Namespace].[Classname], RemoteServerName)
|All times are GMT +5.5. The time now is 11:32.|