• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 125
  • Last Modified:

Can't reg .net dll and run from vbscript

I following the following example

when i run the script it says "error: activex component can't create object: 'MyDLL.Operations' code 800A01AD
i've test msgbox("hello world") and vbscript works
1 Solution
Robberbaron (robr)Commented:
to me it suggests the DLL is not registered correctly.

try reregistering.  (note if you are following the recipe directly, i dont think you should be unregistering it !)
regasm /codebase c:\test\MyDll,dll

Open in new window

glenn_rAuthor Commented:
not sure why but it worked this time
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now