![]() |
using com object in vbscript
Hi
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 dim testdll set testdll = createobject("myDLL") and I am getting the following error ActiveX component can't create object: 'myDLL' code 800A01AD What am I doing wrong Thanks Robert |
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 18:07. |